/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/init/ |
H A D | keyword_map.h | 41 size_t min_args; member 62 auto min_args = result.min_args; in Find() local 64 if (min_args == max_args && num_args != min_args) { in Find() 65 return Errorf("{} requires {} argument{}", keyword, min_args, in Find() 66 (min_args > 1 || min_args == 0) ? "s" : ""); in Find() 69 if (num_args < min_args || num_args > max_args) { in Find() 71 return Errorf("{} requires at least {} argument{}", keyword, min_args, in Find() 72 min_args > 1 ? "s" : ""); in Find() 74 return Errorf("{} requires between {} and {} arguments", keyword, min_args, in Find()
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/init/ |
H A D | keyword_map.h | 54 auto min_args = std::get<0>(function_info); in FindFunction() local 56 if (min_args == max_args && num_args != min_args) { in FindFunction() 57 return Error() << StringPrintf("%s requires %zu argument%s", keyword.c_str(), min_args, in FindFunction() 58 (min_args > 1 || min_args == 0) ? "s" : ""); in FindFunction() 61 if (num_args < min_args || num_args > max_args) { in FindFunction() 64 keyword.c_str(), min_args, min_args > 1 ? "s" : ""); in FindFunction() 67 keyword.c_str(), min_args, max_args); in FindFunction()
|
/dports/x11/xpra/xpra-4.3/xpra/server/mixins/ |
H A D | server_base_controlcommands.py | 74 …ontrolCommand("print", "sends the file to the client(s) for printing", min_args=1), 75 …ontrolCommand("open-url", "open the URL on the client(s)", min_args=1, max_args=2), 76 …ontrolCommand("send-file", "sends the file to the client(s)", min_args=1, max_args=4), 79 …ontrolCommand("compression", "sets the packet compressor", min_args=1, max_args=1), 80 …ontrolCommand("encoder", "sets the packet encoder", min_args=1, max_args=1), 81 …ontrolCommand("clipboard-direction", "restrict clipboard transfers", min_args=1, max_args=1), 83 …ontrolCommand("set-lock", "modify the lock attribute", min_args=1, max_args=1), 84 …ontrolCommand("set-sharing", "modify the sharing attribute", min_args=1, max_args=1), 87 …ControlCommand("client", "forwards a control command to the client(s)", min_args=1), 102 … ArgsControlCommand("refresh", "refresh some or all windows", min_args=0), [all …]
|
/dports/misc/vifm/vifm-0.11/src/ |
H A D | cmd_handlers.c | 334 .handler = &goto_cmd, .min_args = 0, .max_args = 0, }, 377 .handler = &cd_cmd, .min_args = 0, .max_args = 2, }, 381 .handler = &cds_cmd, .min_args = 2, .max_args = 3, }, 385 .handler = &change_cmd, .min_args = 0, .max_args = 0, }, 394 .handler = &chown_cmd, .min_args = 0, .max_args = 1, }, 399 .handler = &chmod_cmd, .min_args = 0, .max_args = 0, }, 438 .handler = &cquit_cmd, .min_args = 0, .max_args = 0, }, 446 .handler = &cunmap_cmd, .min_args = 1, .max_args = 1, }, 450 .handler = &delete_cmd, .min_args = 0, .max_args = 2, }, 462 .handler = &delsession_cmd, .min_args = 1, .max_args = 1, }, [all …]
|
/dports/devel/py-ovs/ovs-2.9.0/ovs/unixctl/ |
H A D | __init__.py | 26 def __init__(self, usage, min_args, max_args, callback, aux): argument 28 self.min_args = min_args 48 def command_register(name, usage, min_args, max_args, callback, aux): argument 64 assert isinstance(min_args, int) 69 commands[name] = _UnixctlCommand(usage, min_args, max_args, callback,
|
/dports/misc/vifm/vifm-0.11/tests/cmds/ |
H A D | command_name.c | 25 .handler = &dummy_cmd, .min_args = 0, .max_args = 0, }, 28 .handler = &delete_cmd, .min_args = 0, .max_args = 1, }, 31 .handler = &shell_cmd, .min_args = 0, .max_args = 1, }, 34 .handler = &substitute_cmd, .min_args = 0, .max_args = 3, }, 37 .handler = &dummy_cmd, .min_args = 2, .max_args = 2, }, 77 .handler = &dummy_cmd, .min_args = 0, .max_args = 0, in TEST() 187 .handler = &dummy_cmd, .min_args = 0, .max_args = 0, in TEST() 198 .handler = &dummy_cmd, .min_args = 0, .max_args = 0, in TEST()
|
H A D | input.c | 33 .handler = &goto_cmd, .min_args = 0, .max_args = 0, }, 36 .handler = &exec_cmd, .min_args = 1, .max_args = 1, }, 39 .handler = &call_cmd, .min_args = 1, .max_args = 1, }, 42 .handler = &delete_cmd, .min_args = 0, .max_args = 1, }, 45 .handler = &edia_cmd, .min_args = 0, .max_args = NOT_DEF, }, 51 .handler = &file_cmd, .min_args = 0, .max_args = 0, }, 57 .handler = &history_cmd, .min_args = 0, .max_args = 0, }, 60 .handler = &invert_cmd, .min_args = 0, .max_args = 0, }, 66 .handler = &substitute_cmd, .min_args = 0, .max_args = 3, }, 69 .handler = &dummy_handler, .min_args = 0, .max_args = 1, }, [all …]
|
H A D | cmds_completion.c | 24 .handler = &dummy_cmd, .min_args = 0, .max_args = 0, }, 27 .handler = &delete_cmd, .min_args = 0, .max_args = 1, }, 30 .handler = &dummy_cmd, .min_args = 0, .max_args = 1, }, 33 .handler = &dummy_cmd, .min_args = 0, .max_args = NOT_DEF, },
|
/dports/x11/xpra/xpra-4.3/xpra/server/ |
H A D | control_command.py | 44 def __init__(self, name, help_text=None, run=None, validation=(), min_args=None, max_args=None): argument 47 self.min_args = min_args 51 if self.min_args is not None and len(args)<self.min_args: 52 … self.raise_error("at least %i argument%s required" % (self.min_args, engs(self.min_args))) 112 min_args=1)
|
/dports/games/abuse_sdl/abuse-0.8/src/lisp/ |
H A D | lisp.h | 150 short min_args, max_args; member 225 LSymbol *add_c_function(char const *name, short min_args, short max_args, short number); 226 LSymbol *add_c_bool_fun(char const *name, short min_args, short max_args, short number); 227 LSymbol *add_lisp_function(char const *name, short min_args, short max_args, short number); 232 LSysFunction *new_lisp_sys_function(int min_args, int max_args, int fun_number); 233 LSysFunction *new_lisp_c_function(int min_args, int max_args, int fun_number); 234 LSysFunction *new_lisp_c_bool(int min_args, int max_args, int fun_number); 238 LSysFunction *new_user_lisp_function(int min_args, int max_args, int fun_number);
|
/dports/net-mgmt/crmsh/crmsh-4.3.1/crmsh/ |
H A D | ui_utils.py | 140 min_args = len(specs.args) 142 min_args -= len(specs.defaults) 150 if min_args == max_args and len(args) != min_args: 152 (mknamed(), min_args-nskip, len(args)-nskip)) 153 elif len(args) < min_args: 155 (mknamed(), min_args-nskip, len(args)-nskip))
|
/dports/devel/p5-Type-Tiny/Type-Tiny-1.012004/lib/Type/ |
H A D | Params.pm | 264 my $min_args = 0; 395 $min_args++; 466 $min_args + $options{arg_fudge_factor}, 468 $min_args + $options{arg_fudge_factor}, 475 $min_args + $options{arg_fudge_factor}, 477 $min_args + $options{arg_fudge_factor}, 481 elsif ( $min_args and $saw_slurpy ) { 485 $min_args + $options{arg_fudge_factor}, 486 $min_args + $options{arg_fudge_factor}, 504 min_args => $options{arg_fudge_factor} + ( $min_args || 0 ), [all …]
|
/dports/lang/perl5.34/perl-5.34.0/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/ |
H A D | Utilities.pm | 611 my ($ellipsis, $min_args, $num_args) = @_; 614 $cond = ($min_args ? qq(items < $min_args) : 0); 616 elsif ($min_args == $num_args) { 617 $cond = qq(items != $min_args); 620 $cond = qq(items < $min_args || items > $num_args);
|
/dports/lang/perl5.30/perl-5.30.3/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/ |
H A D | Utilities.pm | 611 my ($ellipsis, $min_args, $num_args) = @_; 614 $cond = ($min_args ? qq(items < $min_args) : 0); 616 elsif ($min_args == $num_args) { 617 $cond = qq(items != $min_args); 620 $cond = qq(items < $min_args || items > $num_args);
|
/dports/lang/perl5.32/perl-5.32.1/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/ |
H A D | Utilities.pm | 611 my ($ellipsis, $min_args, $num_args) = @_; 614 $cond = ($min_args ? qq(items < $min_args) : 0); 616 elsif ($min_args == $num_args) { 617 $cond = qq(items != $min_args); 620 $cond = qq(items < $min_args || items > $num_args);
|
/dports/devel/p5-ExtUtils-ParseXS/ExtUtils-ParseXS-3.35/lib/ExtUtils/ParseXS/ |
H A D | Utilities.pm | 611 my ($ellipsis, $min_args, $num_args) = @_; 614 $cond = ($min_args ? qq(items < $min_args) : 0); 616 elsif ($min_args == $num_args) { 617 $cond = qq(items != $min_args); 620 $cond = qq(items < $min_args || items > $num_args);
|
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/ |
H A D | Utilities.pm | 611 my ($ellipsis, $min_args, $num_args) = @_; 614 $cond = ($min_args ? qq(items < $min_args) : 0); 616 elsif ($min_args == $num_args) { 617 $cond = qq(items != $min_args); 620 $cond = qq(items < $min_args || items > $num_args);
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/crates/tor-netdoc/src/parse/ |
H A D | rules.rs | 26 min_args: Option<usize>, field 51 if let Some(min) = self.min_args { in item_matches_args() 128 min_args: None, in new() 172 let min_args = match r.start_bound() { in args() localVariable 183 min_args, in args()
|
/dports/www/p5-Template-Plugin-Gettext/Template-Plugin-Gettext-0.7/lib/Locale/XGettext/ |
H A D | TT2.pm | 325 my $min_args = $keyword->singular; 328 $min_args = $keyword->plural if $keyword->plural > $min_args; 333 $min_args = $keyword->context if $keyword->context > $min_args; 340 return if $min_args > @args;
|
/dports/mail/dspam/dspam-3.10.2/src/tools/ |
H A D | dspam_admin.c | 63 int min_args(int argc, int min); 141 if (min_args(argc, 4)) { in main() 149 if (min_args(argc, 5)) { in main() 157 if (min_args(argc, 3)) { in main() 165 if (min_args(argc, 3)) { in main() 209 int min_args(int argc, int min) { in min_args() function
|
/dports/games/wesnoth/wesnoth-1.14.17/src/formula/ |
H A D | function.hpp | 27 #define DEFINE_WFL_FUNCTION(name, min_args, max_args) … argument 32 …: function_expression(#name, args, min_args, max_args) … 107 …explicit function_expression(const std::string& name, const args_list& args, int min_args = -1, in… in function_expression() argument 111 if(min_args >= 0 && args_.size() < static_cast<size_t>(min_args)) { in function_expression()
|
/dports/www/xapian-omega/xapian-omega-1.4.18/ |
H A D | scriptindex.cc | 251 min_args = max_args = 1; in parse_index_script() 295 min_args = max_args = 1; in parse_index_script() 303 min_args = 1; in parse_index_script() 310 min_args = max_args = 1; in parse_index_script() 319 min_args = max_args = 1; in parse_index_script() 325 min_args = max_args = 1; in parse_index_script() 329 min_args = max_args = 1; in parse_index_script() 333 min_args = max_args = 1; in parse_index_script() 340 min_args = max_args = 1; in parse_index_script() 485 if (vals.size() < min_args) { in parse_index_script() [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/surface/compute/security_policies/rules/ |
H A D | update.py | 72 min_args = [ 78 min_args.append('--redirect_target') 86 min_args.extend([ 94 min_args, 'At least one property must be modified.')
|
/dports/devel/p5-Getopt-EX/Getopt-EX-v1.15.1/lib/Getopt/EX/ |
H A D | Module.pm | 316 my %min_args = ( mode => 1, DEFAULT => 3 ); 317 my $min_args = $min_args{$arg[0]} || $min_args{DEFAULT}; 318 if (@arg < $min_args) {
|
/dports/devel/boost-docs/boost_1_72_0/boost/python/ |
H A D | raw_function.hpp | 47 object raw_function(F f, std::size_t min_args = 0) in raw_function() argument 53 , min_args in raw_function()
|