/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_silent.tests | 4 # if the first character in optstring is ":", OPTARG shall be set 10 # If the first character of optstring is ":", VAR shall be set to ":" 14 echo "*** optstring:':ac' args:-a -b -c"
|
D | getopt_positional.right | 1 *** no OPTIND, optstring:'we' args:-q -w -e r -t -y
|
D | getopt_silent.right | 1 *** optstring:':ac' args:-a -b -c
|
D | getopt_positional.tests | 2 echo "*** no OPTIND, optstring:'we' args:$*"
|
D | getopt_test_libc_bug.tests | 8 echo "*** optstring:'ac' args:-a -b -c -d e" 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_silent.tests | 4 # if the first character in optstring is ":", OPTARG shall be set 10 # If the first character of optstring is ":", VAR shall be set to ":" 16 echo "*** optstring:':ac' args:-a -b -c"
|
D | getopt_positional.right | 1 *** no OPTIND, optstring:'we' args:-q -w -e r -t -y
|
D | getopt_silent.right | 1 *** optstring:':ac' args:-a -b -c
|
D | getopt_positional.tests | 4 echo "*** no OPTIND, optstring:'we' args:$*"
|
D | getopt_test_libc_bug.tests | 10 echo "*** optstring:'ac' args:-a -b -c -d e" 21 echo "*** optstring:'ac' args:-a -b -c -d e" 32 echo "*** optstring:'ac' args:-a -b -c -d e"
|
/busybox-1.35.0/runit/ |
D | sv.c | 717 const char *optstring; in svc_main() local 720 optstring = "udopchaitkx"; in svc_main() 721 opts = getopt32(argv, optstring); in svc_main() 739 command[0] = *optstring; in svc_main() 749 optstring++; in svc_main()
|
/busybox-1.35.0/include/ |
D | libbb.h | 1348 uint32_t getopt32long(char **argv, const char *optstring, const char *longopts, ...) FAST_FUNC; 1350 #define getopt32long(argv,optstring,longopts,...) \ argument 1351 getopt32(argv,optstring,##__VA_ARGS__)
|
/busybox-1.35.0/shell/ |
D | hush.c | 11422 const char *cp, *optstring, *var; in builtin_getopts() local 11426 optstring = *++argv; in builtin_getopts() 11427 if (!optstring || !(var = *++argv)) { in builtin_getopts() 11439 if (optstring[0] != ':') { in builtin_getopts() 11447 char *s = alloca(strlen(optstring) + 2); in builtin_getopts() 11448 sprintf(s, "+%s", optstring); in builtin_getopts() 11449 optstring = s; in builtin_getopts() 11484 c = getopt(n, argv, optstring); in builtin_getopts() 11505 if (optstring[1] == ':') { in builtin_getopts()
|
D | ash.c | 1987 nextopt(const char *optstring) in nextopt() argument 2010 for (q = optstring; *q != c;) { in nextopt()
|