Home
last modified time | relevance | path

Searched refs:optopt (Results 1 – 25 of 70) sorted by relevance

123

/external/c-ares/
Dares_getopt.c53 int optopt = 0; /* character checked for validity */ variable
83 if ((optopt = (int)*place++) == (int)':' || in ares_getopt()
84 (oli = strchr(ostr, optopt)) == NULL) { in ares_getopt()
89 if (optopt == (int)'-') in ares_getopt()
95 "%s: illegal option -- %c\n", __FILE__, optopt); in ares_getopt()
113 __FILE__, optopt); in ares_getopt()
121 return (optopt); /* dump back option letter */ in ares_getopt()
Dares_getopt.h39 #undef optopt
45 #define optopt ares_optopt macro
51 extern int optopt;
/external/libpcap/missing/
Dgetopt.c46 optopt, /* character checked for validity */ variable
87 if ((optopt = (int)*place++) == (int)':' ||
88 !(oli = strchr(ostr, optopt))) {
93 if (optopt == (int)'-')
99 "%s: illegal option -- %c\n", __progname, optopt);
117 __progname, optopt);
125 return (optopt); /* dump back option letter */
/external/mesa3d/src/getopt/
Dgetopt_long.c60 int optopt = '?'; /* character checked for validity */ variable
203 optopt = 0; in parse_long_options()
217 optopt = long_options[match].val; in parse_long_options()
219 optopt = 0; in parse_long_options()
247 optopt = long_options[match].val; in parse_long_options()
249 optopt = 0; in parse_long_options()
260 optopt = 0; in parse_long_options()
422 optopt = optchar; in getopt_internal()
433 optopt = optchar; in getopt_internal()
454 optopt = optchar; in getopt_internal()
/external/openssh/openbsd-compat/
Dgetopt_long.c77 int optopt = '?'; /* character checked for validity */ variable
220 optopt = 0; in parse_long_options()
234 optopt = long_options[match].val; in parse_long_options()
236 optopt = 0; in parse_long_options()
264 optopt = long_options[match].val; in parse_long_options()
266 optopt = 0; in parse_long_options()
277 optopt = 0; in parse_long_options()
439 optopt = optchar; in getopt_internal()
450 optopt = optchar; in getopt_internal()
471 optopt = optchar; in getopt_internal()
/external/tcpdump/missing/
Dgetopt_long.c83 int optind, opterr = 1, optopt; variable
266 optopt = 0; in parse_long_options()
283 optopt = long_options[match].val; in parse_long_options()
285 optopt = 0; in parse_long_options()
320 optopt = long_options[match].val; in parse_long_options()
322 optopt = 0; in parse_long_options()
337 optopt = 0; in parse_long_options()
518 optopt = optchar;
529 optopt = optchar;
553 optopt = optchar;
/external/bison/lib/
Dgetopt.in.h63 # undef optopt
74 # define optopt __GETOPT_ID (optopt) macro
160 extern int optopt;
Dgetopt.c93 int optopt = '?'; variable
590 d->optopt = 0; in _getopt_internal_r()
670 d->optopt = pfound->val; in _getopt_internal_r()
709 d->optopt = pfound->val; in _getopt_internal_r()
780 d->optopt = 0; in _getopt_internal_r()
828 d->optopt = c; in _getopt_internal_r()
882 d->optopt = c; in _getopt_internal_r()
1110 d->optopt = c; in _getopt_internal_r()
1143 optopt = getopt_data.optopt; in _getopt_internal()
/external/bison/darwin-lib/
Dgetopt.h64 # undef optopt
75 # define optopt __GETOPT_ID (optopt) macro
171 extern int optopt;
/external/syslinux/gpxe/src/core/
Dgetopt.c61 int optopt; variable
250 optopt = '?'; in getopt_long()
270 optopt = *opttext; in getopt_long()
271 printf ( "Unrecognised option \"-%c\"\n", optopt ); in getopt_long()
/external/libusb/examples/getopt/
Dgetopt.c154 int optopt = '?'; variable
690 optopt = 0;
722 optopt = pfound->val;
737 optopt = pfound->val;
772 optopt = 0;
799 optopt = c;
829 optopt = c;
959 optopt = c;
/external/vboot_reference/futility/
Dcmd_pcr.c122 if (optopt) in do_pcr()
124 optopt); in do_pcr()
130 fprintf(stderr, "Missing argument to -%c\n", optopt); in do_pcr()
Dcmd_load_fmap.c109 if (optopt) in do_load_fmap()
111 optopt); in do_load_fmap()
117 fprintf(stderr, "Missing argument to -%c\n", optopt); in do_load_fmap()
/external/vboot_reference/cgpt/
Dcmd_repair.c54 Error("unrecognized option: -%c\n", optopt); in cmd_repair()
58 Error("missing argument to -%c\n", optopt); in cmd_repair()
Dcmd_legacy.c54 Error("unrecognized option: -%c\n", optopt); in cmd_legacy()
58 Error("missing argument to -%c\n", optopt); in cmd_legacy()
Dcmd_create.c63 Error("unrecognized option: -%c\n", optopt); in cmd_create()
67 Error("missing argument to -%c\n", optopt); in cmd_create()
Dcmd_boot.c71 Error("unrecognized option: -%c\n", optopt); in cmd_boot()
75 Error("missing argument to -%c\n", optopt); in cmd_boot()
Dcmd_show.c98 Error("unrecognized option: -%c\n", optopt); in cmd_show()
102 Error("missing argument to -%c\n", optopt); in cmd_show()
Dcmd_prioritize.c89 Error("unrecognized option: -%c\n", optopt); in cmd_prioritize()
93 Error("missing argument to -%c\n", optopt); in cmd_prioritize()
/external/syslinux/com32/lib/
Dgetopt.c12 int optind, opterr, optopt; variable
92 optopt = opt; in getopt()
Dgetopt_long.c17 int optind, opterr, optopt; variable
147 optopt = opt; in getopt_long()
/external/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c283 extern int optopt; /* options to the program */ in main()
292 OPT_MISSING(argv[0], optopt); in main()
301 OPT_MISSING(argv[0], optopt); in main()
Dmallocstress.c298 extern int optopt; /* options to the program */ in main()
309 OPT_MISSING(argv[0], optopt); in main()
318 OPT_MISSING(argv[0], optopt); in main()
/external/syslinux/libinstaller/getopt/
Dgetopt_long.c17 int optind, opterr, optopt; variable
147 optopt = opt; in getopt_long()
/external/fio/oslib/
Dgetopt_long.c20 int optind = 0, opterr = 0, optopt = 0; variable
188 optopt = opt; in getopt_long_only()

123