Home
last modified time | relevance | path

Searched refs:optstring (Results 1 – 24 of 24) sorted by relevance

/busybox-1.35.0/shell/ash_test/ash-getopts/
Dgetopt_simple.right1 *** 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
Dgetopt_simple.tests13 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"
Dgetopt_test_libc_bug.right1 *** 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
Dgetopt_optarg.tests2 echo "*** no OPTIND, optstring:'w:et' args:$*"
12 echo "*** OPTIND=0, optstring:'w:et' args:$*"
Dgetopt_optarg.right1 *** 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
Dgetopt_silent.tests4 # 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"
Dgetopt_positional.right1 *** no OPTIND, optstring:'we' args:-q -w -e r -t -y
Dgetopt_silent.right1 *** optstring:':ac' args:-a -b -c
Dgetopt_positional.tests2 echo "*** no OPTIND, optstring:'we' args:$*"
Dgetopt_test_libc_bug.tests8 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/
Dgetopt_simple.right1 *** 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
Dgetopt_simple.tests15 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"
Dgetopt_test_libc_bug.right1 *** 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
Dgetopt_optarg.right1 *** 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
Dgetopt_optarg.tests4 echo "*** no OPTIND, optstring:'w:et' args:$*"
14 echo "*** OPTIND=0, optstring:'w:et' args:$*"
Dgetopt_silent.tests4 # 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"
Dgetopt_positional.right1 *** no OPTIND, optstring:'we' args:-q -w -e r -t -y
Dgetopt_silent.right1 *** optstring:':ac' args:-a -b -c
Dgetopt_positional.tests4 echo "*** no OPTIND, optstring:'we' args:$*"
Dgetopt_test_libc_bug.tests10 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/
Dsv.c717 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/
Dlibbb.h1348 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/
Dhush.c11422 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()
Dash.c1987 nextopt(const char *optstring) in nextopt() argument
2010 for (q = optstring; *q != c;) { in nextopt()