/busybox-1.35.0/libbb/ |
D | run_shell.c | 56 const char **args; in exec_shell() local 58 args = additional_args; in exec_shell() 59 while (args && *args) in exec_shell() 60 args++; in exec_shell() 62 args = xzalloc(sizeof(args[0]) * (2 + (args - additional_args))); in exec_shell() 67 args[0] = bb_get_last_path_component_nostrip(shell); in exec_shell() 69 args[0] = xasprintf("-%s", args[0]); in exec_shell() 74 args[++cnt] = *additional_args++; in exec_shell() 83 execv(shell, (char **) args); in exec_shell()
|
/busybox-1.35.0/networking/ |
D | arp.c | 105 static int arp_del(char **args) in arp_del() argument 116 host = *args; in arp_del() 128 args++; in arp_del() 129 while (*args != NULL) { in arp_del() 130 switch (index_in_strings(options, *args)) { in arp_del() 133 args++; in arp_del() 137 args++; in arp_del() 141 args++; in arp_del() 145 args++; in arp_del() 153 args++; in arp_del() [all …]
|
D | route.c | 161 static NOINLINE void INET_setroute(int action, char **args) in INET_setroute() argument 171 xflag = kw_lookup(tbl_hash_net_host, &args); in INET_setroute() 174 if (*args == NULL) { in INET_setroute() 182 const char *target = *args++; in INET_setroute() 219 while (*args) { in INET_setroute() 220 int k = kw_lookup(tbl_ipvx, &args); in INET_setroute() 221 const char *args_m1 = args[-1]; in INET_setroute() 297 if (!rt->rt_dev && ((k == KW_IPVx_DEVICE) || (!k && !*++args))) { in INET_setroute() 299 rt->rt_dev = args[-1]; in INET_setroute() 349 static NOINLINE void INET6_setroute(int action, char **args) in INET6_setroute() argument [all …]
|
/busybox-1.35.0/coreutils/ |
D | test.c | 425 char **args; member 441 #define args (S.args ) macro 563 opnd1 = *args; in binop() 564 check_operator(*++args); in binop() 567 opnd2 = *++args; in binop() 569 syntax(args[-1], "argument expected"); in binop() 778 n = check_operator(*++args); in nexpr() 782 args--; in nexpr() 783 unnest_msg("<nexpr:1 (!EOI), args:%s(%p)\n", args[0], &args[0]); in nexpr() 802 dbg_msg("aexpr: nexpr:%lld, next args:%s(%p)\n", res, args[1], &args[1]); in aexpr() [all …]
|
D | expr.c | 118 char **args; member 210 if (*G.args == NULL || strcmp(*G.args, str) != 0) in nextarg() 321 if (!*G.args) in eval7() 325 G.args++; in eval7() 329 G.args++; in eval7() 336 return str_value(*G.args++); in eval7() 349 int key = *G.args ? index_in_strings(keywords, *G.args) + 1 : 0; in eval6() 353 G.args++; /* We have a valid token, so get the next argument. */ in eval6() 355 if (!*G.args) in eval6() 357 return str_value(*G.args++); in eval6() [all …]
|
D | install.c | 235 char *args[4]; in install_main() local 236 args[0] = (char*)"strip"; in install_main() 237 args[1] = (char*)"-p"; /* -p --preserve-dates */ in install_main() 238 args[2] = dest; in install_main() 239 args[3] = NULL; in install_main() 240 if (spawn_and_wait(args)) { in install_main()
|
/busybox-1.35.0/shell/ash_test/ash-getopts/ |
D | getopt_simple.right | 1 *** no OPTIND, optstring:'ab' args:-a -b c 5 *** OPTIND=1, optstring:'ab' args:-a -b c 9 *** OPTIND=0, optstring:'ab' args:-a -b c 13 *** unset OPTIND, optstring:'ab' args:-a -b c 17 *** optstring:'ab' args:-a -b c 21 *** unset OPTIND, optstring:'ab' args:-a c -c -b d 24 *** unset OPTIND, optstring:'ab' args:-a -c -b d 30 *** unset OPTIND, OPTERR=0, optstring:'ab' args:-a -c -b d
|
D | getopt_simple.tests | 13 echo "*** no OPTIND, optstring:'ab' args:-a -b c" 22 echo "*** OPTIND=1, optstring:'ab' args:-a -b c" 30 echo "*** OPTIND=0, optstring:'ab' args:-a -b c" 38 echo "*** unset OPTIND, optstring:'ab' args:-a -b c" 46 echo "*** optstring:'ab' args:-a -b c" 53 echo "*** unset OPTIND, optstring:'ab' args:-a c -c -b d" 61 echo "*** unset OPTIND, optstring:'ab' args:-a -c -b d" 69 echo "*** unset OPTIND, OPTERR=0, optstring:'ab' args:-a -c -b d"
|
D | getopt_test_libc_bug.right | 1 *** optstring:'ac' args:-a -b -c -d e 10 *** optstring:'ac' args:-a -b -c -d e 19 *** optstring:'ac' args:-a -b -c -d e
|
D | getopt_optarg.tests | 2 echo "*** no OPTIND, optstring:'w:et' args:$*" 12 echo "*** OPTIND=0, optstring:'w:et' args:$*"
|
D | getopt_optarg.right | 1 *** no OPTIND, optstring:'w:et' args:-q -w e -r -t -y 11 *** OPTIND=0, optstring:'w:et' args:-w 1 -w2 -w -e -e -t -t
|
D | getopt_test_libc_bug.tests | 2 # If getopt() wants to parse multi-option args (-abc), 8 echo "*** optstring:'ac' args:-a -b -c -d e" 15 # Above: args are (usually) in the same locations in memory. 19 echo "*** optstring:'ac' args:-a -b -c -d e" 30 echo "*** optstring:'ac' args:-a -b -c -d e"
|
/busybox-1.35.0/shell/hush_test/hush-getopts/ |
D | getopt_simple.right | 1 *** no OPTIND, optstring:'ab' args:-a -b c 5 *** OPTIND=1, optstring:'ab' args:-a -b c 9 *** OPTIND=0, optstring:'ab' args:-a -b c 13 *** unset OPTIND, optstring:'ab' args:-a -b c 17 *** optstring:'ab' args:-a -b c 21 *** unset OPTIND, optstring:'ab' args:-a c -c -b d 24 *** unset OPTIND, optstring:'ab' args:-a -c -b d 30 *** unset OPTIND, OPTERR=0, optstring:'ab' args:-a -c -b d
|
D | getopt_simple.tests | 15 echo "*** no OPTIND, optstring:'ab' args:-a -b c" 24 echo "*** OPTIND=1, optstring:'ab' args:-a -b c" 32 echo "*** OPTIND=0, optstring:'ab' args:-a -b c" 40 echo "*** unset OPTIND, optstring:'ab' args:-a -b c" 48 echo "*** optstring:'ab' args:-a -b c" 55 echo "*** unset OPTIND, optstring:'ab' args:-a c -c -b d" 63 echo "*** unset OPTIND, optstring:'ab' args:-a -c -b d" 71 echo "*** unset OPTIND, OPTERR=0, optstring:'ab' args:-a -c -b d"
|
D | getopt_test_libc_bug.right | 1 *** optstring:'ac' args:-a -b -c -d e 10 *** optstring:'ac' args:-a -b -c -d e 19 *** optstring:'ac' args:-a -b -c -d e
|
D | getopt_optarg.right | 1 *** no OPTIND, optstring:'w:et' args:-q -w e -r -t -y 11 *** OPTIND=0, optstring:'w:et' args:-w 1 -w2 -w -e -e -t -t
|
D | getopt_optarg.tests | 4 echo "*** no OPTIND, optstring:'w:et' args:$*" 14 echo "*** OPTIND=0, optstring:'w:et' args:$*"
|
D | getopt_test_libc_bug.tests | 2 # If getopt() wants to parse multi-option args (-abc), 10 echo "*** optstring:'ac' args:-a -b -c -d e" 17 # Above: args are (usually) in the same locations in memory. 21 echo "*** optstring:'ac' args:-a -b -c -d e" 32 echo "*** optstring:'ac' args:-a -b -c -d e"
|
/busybox-1.35.0/miscutils/ |
D | inotifyd.c | 102 const char *args[5]; in inotifyd_main() local 113 args[0] = *argv; in inotifyd_main() 114 args[4] = NULL; in inotifyd_main() 193 if (LONE_CHAR(args[0], '-')) { in inotifyd_main() 202 args[1] = events; in inotifyd_main() 203 args[2] = watches[ie->wd]; in inotifyd_main() 204 args[3] = ie->len ? ie->name : NULL; in inotifyd_main() 205 spawn_and_wait((char **)args); in inotifyd_main()
|
D | hdparm.c | 502 static int ioctl_alt_func(/*int fd,*/ int cmd, unsigned char *args, int alt, const char *string) in ioctl_alt_func() argument 504 if (!ioctl(fd, cmd, args)) in ioctl_alt_func() 506 args[0] = alt; in ioctl_alt_func() 507 return bb_ioctl_or_warn(fd, cmd, args, string); in ioctl_alt_func() 509 #define ioctl_alt_or_warn(cmd,args,alt) ioctl_alt_func(cmd,args,alt,#cmd) argument 511 static int ioctl_alt_func(/*int fd,*/ int cmd, unsigned char *args, int alt) in ioctl_alt_func() argument 513 if (!ioctl(fd, cmd, args)) in ioctl_alt_func() 515 args[0] = alt; in ioctl_alt_func() 516 return bb_ioctl_or_warn(fd, cmd, args); in ioctl_alt_func() 518 #define ioctl_alt_or_warn(cmd,args,alt) ioctl_alt_func(cmd,args,alt) argument [all …]
|
/busybox-1.35.0/console-tools/ |
D | reset.c | 39 static const char *const args[] = { in reset_main() local 57 return stty_main(2, (char**)args); in reset_main() 61 execvp("stty", (char**)args); in reset_main()
|
/busybox-1.35.0/examples/var_service/ |
D | std_service_logger | 26 args="" 27 test "$LOG_NOTIMESTAMP" || args="-tt" 32 svlogd $args "$logdir"
|
/busybox-1.35.0/findutils/ |
D | xargs.c | 106 char **args; member 155 status = spawn_and_wait(G.args); in xargs_exec() 158 status = spawn_and_wait(G.args); in xargs_exec() 189 status = spawn(G.args); in xargs_exec() 216 bb_simple_perror_msg(G.args[0]); in xargs_exec() 221 G.args[0], status - 0x180); in xargs_exec() 226 bb_error_msg("%s: exited with status 255; aborting", G.args[0]); in xargs_exec() 253 G.args = xrealloc(G.args, sizeof(G.args[0]) * (G.idx + 0x100)); in store_param() 255 G.args[G.idx++] = s; in store_param() 462 for (i = 0; G.args && G.args[i]; i++) in process_stdin_with_replace() [all …]
|
/busybox-1.35.0/procps/ |
D | kill.c | 223 char **args; in kill_main() local 235 args = argv; in kill_main() 236 while (*args) { in kill_main() 239 arg = *args++; in kill_main() 246 if (!arg[0] && *args) in kill_main() 247 arg = *args++; in kill_main()
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 142 char **args; member 534 G.args[0] = xasprintf("fsck.%s", type); in execute() 541 G.args[XXX] = xasprintf("-C%d", progress_fd); /* 1 */ in execute() 547 G.args[G.num_args - 2] = (char*)device; in execute() 551 printf("[%s (%d) -- %s]", G.args[0], G.num_running, in execute() 553 for (i = 0; G.args[i]; i++) in execute() 554 printf(" %s", G.args[i]); in execute() 561 pid = spawn(G.args); in execute() 563 bb_simple_perror_msg(G.args[0]); in execute() 567 free(G.args[XXX]); in execute() [all …]
|