Home
last modified time | relevance | path

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

/freebsd-9-stable/cddl/compat/opensolaris/misc/
Dzmount.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()
/freebsd-9-stable/contrib/gcclibs/libmudflap/
Dmf-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 …]
/freebsd-9-stable/libexec/bootpd/tools/bootptest/
Dprint-bootp.c286 char *optstr; local
302 optstr = rfc1048_opts[tag];
303 printf(" %s:", optstr + 1);
306 optstr = "?";
316 switch (optstr[0]) {
/freebsd-9-stable/sbin/hastctl/
Dhastctl.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()
/freebsd-9-stable/bin/sh/
Doptions.c439 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, in getopts() argument
468 for (q = optstr; *q != c; ) { in getopts()
470 if (optstr[0] == ':') { in getopts()
488 if (optstr[0] == ':') { in getopts()
/freebsd-9-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
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-9-stable/sbin/fsck/
Dfsck.c425 addoption(char *optstr) in addoption() argument
430 if ((newoptions = strchr(optstr, ':')) == NULL) in addoption()
436 if (!strncmp(e->type, optstr, MFSNAMELEN)) { in addoption()
440 addentry(&opthead, optstr, newoptions); in addoption()
/freebsd-9-stable/tools/test/iconv/tablegen/
Dtablegen.c50 static const char *optstr = "cdilrt"; variable
205 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) { in main()
/freebsd-9-stable/sbin/atm/atmconfig/
Datmconfig.h91 const char *optstr; member
Dmain.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()
/freebsd-9-stable/sys/boot/arm/at91/boot2/
Dboot2.c79 static const char optstr[NOPT] = "agnrsv"; variable
263 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd-9-stable/sys/boot/arm/ixp425/boot2/
Dboot2.c76 static const char optstr[NOPT] = "agnrsv"; variable
275 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd-9-stable/sys/boot/i386/gptboot/
Dgptboot.c63 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
376 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd-9-stable/usr.bin/grep/
Dgrep.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()
/freebsd-9-stable/sys/boot/i386/boot2/
Dboot2.c101 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
412 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd-9-stable/sys/boot/pc98/boot2/
Dboot2.c100 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
551 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd-9-stable/sys/boot/i386/zfsboot/
Dzfsboot.c71 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
780 for (i = 0; c != optstr[i]; i++) in parse()
/freebsd-9-stable/contrib/amd/libamu/
Dmount_fs.c782 nap->optstr = mntp->mnt_opts; in compute_nfs_args()
/freebsd-9-stable/usr.bin/csup/
Dupdater.c353 char *optstr, *rcsopt, *pos; in updater_docoll() local
755 optstr = proto_get_ascii(&line); in updater_docoll()
/freebsd-9-stable/cddl/contrib/opensolaris/cmd/zfs/
Dzfs_main.c5176 const char *optstr = un ? "ldugecsrh" : "ldugecsh"; in zfs_do_allow_unallow_impl() local
5179 while ((c = getopt(argc, argv, optstr)) != -1) { in zfs_do_allow_unallow_impl()
/freebsd-9-stable/contrib/amd/
DChangeLog9230 nap->optstr