/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
H A D | libzfs_zmount.c | 77 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 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/usr.sbin/bhyve/amd64/ |
H A D | bhyverun_machdep.c | 115 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 D | print-bootp.c | 280 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 D | getopt.h | 51 #define getopt(argc, argv, optstr) __freebsd_getopt(argc, argv, optstr) argument
|
/freebsd/usr.sbin/bhyve/riscv/ |
H A D | bhyverun_machdep.c | 119 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 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/sbin/fsck/ |
H A D | 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()
|
/freebsd/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/usr.sbin/bhyve/aarch64/ |
H A D | bhyverun_machdep.c | 120 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 D | tablegen.c | 48 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 D | isoboot.c | 58 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 D | xargs.c | 90 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 D | grep.c | 152 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 D | boot2.c | 70 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 D | gptboot.c | 59 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 D | zfsboot.c | 67 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 D | zfs_main.c | 6587 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()
|