| /freebsd-12.1/contrib/atf/atf-c++/detail/ |
| H A D | application.cpp | 155 std::string optstr; in process_options() local 157 optstr += '+'; // Turn on POSIX behavior. in process_options() 159 optstr += ':'; in process_options() 166 optstr += opt.m_character; in process_options() 168 optstr += ':'; in process_options() 175 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) { in process_options()
|
| /freebsd-12.1/cddl/compat/opensolaris/misc/ |
| H A D | zmount.c | 77 char *optstr, *os, *p, *tofree; in zmount() local 90 tofree = optstr = strdup(optptr); in zmount() 91 assert(optstr != NULL); in zmount() 101 while ((p = strsep(&optstr, ",/")) != NULL) in zmount()
|
| /freebsd-12.1/contrib/gcclibs/libmudflap/ |
| H A D | mf-runtime.c | 496 rc = __mfu_set_options (optstr); in __mf_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() 542 optstr = & optstr[3]; in __mfu_set_options() 560 if (! negate && (*optstr == '=' && *(optstr+1))) in __mfu_set_options() 582 optstr); in __mfu_set_options() [all …]
|
| /freebsd-12.1/libexec/bootpd/tools/bootptest/ |
| H A D | print-bootp.c | 287 char *optstr; local 303 optstr = rfc1048_opts[tag]; 304 printf(" %s:", optstr + 1); 307 optstr = "?"; 317 switch (optstr[0]) {
|
| /freebsd-12.1/sbin/hastctl/ |
| H A D | hastctl.c | 414 const char *optstr; in main() local 424 optstr = "c:de:k:m:h"; in main() 427 optstr = "c:dh"; in main() 430 optstr = "c:dh"; in main() 433 optstr = "c:dh"; in main() 436 optstr = "c:dh"; in main() 446 ch = getopt(argc, argv, optstr); in main()
|
| /freebsd-12.1/contrib/subversion/subversion/svnversion/ |
| H A D | svnversion.c | 93 const char *optstr; in help() local 94 svn_opt_format_option(&optstr, options, TRUE, pool); in help() 95 svn_error_clear(svn_cmdline_fprintf(stdout, pool, " %s\n", optstr)); in help()
|
| /freebsd-12.1/bin/sh/ |
| H A D | options.c | 465 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, in getopts() argument 495 for (q = optstr; *q != c; ) { in getopts() 497 if (optstr[0] == ':') { in getopts() 513 if (optstr[0] == ':') { in getopts()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
| H A D | Getopt.java | 119 err(String format, char c, String optstr) in err() argument 124 p.printf(format, progname, (optstr == null ? in err() 125 Character.toString(c) : optstr.substring(2))); in err()
|
| /freebsd-12.1/sbin/fsck/ |
| H A D | fsck.c | 443 addoption(char *optstr) in addoption() argument 448 if ((newoptions = strchr(optstr, ':')) == NULL) in addoption() 454 if (!strncmp(e->type, optstr, MFSNAMELEN)) { in addoption() 458 addentry(&opthead, optstr, newoptions); in addoption()
|
| /freebsd-12.1/contrib/subversion/subversion/svnfsfs/ |
| H A D | svnfsfs.c | 414 const char *optstr; in sub_main() local 418 svn_opt_format_option(&optstr, badopt, FALSE, pool); in sub_main() 425 subcommand->name, optstr, subcommand->name)); in sub_main()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | opt.c | 314 const char *optstr; in print_command_info2() local 315 format_option(&optstr, option, long_alias, TRUE, pool); in print_command_info2() 317 optstr)); in print_command_info2() 338 const char *optstr; in print_command_info2() local 339 format_option(&optstr, option, long_alias, TRUE, pool); in print_command_info2() 341 optstr)); in print_command_info2()
|
| H A D | deprecated.c | 378 const char *optstr; in print_command_info() local 379 svn_opt_format_option(&optstr, option, TRUE, pool); in print_command_info() 381 optstr)); in print_command_info()
|
| /freebsd-12.1/tools/test/iconv/tablegen/ |
| H A D | tablegen.c | 50 static const char *optstr = "cdilrt"; variable 205 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) { in main()
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | block_if.h | 62 struct blockif_ctxt *blockif_open(const char *optstr, const char *ident);
|
| H A D | bhyverun.c | 985 char *optstr; in main() local 1000 optstr = "abehuwxACHIPSWYp:g:G:c:s:m:l:U:"; in main() 1001 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
|
| H A D | block_if.c | 401 blockif_open(const char *optstr, const char *ident) in blockif_open() argument 429 nopt = xopts = strdup(optstr); in blockif_open()
|
| /freebsd-12.1/contrib/subversion/subversion/svnbench/ |
| H A D | svnbench.c | 792 const char *optstr; in sub_main() local 796 svn_opt_format_option(&optstr, badopt, FALSE, pool); in sub_main() 804 subcommand->name, optstr, subcommand->name)); in sub_main()
|
| /freebsd-12.1/stand/i386/isoboot/ |
| H A D | isoboot.c | 61 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 467 for (i = 0; c != optstr[i]; i++) in parse_cmds()
|
| /freebsd-12.1/stand/mips/beri/boot2/ |
| H A D | boot2.c | 99 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 447 for (i = 0; c != optstr[i]; i++) in parse()
|
| /freebsd-12.1/contrib/subversion/subversion/svnserve/ |
| H A D | svnserve.c | 460 const char *optstr; in help() local 461 svn_opt_format_option(&optstr, svnserve__options + i, TRUE, pool); in help() 462 svn_error_clear(svn_cmdline_fprintf(stdout, pool, " %s\n", optstr)); in help()
|
| /freebsd-12.1/usr.bin/grep/ |
| H A D | grep.c | 163 static const char *optstr = "0123456789A:B:C:D:EFGHILOPSRUVabcd:e:f:hilm:nopqrsuvwxyz"; variable 404 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
|
| /freebsd-12.1/stand/i386/boot2/ |
| H A D | boot2.c | 73 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 402 for (i = 0; c != optstr[i]; i++) in parse()
|
| /freebsd-12.1/contrib/subversion/subversion/svnrdump/ |
| H A D | svnrdump.c | 1001 const char *optstr; in sub_main() local 1005 svn_opt_format_option(&optstr, badopt, FALSE, pool); in sub_main() 1013 subcommand->name, optstr, subcommand->name)); in sub_main()
|
| /freebsd-12.1/stand/i386/gptboot/ |
| H A D | gptboot.c | 62 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 544 for (i = 0; c != optstr[i]; i++) in parse_cmds()
|
| /freebsd-12.1/contrib/subversion/subversion/svndumpfilter/ |
| H A D | svndumpfilter.c | 1525 const char *optstr; in sub_main() local 1529 svn_opt_format_option(&optstr, badopt, FALSE, pool); in sub_main() 1537 subcommand->name, optstr, subcommand->name)); in sub_main()
|