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

12

/freebsd-10.0-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-10.0-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-10.0-release/usr.sbin/bhyve/
H A Dblock_if.h53 struct blockif_ctxt *blockif_open(const char *optstr, const char *ident);
H A Dblock_if.c203 blockif_open(const char *optstr, const char *ident) argument
221 nopt = strdup(optstr);
/freebsd-10.0-release/contrib/atf/atf-c++/detail/
H A Dapplication.cpp168 std::string optstr; local
170 optstr += '+'; // Turn on POSIX behavior.
172 optstr += ':';
179 optstr += opt.m_character;
181 optstr += ':';
188 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
/freebsd-10.0-release/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c288 char *optstr;
304 optstr = rfc1048_opts[tag];
305 printf(" %s:", optstr + 1);
308 optstr = "?";
318 switch (optstr[0]) {
287 char *optstr; local
/freebsd-10.0-release/sbin/hastctl/
H A Dhastctl.c405 const char *optstr; local
415 optstr = "c:de:k:m:h";
418 optstr = "c:dh";
421 optstr = "c:dh";
424 optstr = "c:dh";
427 optstr = "c:dh";
437 ch = getopt(argc, argv, optstr);
/freebsd-10.0-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-10.0-release/bin/sh/
H A Doptions.c440 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, argument
469 for (q = optstr; *q != c; ) {
471 if (optstr[0] == ':') {
489 if (optstr[0] == ':') {
/freebsd-10.0-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-10.0-release/contrib/subversion/subversion/svnversion/
H A Dsvnversion.c91 const char *optstr; local
92 svn_opt_format_option(&optstr, options, TRUE, pool);
93 svn_error_clear(svn_cmdline_fprintf(stdout, pool, " %s\n", optstr));
/freebsd-10.0-release/sbin/fsck/
H A Dfsck.c431 addoption(char *optstr) argument
436 if ((newoptions = strchr(optstr, ':')) == NULL)
442 if (!strncmp(e->type, optstr, MFSNAMELEN)) {
446 addentry(&opthead, optstr, newoptions);
/freebsd-10.0-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-10.0-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-10.0-release/sys/boot/arm/ixp425/boot2/
H A Dboot2.c76 static const char optstr[NOPT] = "agnrsv"; variable
274 for (i = 0; c != optstr[i]; i++)
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/
H A Dopt.c316 const char *optstr;
317 format_option(&optstr, option, long_alias, TRUE, pool);
319 optstr));
340 const char *optstr;
341 format_option(&optstr, option, long_alias, TRUE, pool);
343 optstr));
314 const char *optstr; local
338 const char *optstr; local
H A Ddeprecated.c375 const char *optstr;
376 svn_opt_format_option(&optstr, option, TRUE, pool);
378 optstr));
373 const char *optstr; local
/freebsd-10.0-release/contrib/subversion/subversion/svnserve/
H A Dsvnserve.c326 const char *optstr;
327 svn_opt_format_option(&optstr, svnserve__options + i, TRUE, pool);
328 svn_error_clear(svn_cmdline_fprintf(stdout, pool, " %s\n", optstr));
325 const char *optstr; local
/freebsd-10.0-release/sys/boot/i386/gptboot/
H A Dgptboot.c63 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
373 /* Fall through to error below ('S' not in optstr[]). */
375 for (i = 0; c != optstr[i]; i++)
/freebsd-10.0-release/usr.bin/grep/
H A Dgrep.c168 static const char *optstr = "0123456789A:B:C:D:EFGHIJMLOPSRUVZabcd:e:f:hilm:nopqrsuvwxXy"; variable
412 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
/freebsd-10.0-release/sys/boot/i386/boot2/
H A Dboot2.c101 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
409 /* Fall through to error below ('S' not in optstr[]). */
411 for (i = 0; c != optstr[i]; i++)
/freebsd-10.0-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-10.0-release/sys/boot/pc98/boot2/
H A Dboot2.c100 static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */ variable
548 /* Fall through to error below ('S' not in optstr[]). */
550 for (i = 0; c != optstr[i]; i++)
/freebsd-10.0-release/contrib/subversion/subversion/svnrdump/
H A Dsvnrdump.c1064 const char *optstr;
1068 svn_opt_format_option(&optstr, badopt, FALSE, pool);
1076 subcommand->name, optstr, subcommand->name));
1062 const char *optstr; local

Completed in 288 milliseconds

12