| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/lib/ |
| H A D | profopt.exp | 93 proc profopt-perf-value { testcase perf_ext optstr } { argument 107 fail "$testcase perf check: no consistent time available, $optstr" 115 fail "$testcase perf check: file $base.$perf_ext has wrong format, $optstr" 166 set optstr "$option $profile_option" 168 if ![${tool}_check_compile "$testcase compilation" $optstr $execname1 $comp_output] { 169 unresolved "$testcase execution, $optstr" 188 $status "$testcase execution, $optstr" 191 $status "$testcase execution, $optstr" 205 set optstr "$option $feedback_option" 207 if ![${tool}_check_compile "$testcase compilation" $optstr $execname2 $comp_output] { [all …]
|
| H A D | compat.exp | 60 proc compat-obj { source dest options optstr } { argument 65 ${tool}_check_compile "$testcase $dest compile" $optstr $dest $comp_output 76 proc compat-run { testname objlist dest options optstr } { argument 83 unresolved "$testcase $testname link $optstr" 84 unresolved "$testcase $testname execute $optstr" 94 unresolved "$testcase $testname execute $optstr" 107 $status "$testcase $testname execute $optstr" 175 set optstr "" 178 set optstr "\"$tst_option\",\"$alt_option\"" 180 verbose "Testing $testcase, $optstr" 1 [all …]
|
| /openbsd-src/usr.bin/rdist/ |
| H A D | distopt.c | 102 char *string, *optstr; in parsedistopts() local 109 for (optstr = strtok(string, ","); optstr; in parsedistopts() 110 optstr = strtok(NULL, ",")) { in parsedistopts() 112 if ((distopt = getdistopt(optstr, &len)) != NULL) { in parsedistopts() 114 if (distopt->do_arg && optstr[len] == '=') in parsedistopts() 116 &optstr[len + 1], distopt->arg_size); in parsedistopts() 121 if ((distopt = getdistopt(optstr+2, &len)) != NULL) { in parsedistopts() 127 error("Dist option \"%s\" is not valid.", optstr); in parsedistopts()
|
| H A D | message.c | 271 char *cp, *optstr; in msgparseopts() local 284 for (optstr = strtok(msgbuf, ":"); optstr; in msgparseopts() 285 optstr = strtok(NULL, ":")) { in msgparseopts() 287 if ((cp = strchr(optstr, '=')) == NULL) in msgparseopts() 291 word = optstr; in msgparseopts()
|
| /openbsd-src/usr.sbin/tokeninit/ |
| H A D | tokeninit.c | 67 char *optstr; in main() local 97 optstr = "fhm:sv"; in main() 99 optstr = "fm:sv"; in main() 101 while ((c = getopt(argc, argv, optstr)) != -1) in main()
|
| /openbsd-src/gnu/gcc/libmudflap/ |
| H A D | mf-runtime.c | 491 __mf_set_options (const char *optstr) in __mf_set_options() argument 496 rc = __mfu_set_options (optstr); in __mf_set_options() 507 __mfu_set_options (const char *optstr) in __mfu_set_options() argument 513 const char *saved_optstr = optstr; in __mfu_set_options() 517 while (*optstr) in __mfu_set_options() 519 switch (*optstr) { in __mfu_set_options() 523 optstr++; in __mfu_set_options() 527 if (*optstr+1) in __mfu_set_options() 530 optstr++; in __mfu_set_options() 532 if (*optstr == '?' || in __mfu_set_options() [all …]
|
| /openbsd-src/sbin/fsck/ |
| H A D | fsck.c | 389 addoption(char *optstr) in addoption() argument 394 if ((newoptions = strchr(optstr, ':')) == NULL) in addoption() 400 if (!strncmp(e->type, optstr, MFSNAMELEN)) { in addoption() 404 addentry(&opthead, optstr, newoptions); in addoption()
|
| /openbsd-src/usr.bin/uuencode/ |
| H A D | uuencode.c | 68 static const char *optstr[2] = { in main() local 82 while ((ch = getopt(argc, argv, optstr[pmode])) != -1) { in main()
|
| /openbsd-src/bin/md5/ |
| H A D | md5.c | 212 const char *optstr; in main() local 226 optstr = "a:bC:ch:pqrs:tx"; in main() 229 optstr = "bC:ch:pqrs:tx"; in main() 232 while ((fl = getopt(argc, argv, optstr)) != -1) { in main() 243 while ((fl = getopt(argc, argv, optstr)) != -1) { in main()
|
| /openbsd-src/usr.bin/grep/ |
| H A D | grep.c | 128 static const char optstr[] = "0123456789A:B:CEFGHILRUVabce:f:hilm:noqrsuvwxy"; variable 130 static const char optstr[] = "0123456789A:B:CEFGHILRUVZabce:f:hilm:noqrsuvwxy"; variable 288 while ((c = getopt_long(argc, argv, optstr, in main()
|
| /openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/ |
| H A D | dotest_args.py | 22 X = lambda optstr, helpstr, **kwargs: group.add_argument( argument 23 optstr, help=helpstr, action='store_true', **kwargs)
|
| /openbsd-src/usr.bin/snmp/ |
| H A D | snmpc.c | 130 char optstr[BUFSIZ]; in main() local 154 optstr[0] = '\0'; in main() 159 if (strlcpy(optstr, snmp_app->optstring, in main() 160 sizeof(optstr)) > sizeof(optstr)) in main() 170 if (strlcat(optstr, GETOPT_COMMON, sizeof(optstr)) > in main() 171 sizeof(optstr)) in main() 180 while ((ch = getopt(argc, argv, optstr)) != -1) { in main()
|
| /openbsd-src/usr.bin/compress/ |
| H A D | main.c | 175 const char *optstr, *s; in main() local 197 optstr = method->opts; in main() 245 optstr += pmode; in main() 246 while ((ch = getopt_long(argc, argv, optstr, longopts, NULL)) != -1) in main()
|
| /openbsd-src/usr.bin/fstat/ |
| H A D | fstat.c | 147 char *memf, *nlistf, *optstr; in main() local 160 optstr = "cfks:uM:N:"; in main() 163 optstr = "fnop:su:vN:M:"; in main() 171 while ((ch = getopt(argc, argv, optstr)) != -1) in main()
|
| /openbsd-src/usr.bin/nm/ |
| H A D | nm.c | 133 const char *optstr; in main() local 140 optstr = OPTSTRING_NM; in main() 147 optstr = "tw"; in main() 151 while ((ch = getopt_long(argc, argv, optstr, lopts, NULL)) != -1) { in main()
|
| /openbsd-src/usr.bin/uudecode/ |
| H A D | uudecode.c | 73 static const char *optstr[2] = { in main() local 84 while ((ch = getopt(argc, argv, optstr[pmode])) != -1) { in main()
|
| /openbsd-src/usr.bin/vi/common/ |
| H A D | main.c | 60 static const char *optstr[3] = { in editor() local 133 while ((ch = getopt(argc, argv, optstr[pmode])) != -1) in editor()
|
| /openbsd-src/usr.bin/rcs/ |
| H A D | rcsutil.c | 87 rcs_getopt(int argc, char **argv, const char *optstr) in rcs_getopt() argument 106 for (c = optstr; *c != '\0'; c++) { in rcs_getopt()
|
| /openbsd-src/usr.bin/openssl/ |
| H A D | apps.c | 1945 char optstr[32]; in options_usage() local 1952 snprintf(optstr, sizeof(optstr), "-%s %s", opts[i].name, in options_usage() 1954 fprintf(stderr, " %-*s", OPTION_WIDTH, optstr); in options_usage() 1955 if (strlen(optstr) > OPTION_WIDTH) in options_usage()
|