Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 1944) sorted by relevance

12345678910>>...78

/external/v8/src/
Dmacros.py94 macro IS_NULL(arg) = (arg === null);
95 macro IS_NULL_OR_UNDEFINED(arg) = (arg == null);
96 macro IS_UNDEFINED(arg) = (typeof(arg) === 'undefined');
97 macro IS_NUMBER(arg) = (typeof(arg) === 'number');
98 macro IS_STRING(arg) = (typeof(arg) === 'string');
99 macro IS_BOOLEAN(arg) = (typeof(arg) === 'boolean');
100 macro IS_OBJECT(arg) = (%_IsObject(arg));
101 macro IS_ARRAY(arg) = (%_IsArray(arg));
102 macro IS_FUNCTION(arg) = (%_IsFunction(arg));
103 macro IS_REGEXP(arg) = (%_IsRegExp(arg));
[all …]
/external/libppp/src/
Dcommand.c208 HelpCommand(struct cmdargs const *arg) in HelpCommand() argument
214 if (!arg->prompt) { in HelpCommand()
219 if (arg->argc > arg->argn) { in HelpCommand()
220 for (cmd = arg->cmdtab; cmd->name || cmd->alias; cmd++) in HelpCommand()
221 if ((cmd->lauth & arg->prompt->auth) && in HelpCommand()
222 ((cmd->name && !strcasecmp(cmd->name, arg->argv[arg->argn])) || in HelpCommand()
223 (cmd->alias && !strcasecmp(cmd->alias, arg->argv[arg->argn])))) { in HelpCommand()
224 prompt_Printf(arg->prompt, "%s %s\n", cmd->syntax, showcx(cmd)); in HelpCommand()
231 for (cmd = arg->cmdtab; cmd->func; cmd++) in HelpCommand()
232 if (cmd->name && (cmd->lauth & arg->prompt->auth)) { in HelpCommand()
[all …]
Dnat_cmd.c104 nat_RedirectPort(struct cmdargs const *arg) in nat_RedirectPort() argument
106 if (!arg->bundle->NatEnabled) { in nat_RedirectPort()
107 prompt_Printf(arg->prompt, "Alias not enabled\n"); in nat_RedirectPort()
109 } else if (arg->argc == arg->argn + 3 || arg->argc == arg->argn + 4) { in nat_RedirectPort()
121 proto = arg->argv[arg->argn]; in nat_RedirectPort()
127 prompt_Printf(arg->prompt, "port redirect: protocol must be" in nat_RedirectPort()
132 error = StrToAddrAndPort(arg->argv[arg->argn+1], &localaddr, &llocalport, in nat_RedirectPort()
135 prompt_Printf(arg->prompt, "nat port: error reading localaddr:port\n"); in nat_RedirectPort()
139 error = StrToPortRange(arg->argv[arg->argn+2], &laliasport, &haliasport, in nat_RedirectPort()
142 prompt_Printf(arg->prompt, "nat port: error reading alias port\n"); in nat_RedirectPort()
[all …]
/external/valgrind/main/drd/
Ddrd_clientreq.c54 static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret);
78 static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret) in handle_client_request() argument
86 switch (arg[0]) in handle_client_request()
101 if (arg[1]) in handle_client_request()
102 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[2]/*size*/); in handle_client_request()
106 if (!DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False)) in handle_client_request()
118 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[3]/*newSize*/); in handle_client_request()
122 if (arg[1] && ! DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False)) in handle_client_request()
145 DRD_(thread_set_name)(drd_tid, (const char*)arg[1]); in handle_client_request()
151 DRD_(start_suppression)(arg[1], arg[1] + arg[2], "client"); in handle_client_request()
[all …]
/external/libvpx/libvpx/
Dargs.c28 struct arg arg_init(char **argv) in arg_init()
30 struct arg a; in arg_init()
40 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) in arg_match()
42 struct arg arg; in arg_match() local
47 arg = arg_init(argv); in arg_match()
50 && strlen(arg.argv[0]) == strlen(def->short_name) + 1 in arg_match()
51 && !strcmp(arg.argv[0] + 1, def->short_name)) in arg_match()
54 arg.name = arg.argv[0] + 1; in arg_match()
55 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()
56 arg.argv_step = def->has_val ? 2 : 1; in arg_match()
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg38 CANNOT_WRITE_FILE(arg,exception,stackTrace) ::= <<
39 cannot write file <arg>: <exception>
42 CANNOT_CLOSE_FILE(arg,exception,stackTrace) ::= "cannot close file <arg>: <exception>"
43 CANNOT_FIND_TOKENS_FILE(arg) ::= "cannot find tokens file <arg>"
44 ERROR_READING_TOKENS_FILE(arg,exception,stackTrace) ::= <<
45 problem reading token vocabulary file <arg>: <exception>
48 DIR_NOT_FOUND(arg,exception,stackTrace) ::= "directory not found: <arg>"
49 OUTPUT_DIR_IS_FILE(arg,exception,stackTrace) ::= "output directory is a file: <arg>"
50 CANNOT_OPEN_FILE(arg,exception,stackTrace) ::= "cannot find or open file: <arg><if(exception)>; rea…
53 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
[all …]
/external/valgrind/main/none/tests/amd64/
Dgen_insn_test.pl350 foreach my $arg (split(/\s+/, $args))
354 …if ($arg =~ /^([abcd]l|[abcd]x|e[abcd]x|r[abcd]x|r8|r16|r32|r64|mm|xmm|m8|m16|m32|m64|m128)\.(sb|u…
364 my $arg = {
372 $arg->{register} = $register;
376 push @args, $arg;
391 elsif ($arg =~ /^st([0-9]+)\.(ps|pd)\[([^\]]+)\]$/)
401 my $arg = {
409 $arg->{register} = $register;
413 push @args, $arg;
428 elsif ($arg =~ /^(imm8|imm16|imm32|imm64)\[([^\]]+)\]$/)
[all …]
/external/valgrind/main/none/tests/x86/
Dgen_insn_test.pl327 foreach my $arg (split(/\s+/, $args))
331 …if ($arg =~ /^([abcd]l|[abcd]x|e[abcd]x|r8|r16|r32|mm|xmm|m8|m16|m32|m64|m128)\.(sb|ub|sw|uw|sd|ud…
341 my $arg = {
349 $arg->{register} = $register;
353 push @args, $arg;
368 elsif ($arg =~ /^st([0-9]+)\.(ps|pd)\[([^\]]+)\]$/)
378 my $arg = {
386 $arg->{register} = $register;
390 push @args, $arg;
405 elsif ($arg =~ /^(imm8|imm16|imm32)\[([^\]]+)\]$/)
[all …]
/external/openssh/
Dreadconf.c357 char *s, **charptr, *endofnumber, *keyword, *arg, *arg2; in process_config_line() local
393 arg = strdelim(&s); in process_config_line()
394 if (!arg || *arg == '\0') in process_config_line()
397 if ((value = convtime(arg)) == -1) in process_config_line()
407 arg = strdelim(&s); in process_config_line()
408 if (!arg || *arg == '\0') in process_config_line()
411 if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0) in process_config_line()
413 else if (strcmp(arg, "no") == 0 || strcmp(arg, "false") == 0) in process_config_line()
504 arg = strdelim(&s); in process_config_line()
505 if (!arg || *arg == '\0') in process_config_line()
[all …]
Dservconf.c609 char *arg, *attrib, *cp = *condition; in match_cfg_line() local
620 if ((arg = strdelim(&cp)) == NULL || *arg == '\0') { in match_cfg_line()
624 len = strlen(arg); in match_cfg_line()
630 if (match_pattern_list(user, arg, len, 0) != 1) in match_cfg_line()
634 "line %d", user, arg, line); in match_cfg_line()
636 switch (match_cfg_line_group(arg, line, user)) { in match_cfg_line()
647 if (match_hostname(host, arg, len) != 1) in match_cfg_line()
651 "%.100s' at line %d", host, arg, line); in match_cfg_line()
653 switch (addr_match_list(address, arg)) { in match_cfg_line()
656 "%.100s' at line %d", address, arg, line); in match_cfg_line()
[all …]
/external/iptables/extensions/
Dlibxt_u32.c111 const char *arg = cb->arg; /* the argument string */ in u32_parse() local
112 const char *start = cb->arg; in u32_parse()
125 while (isspace(*arg)) in u32_parse()
126 ++arg; in u32_parse()
128 if (*arg == '\0') { in u32_parse()
144 (unsigned int)(arg - start)); in u32_parse()
153 if (*arg == '=') { in u32_parse()
158 (unsigned int)(arg - start)); in u32_parse()
160 ++arg; in u32_parse()
166 if (*arg == '&') { in u32_parse()
[all …]
/external/e2fsprogs/intl/
Dvasnprintf.c123 if (a.arg) \ in VASNPRINTF()
124 free (a.arg); in VASNPRINTF()
240 switch (a.arg[dp->arg_index].type) in VASNPRINTF()
243 *a.arg[dp->arg_index].a.a_count_schar_pointer = length; in VASNPRINTF()
246 *a.arg[dp->arg_index].a.a_count_short_pointer = length; in VASNPRINTF()
249 *a.arg[dp->arg_index].a.a_count_int_pointer = length; in VASNPRINTF()
252 *a.arg[dp->arg_index].a.a_count_longint_pointer = length; in VASNPRINTF()
256 *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; in VASNPRINTF()
265 arg_type type = a.arg[dp->arg_index].type; in VASNPRINTF()
285 int arg; in VASNPRINTF() local
[all …]
/external/iproute2/ip/
Drtm_map.c59 int rtnl_rtntype_a2n(int *id, char *arg) in rtnl_rtntype_a2n() argument
64 if (strcmp(arg, "local") == 0) in rtnl_rtntype_a2n()
66 else if (strcmp(arg, "nat") == 0) in rtnl_rtntype_a2n()
68 else if (matches(arg, "broadcast") == 0 || in rtnl_rtntype_a2n()
69 strcmp(arg, "brd") == 0) in rtnl_rtntype_a2n()
71 else if (matches(arg, "anycast") == 0) in rtnl_rtntype_a2n()
73 else if (matches(arg, "multicast") == 0) in rtnl_rtntype_a2n()
75 else if (matches(arg, "prohibit") == 0) in rtnl_rtntype_a2n()
77 else if (matches(arg, "unreachable") == 0) in rtnl_rtntype_a2n()
79 else if (matches(arg, "blackhole") == 0) in rtnl_rtntype_a2n()
[all …]
/external/linux-tools-perf/util/
Dtrace-event-parse.c382 static void free_arg(struct print_arg *arg) in free_arg() argument
384 if (!arg) in free_arg()
387 switch (arg->type) { in free_arg()
389 if (arg->atom.atom) in free_arg()
390 free(arg->atom.atom); in free_arg()
399 free(arg); in free_arg()
1022 process_arg_token(struct event *event, struct print_arg *arg,
1026 process_arg(struct event *event, struct print_arg *arg, char **tok) in process_arg() argument
1034 return process_arg_token(event, arg, tok, type); in process_arg()
1040 struct print_arg *arg, *left, *right; in process_cond() local
[all …]
/external/grub/stage2/
Dbuiltins.c85 static int configfile_func (char *arg, int flags);
138 blocklist_func (char *arg, int flags) in blocklist_func() argument
194 if (! grub_open (arg)) in blocklist_func()
240 boot_func (char *arg, int flags) in boot_func() argument
327 bootp_func (char *arg, int flags) in bootp_func() argument
331 if (grub_memcmp (arg, "--with-configfile", sizeof ("--with-configfile") - 1) in bootp_func()
335 arg = skip_to (0, arg); in bootp_func()
372 cat_func (char *arg, int flags) in cat_func() argument
376 if (! grub_open (arg)) in cat_func()
405 chainloader_func (char *arg, int flags) in chainloader_func() argument
[all …]
/external/llvm/test/Transforms/InstCombine/
Dfcmp-special.ll7 define i1 @inf0(double %arg) nounwind readnone {
8 %tmp = fcmp ogt double %arg, 0x7FF0000000000000
14 define i1 @inf1(double %arg) nounwind readnone {
15 %tmp = fcmp ule double %arg, 0x7FF0000000000000
23 define i1 @ninf0(double %arg) nounwind readnone {
24 %tmp = fcmp olt double %arg, 0xFFF0000000000000
30 define i1 @ninf1(double %arg) nounwind readnone {
31 %tmp = fcmp uge double %arg, 0xFFF0000000000000
39 define i1 @nan0(double %arg) nounwind readnone {
40 %tmp = fcmp ord double %arg, 0x7FF00000FFFFFFFF
[all …]
/external/bison/lib/
Dquotearg.c243 char const *arg, size_t argsize, in quotearg_buffer_restyled() argument
343 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled()
352 && memcmp (arg + i, quote_string, quote_string_len) == 0) in quotearg_buffer_restyled()
359 c = arg[i]; in quotearg_buffer_restyled()
373 if (i + 1 < argsize && '0' <= arg[i + 1] && arg[i + 1] <= '9') in quotearg_buffer_restyled()
398 && i + 2 < argsize && arg[i + 1] == '?') in quotearg_buffer_restyled()
399 switch (arg[i + 2]) in quotearg_buffer_restyled()
408 c = arg[i + 2]; in quotearg_buffer_restyled()
453 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled()
538 argsize = strlen (arg); in quotearg_buffer_restyled()
[all …]
Dquotearg.h296 char const *arg, size_t argsize,
302 char *quotearg_alloc (char const *arg, size_t argsize,
311 char *quotearg_alloc_mem (char const *arg, size_t argsize,
321 char *quotearg_n (int n, char const *arg);
324 char *quotearg (char const *arg);
329 char *quotearg_n_mem (int n, char const *arg, size_t argsize);
332 char *quotearg_mem (char const *arg, size_t argsize);
337 char *quotearg_n_style (int n, enum quoting_style s, char const *arg);
343 char const *arg, size_t argsize);
346 char *quotearg_style (enum quoting_style s, char const *arg);
[all …]
/external/iproute2/lib/
Dutils.c32 int get_integer(int *val, const char *arg, int base) in get_integer() argument
37 if (!arg || !*arg) in get_integer()
39 res = strtol(arg, &ptr, base); in get_integer()
40 if (!ptr || ptr == arg || *ptr || res > INT_MAX || res < INT_MIN) in get_integer()
61 static int get_netmask(unsigned *val, const char *arg, int base) in get_netmask() argument
65 if (!get_unsigned(val, arg, base)) in get_netmask()
69 if (!get_addr_1(&addr, arg, AF_INET) && addr.family == AF_INET) { in get_netmask()
81 int get_unsigned(unsigned *val, const char *arg, int base) in get_unsigned() argument
86 if (!arg || !*arg) in get_unsigned()
88 res = strtoul(arg, &ptr, base); in get_unsigned()
[all …]
/external/clang/test/CodeGenOpenCL/
Daddress-spaces.cl3 void f__p(__private int *arg) { }
4 // CHECK: i32* nocapture %arg
6 void f__g(__global int *arg) { }
7 // CHECK: i32 addrspace(1)* nocapture %arg
9 void f__l(__local int *arg) { }
10 // CHECK: i32 addrspace(2)* nocapture %arg
12 void f__c(__constant int *arg) { }
13 // CHECK: i32 addrspace(3)* nocapture %arg
16 void fp(private int *arg) { }
17 // CHECK: i32* nocapture %arg
[all …]
/external/dnsmasq/src/
Doption.c226 char * const arg; member
641 if (usage[i].arg) in do_usage()
643 strcpy(buff, usage[i].arg); in do_usage()
645 if (tab[j].handle == *(usage[i].arg)) in do_usage()
666 static char *parse_dhcp_opt(char *arg, int flags) in parse_dhcp_opt() argument
681 while (arg) in parse_dhcp_opt()
683 comma = split(arg); in parse_dhcp_opt()
685 for (cp = arg; *cp; cp++) in parse_dhcp_opt()
691 new->opt = atoi(arg); in parse_dhcp_opt()
696 if (strstr(arg, "option:") == arg) in parse_dhcp_opt()
[all …]
/external/elfutils/src/
Dld.c204 static error_t parse_opt_1st (int key, char *arg, struct argp_state *state);
205 static error_t parse_opt_2nd (int key, char *arg, struct argp_state *state);
267 static void parse_z_option (const char *arg);
268 static void parse_z_option_2 (const char *arg);
269 static void parse_B_option (const char *arg);
270 static void parse_B_option_2 (const char *arg);
527 valid_hexarg (const char *arg) in valid_hexarg() argument
529 if (strncasecmp (arg, "0x", 2) != 0) in valid_hexarg()
532 arg += 2; in valid_hexarg()
535 if (isxdigit (arg[0]) && isxdigit (arg[1])) in valid_hexarg()
[all …]
/external/dhcpcd/
Dif-options.c173 #define parse_string(buf, len, arg) parse_string_hwaddr(buf, len, arg, 0) argument
280 splitv(int *argc, char **argv, const char *arg) in splitv() argument
283 char *o = xstrdup(arg), *p, *t; in splitv()
296 parse_addr(struct in_addr *addr, struct in_addr *net, const char *arg) in parse_addr() argument
301 if (arg == NULL || *arg == '\0') { in parse_addr()
308 if ((p = strchr(arg, '/')) != NULL) { in parse_addr()
319 if (addr != NULL && inet_aton(arg, addr) == 0) { in parse_addr()
320 syslog(LOG_ERR, "`%s' is not a valid IP address", arg); in parse_addr()
331 parse_option(struct if_options *ifo, int opt, const char *arg) in parse_option() argument
352 strlcpy(ifo->script, arg, sizeof(ifo->script)); in parse_option()
[all …]
/external/iptables/iptables/
Diptables-xml.c349 isTarget(char *arg) in isTarget() argument
351 return ((arg) in isTarget()
352 && (strcmp((arg), "-j") == 0 || strcmp((arg), "--jump") == 0 in isTarget()
353 || strcmp((arg), "-g") == 0 in isTarget()
354 || strcmp((arg), "--goto") == 0)); in isTarget()
360 isTerminatingTarget(char *arg) in isTerminatingTarget() argument
362 return ((arg) in isTerminatingTarget()
363 && (strcmp((arg), "ACCEPT") == 0 in isTerminatingTarget()
364 || strcmp((arg), "DROP") == 0 in isTerminatingTarget()
365 || strcmp((arg), "QUEUE") == 0 in isTerminatingTarget()
[all …]
/external/strace/
Dblock.c113 block_ioctl(struct tcb *tcp, long code, long arg) in block_ioctl() argument
120 tprintf(", %ld", arg); in block_ioctl()
128 if (umove(tcp, arg, &val) < 0) in block_ioctl()
129 tprintf(", %#lx", arg); in block_ioctl()
139 if (syserror(tcp) || umove(tcp, arg, &val) < 0) in block_ioctl()
140 tprintf(", %#lx", arg); in block_ioctl()
153 if (syserror(tcp) || umove(tcp, arg, &val) < 0) in block_ioctl()
154 tprintf(", %#lx", arg); in block_ioctl()
167 if (syserror(tcp) || umove(tcp, arg, &val) < 0) in block_ioctl()
168 tprintf(", %#lx", arg); in block_ioctl()
[all …]

12345678910>>...78