Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c77 char *optstr, *p, *tofree; in do_mount() local
85 tofree = optstr = strdup(opts); in do_mount()
86 assert(optstr != NULL); in do_mount()
90 if (strstr(optstr, MNTOPT_REMOUNT) != NULL) in do_mount()
99 while ((p = strsep(&optstr, ",/")) != NULL) in do_mount()
/freebsd/contrib/atf/atf-c++/detail/
H A 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()
/freebsd/usr.sbin/bhyve/amd64/
H A Dbhyverun_machdep.c115 const char *optstr; in bhyve_optparse() local
119 optstr = "aehuwxACDHIPSWYk:f:o:p:G:c:s:m:l:K:U:r:"; in bhyve_optparse()
121 optstr = "aehuwxACDHIPSWYk:f:o:p:G:c:s:m:l:K:U:"; in bhyve_optparse()
123 while ((c = getopt(argc, argv, optstr)) != -1) { in bhyve_optparse()
/freebsd/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c280 char *optstr; in rfc1048_print() local
296 optstr = rfc1048_opts[tag]; in rfc1048_print()
297 printf(" %s:", optstr + 1); in rfc1048_print()
300 optstr = "?"; in rfc1048_print()
310 switch (optstr[0]) { in rfc1048_print()
/freebsd/tools/build/cross-build/include/common/
H A Dgetopt.h51 #define getopt(argc, argv, optstr) __freebsd_getopt(argc, argv, optstr) argument
/freebsd/usr.sbin/bhyve/riscv/
H A Dbhyverun_machdep.c119 const char *optstr; in bhyve_optparse() local
122 optstr = "hCDSWk:f:o:p:c:s:m:U:"; in bhyve_optparse()
123 while ((c = getopt(argc, argv, optstr)) != -1) { in bhyve_optparse()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.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()
/freebsd/sbin/fsck/
H A Dfsck.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()
/freebsd/bin/sh/
H A Doptions.c465 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/usr.sbin/bhyve/aarch64/
H A Dbhyverun_machdep.c120 const char *optstr; in bhyve_optparse() local
123 optstr = "hCDSWk:f:o:p:G:c:s:m:U:"; in bhyve_optparse()
124 while ((c = getopt(argc, argv, optstr)) != -1) { in bhyve_optparse()
/freebsd/tools/test/iconv/tablegen/
H A Dtablegen.c48 static const char *optstr = "cdilrt"; variable
203 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) { in main()
/freebsd/stand/i386/isoboot/
H A Disoboot.c58 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
464 for (i = 0; c != optstr[i]; i++) in parse_cmds()
/freebsd/usr.bin/xargs/
H A Dxargs.c90 static const char *optstr = "+0E:I:J:L:n:oP:pR:S:s:rtx"; variable
145 while ((ch = getopt_long(argc, argv, optstr, long_options, NULL)) != -1) in main()
/freebsd/usr.bin/grep/
H A Dgrep.c152 static const char *optstr = "0123456789A:B:C:D:EFGHILOSRUVabcd:e:f:hilm:nopqrsuvwxyz"; variable
384 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
/freebsd/stand/i386/boot2/
H A Dboot2.c70 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
399 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd/stand/i386/gptboot/
H A Dgptboot.c59 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
541 for (i = 0; c != optstr[i]; i++) in parse_cmds()
/freebsd/stand/i386/zfsboot/
H A Dzfsboot.c67 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
605 for (i = 0; c != optstr[i]; i++) in parse_cmd()
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c6587 const char *optstr = un ? "ldugecsrh" : "ldugecsh"; in zfs_do_allow_unallow_impl() local
6590 while ((c = getopt(argc, argv, optstr)) != -1) { in zfs_do_allow_unallow_impl()