Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c78 char *optstr, *p, *tofree; in do_mount() local
86 tofree = optstr = strdup(opts); in do_mount()
87 assert(optstr != NULL); in do_mount()
91 if (strstr(optstr, MNTOPT_REMOUNT) != NULL) in do_mount()
100 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.c118 const char *optstr; in bhyve_optparse() local
122 optstr = "aehuwxACDHIMPSWYk:f:o:p:G:c:s:m:n:l:K:U:r:"; in bhyve_optparse()
124 optstr = "aehuwxACDHIMPSWYk:f:o:p:G:c:s:m:n:l:K:U:"; in bhyve_optparse()
126 while ((c = getopt(argc, argv, optstr)) != -1) { in bhyve_optparse()
/freebsd/tools/build/cross-build/include/common/
H A Dgetopt.h51 #define getopt(argc, argv, optstr) __freebsd_getopt(argc, argv, optstr) argument
/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/contrib/blocklist/test/
H A Dsrvtest.c193 const char *optstr = "up:s:"; in main() local
195 const char *optstr = "up:"; in main() local
200 while ((c = getopt(argc, argv, optstr)) != -1) in main()
/freebsd/usr.bin/id/
H A Did.c73 const char *myname, *optstr; in main() local
80 optstr = "AGMPacdgnprsu"; in main()
83 optstr = ""; in main()
88 optstr = ""; in main()
92 while ((ch = getopt(argc, argv, optstr)) != -1) { in main()
/freebsd/usr.sbin/bhyve/riscv/
H A Dbhyverun_machdep.c120 const char *optstr; in bhyve_optparse() local
123 optstr = "hCDMSWk:f:o:p:c:s:m:U:"; in bhyve_optparse()
124 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.c126 const char *optstr; in bhyve_optparse() local
129 optstr = "hCDMSWk:f:o:p:G:c:s:m:U:"; in bhyve_optparse()
130 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/bin/timeout/
H A Dtimeout.c313 const char optstr[] = "+fhk:ps:v"; in main() local
324 while ((ch = getopt_long(argc, argv, optstr, longopts, 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/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/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/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/gptzfsboot/
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/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/usr.sbin/virtual_oss/virtual_oss/
H A Dmain.c2028 const char *optstr; in parse_options() local
2034 optstr = "N:J:k:H:o:F:G:w:e:p:a:C:c:r:b:f:g:x:i:m:M:d:l:L:s:t:h?O:P:Q:R:SBD:E:"; in parse_options()
2036 optstr = "F:G:w:e:p:a:c:b:f:m:M:d:l:L:s:O:P:R:E:"; in parse_options()
2044 while ((c = getopt(narg, pparg, optstr)) != -1) { in parse_options()
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c6511 const char *optstr = un ? "ldugecsrh" : "ldugecsh"; in zfs_do_allow_unallow_impl() local
6514 while ((c = getopt(argc, argv, optstr)) != -1) { in zfs_do_allow_unallow_impl()