Home
last modified time | relevance | path

Searched refs:optstr (Results 1 – 25 of 34) sorted by relevance

12

/trueos/cddl/compat/opensolaris/misc/
HDzmount.c77 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/
Dapplication.cpp155 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/
HDmf-runtime.c491 __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/
HDprint-bootp.c286 char *optstr; local
302 optstr = rfc1048_opts[tag];
303 printf(" %s:", optstr + 1);
306 optstr = "?";
316 switch (optstr[0]) {
/trueos/sbin/hastctl/
HDhastctl.c412 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/
HDoptions.c440 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/
HDsvnversion.c92 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/
HDGetopt.java119 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/
HDfsck.c441 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/
HDopt.c314 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()
HDdeprecated.c374 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/
HDtablegen.c50 static const char *optstr = "cdilrt"; variable
205 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) { in main()
/trueos/sbin/atm/atmconfig/
HDatmconfig.h91 const char *optstr; member
HDmain.c744 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/
HDboot2.c79 static const char optstr[NOPT] = "agnrsv"; variable
263 for (i = 0; c != optstr[i]; i++) in parse()
/trueos/usr.sbin/bhyve/
HDblock_if.h54 struct blockif_ctxt *blockif_open(const char *optstr, const char *ident);
HDblock_if.c391 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/
HDboot2.c76 static const char optstr[NOPT] = "agnrsv"; variable
274 for (i = 0; c != optstr[i]; i++) in parse()
/trueos/sys/boot/i386/gptboot/
HDgptboot.c63 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/
HDsvnserve.c324 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/
HDgrep.c169 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/
HDboot2.c114 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/
HDsvnrdump.c1062 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/
HDboot2.c113 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/
HDzfsboot.c71 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
781 for (i = 0; c != optstr[i]; i++) in parse()

12