Searched refs:optstr (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/cddl/compat/opensolaris/misc/
H A Dzmount.c77 char *optstr, *os, *p; local
90 optstr = strdup(optptr);
91 assert(optstr != NULL);
101 for (p = optstr; p != NULL; strsep(&p, ",/ ")) {
106 free(optstr);
/freebsd-9.3-release/sbin/atm/atmconfig/
H A Datmconfig.h91 const char *optstr; member in struct:option
H A Dmain.c744 for (o = opts; o->optstr != NULL; o++) {
745 if (strlen(arg + 1) <= strlen(o->optstr) &&
746 strncmp(arg + 1, o->optstr, strlen(arg + 1)) == 0) {
/freebsd-9.3-release/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c287 char *optstr;
303 optstr = rfc1048_opts[tag];
304 printf(" %s:", optstr + 1);
307 optstr = "?";
317 switch (optstr[0]) {
286 char *optstr; local
/freebsd-9.3-release/sbin/hastctl/
H A Dhastctl.c412 const char *optstr; local
422 optstr = "c:de:k:m:h";
425 optstr = "c:dh";
428 optstr = "c:dh";
431 optstr = "c:dh";
434 optstr = "c:dh";
444 ch = getopt(argc, argv, optstr);
/freebsd-9.3-release/contrib/gcclibs/libmudflap/
H A Dmf-runtime.c491 __mf_set_options (const char *optstr) argument
496 rc = __mfu_set_options (optstr);
507 __mfu_set_options (const char *optstr) argument
513 const char *saved_optstr = optstr;
515 /* XXX: bounds-check for optstr! */
517 while (*optstr)
519 switch (*optstr) {
523 optstr++;
527 if (*optstr+1)
530 optstr
[all...]
/freebsd-9.3-release/bin/sh/
H A Doptions.c439 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, argument
468 for (q = optstr; *q != c; ) {
470 if (optstr[0] == ':') {
488 if (optstr[0] == ':') {
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java114 * Generalized error processing method. If the optstr parameter is
119 err(String format, char c, String optstr) argument
124 p.printf(format, progname, (optstr == null ?
125 Character.toString(c) : optstr.substring(2)));
/freebsd-9.3-release/sbin/fsck/
H A Dfsck.c425 addoption(char *optstr) argument
430 if ((newoptions = strchr(optstr, ':')) == NULL)
436 if (!strncmp(e->type, optstr, MFSNAMELEN)) {
440 addentry(&opthead, optstr, newoptions);
/freebsd-9.3-release/sys/boot/arm/at91/boot2/
H A Dboot2.c79 static const char optstr[NOPT] = "agnrsv"; variable
263 for (i = 0; c != optstr[i]; i++)
/freebsd-9.3-release/tools/test/iconv/tablegen/
H A Dtablegen.c50 static const char *optstr = "cdilrt"; variable
205 while (((c = getopt_long(argc, argv, optstr, long_options, NULL)) != -1)) {
/freebsd-9.3-release/sys/boot/arm/ixp425/boot2/
H A Dboot2.c76 static const char optstr[NOPT] = "agnrsv"; variable
275 for (i = 0; c != optstr[i]; i++)
/freebsd-9.3-release/sys/boot/i386/gptboot/
H A Dgptboot.c63 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
374 /* Fall through to error below ('S' not in optstr[]). */
376 for (i = 0; c != optstr[i]; i++)
/freebsd-9.3-release/usr.bin/grep/
H A Dgrep.c167 static const char *optstr = "0123456789A:B:C:D:EFGHIJMLOPSRUVZabcd:e:f:hilm:nopqrsuvwxXy"; variable
411 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
/freebsd-9.3-release/sys/boot/i386/boot2/
H A Dboot2.c101 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
410 /* Fall through to error below ('S' not in optstr[]). */
412 for (i = 0; c != optstr[i]; i++)
/freebsd-9.3-release/sys/boot/i386/zfsboot/
H A Dzfsboot.c71 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
779 /* Fall through to error below ('S' not in optstr[]). */
781 for (i = 0; c != optstr[i]; i++)
/freebsd-9.3-release/sys/boot/pc98/boot2/
H A Dboot2.c100 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
549 /* Fall through to error below ('S' not in optstr[]). */
551 for (i = 0; c != optstr[i]; i++)
/freebsd-9.3-release/contrib/amd/libamu/
H A Dmount_fs.c782 nap->optstr = mntp->mnt_opts;
/freebsd-9.3-release/usr.bin/csup/
H A Dupdater.c353 char *optstr, *rcsopt, *pos; local
755 optstr = proto_get_ascii(&line);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c5157 const char *optstr = un ? "ldugecsrh" : "ldugecsh"; local
5160 while ((c = getopt(argc, argv, optstr)) != -1) {

Completed in 251 milliseconds