| /trueos/cddl/compat/opensolaris/misc/ |
| HD | zmount.c | 77 char *optstr, *os, *p; in zmount() local 90 optstr = strdup(optptr); in zmount() 91 assert(optstr != NULL); in zmount() 101 for (p = optstr; p != NULL; strsep(&p, ",/ ")) { in zmount() 106 free(optstr); in zmount()
|
| /trueos/contrib/atf/atf-c++/detail/ |
| 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()
|
| /trueos/contrib/gcclibs/libmudflap/ |
| HD | 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 …]
|
| /trueos/libexec/bootpd/tools/bootptest/ |
| HD | print-bootp.c | 286 char *optstr; local 302 optstr = rfc1048_opts[tag]; 303 printf(" %s:", optstr + 1); 306 optstr = "?"; 316 switch (optstr[0]) {
|
| /trueos/sbin/hastctl/ |
| HD | hastctl.c | 412 const char *optstr; in main() local 422 optstr = "c:de:k:m:h"; in main() 425 optstr = "c:dh"; in main() 428 optstr = "c:dh"; in main() 431 optstr = "c:dh"; in main() 434 optstr = "c:dh"; in main() 444 ch = getopt(argc, argv, optstr); in main()
|
| /trueos/bin/sh/ |
| HD | options.c | 440 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, in getopts() argument 469 for (q = optstr; *q != c; ) { in getopts() 471 if (optstr[0] == ':') { in getopts() 489 if (optstr[0] == ':') { in getopts()
|
| /trueos/contrib/subversion/subversion/svnversion/ |
| HD | svnversion.c | 92 const char *optstr; in help() local 93 svn_opt_format_option(&optstr, options, TRUE, pool); in help() 94 svn_error_clear(svn_cmdline_fprintf(stdout, pool, " %s\n", optstr)); in help()
|
| /trueos/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
| HD | 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()
|
| /trueos/sbin/fsck/ |
| HD | fsck.c | 441 addoption(char *optstr) in addoption() argument 446 if ((newoptions = strchr(optstr, ':')) == NULL) in addoption() 452 if (!strncmp(e->type, optstr, MFSNAMELEN)) { in addoption() 456 addentry(&opthead, optstr, newoptions); in addoption()
|
| /trueos/contrib/subversion/subversion/libsvn_subr/ |
| HD | 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()
|
| HD | deprecated.c | 374 const char *optstr; in print_command_info() local 375 svn_opt_format_option(&optstr, option, TRUE, pool); in print_command_info() 377 optstr)); in print_command_info()
|
| /trueos/tools/test/iconv/tablegen/ |
| HD | tablegen.c | 50 static const char *optstr = "cdilrt"; variable 205 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) { in main()
|
| /trueos/sbin/atm/atmconfig/ |
| HD | atmconfig.h | 91 const char *optstr; member
|
| HD | main.c | 744 for (o = opts; o->optstr != NULL; o++) { in parse_options() 745 if (strlen(arg + 1) <= strlen(o->optstr) && in parse_options() 746 strncmp(arg + 1, o->optstr, strlen(arg + 1)) == 0) { in parse_options()
|
| /trueos/sys/boot/arm/at91/boot2/ |
| HD | boot2.c | 79 static const char optstr[NOPT] = "agnrsv"; variable 263 for (i = 0; c != optstr[i]; i++) in parse()
|
| /trueos/usr.sbin/bhyve/ |
| HD | block_if.h | 54 struct blockif_ctxt *blockif_open(const char *optstr, const char *ident);
|
| HD | block_if.c | 391 blockif_open(const char *optstr, const char *ident) in blockif_open() argument 413 nopt = strdup(optstr); in blockif_open()
|
| /trueos/sys/boot/arm/ixp425/boot2/ |
| HD | boot2.c | 76 static const char optstr[NOPT] = "agnrsv"; variable 274 for (i = 0; c != optstr[i]; i++) in parse()
|
| /trueos/sys/boot/i386/gptboot/ |
| HD | gptboot.c | 63 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 375 for (i = 0; c != optstr[i]; i++) in parse()
|
| /trueos/contrib/subversion/subversion/svnserve/ |
| HD | svnserve.c | 324 const char *optstr; in help() local 325 svn_opt_format_option(&optstr, svnserve__options + i, TRUE, pool); in help() 326 svn_error_clear(svn_cmdline_fprintf(stdout, pool, " %s\n", optstr)); in help()
|
| /trueos/usr.bin/grep/ |
| HD | grep.c | 169 static const char *optstr = "0123456789A:B:C:D:EFGHIJMLOPSRUVZabcd:e:f:hilm:nopqrsuvwxXy"; variable 417 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) != in main()
|
| /trueos/sys/boot/i386/boot2/ |
| HD | boot2.c | 114 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 428 for (i = 0; c != optstr[i]; i++) in parse()
|
| /trueos/contrib/subversion/subversion/svnrdump/ |
| HD | svnrdump.c | 1062 const char *optstr; in main() local 1066 svn_opt_format_option(&optstr, badopt, FALSE, pool); in main() 1074 subcommand->name, optstr, subcommand->name)); in main()
|
| /trueos/sys/boot/pc98/boot2/ |
| HD | boot2.c | 113 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 567 for (i = 0; c != optstr[i]; i++) in parse()
|
| /trueos/sys/boot/i386/zfsboot/ |
| HD | zfsboot.c | 71 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable 781 for (i = 0; c != optstr[i]; i++) in parse()
|