Home
last modified time | relevance | path

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

12

/external/libpcap/Win32/Src/
Dgetopt.c44 optopt, /* character checked for validity */ variable
82 if ((optopt = (int)*place++) == (int)':' ||
83 !(oli = strchr(ostr, optopt))) {
88 if (optopt == (int)'-')
94 "%s: illegal option -- %c\n", __progname, optopt);
112 __progname, optopt);
120 return (optopt); /* dump back option letter */
/external/tcpdump/win32/Src/
Dgetopt.c44 optopt, /* character checked for validity */ variable
78 if ((optopt = (int)*place++) == (int)':' ||
79 !(oli = strchr(ostr, optopt))) {
84 if (optopt == (int)'-')
90 "%s: illegal option -- %c\n", program_name, optopt);
108 program_name, optopt);
116 return (optopt); /* dump back option letter */
/external/marisa-trie/v0_1_5/tools/
Dcmdopt.c69 h->optopt = *h->nextchar++; in cmdopt_search()
72 if (*ptr == h->optopt) { in cmdopt_search()
82 return h->optopt; in cmdopt_search()
86 if (h->optopt == '-') { in cmdopt_search()
211 h->optopt = 0; in cmdopt_main()
256 h->optopt = 0; in cmdopt_init()
271 fprintf(stderr, "option requires an argument -- %c\n", h->optopt); in cmdopt_get()
279 fprintf(stderr, "invalid option -- %c\n", h->optopt); in cmdopt_get()
286 fprintf(stderr, "option with `%s' -- %c\n", h->optarg, h->optopt); in cmdopt_get()
/external/marisa-trie/tools/
Dcmdopt.c69 h->optopt = *h->nextchar++; in cmdopt_search()
72 if (*ptr == h->optopt) { in cmdopt_search()
82 return h->optopt; in cmdopt_search()
86 if (h->optopt == '-') { in cmdopt_search()
211 h->optopt = 0; in cmdopt_main()
256 h->optopt = 0; in cmdopt_init()
271 fprintf(stderr, "option requires an argument -- %c\n", h->optopt); in cmdopt_get()
279 fprintf(stderr, "invalid option -- %c\n", h->optopt); in cmdopt_get()
286 fprintf(stderr, "option with `%s' -- %c\n", h->optarg, h->optopt); in cmdopt_get()
/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()
Dgetopt.h69 extern int optopt;
/external/bison/darwin-lib/
Dgetopt.h64 # undef optopt
75 # define optopt __GETOPT_ID (optopt) macro
171 extern int optopt;
/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/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()
Dfutility.c326 if (optopt) in main()
328 optopt); in main()
335 fprintf(stderr, "Missing argument to -%c\n", optopt); in main()
Dcmd_create.c325 if (optopt) in do_create()
327 optopt); in do_create()
333 fprintf(stderr, "Missing argument to -%c\n", optopt); in do_create()
Dcmd_gbb_utility.c415 if (optopt) in do_gbb_utility()
418 optopt); in do_gbb_utility()
432 optopt, argv[optind - 1]); in do_gbb_utility()
436 optopt); in do_gbb_utility()
/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()
Dcmd_find.c143 Error("unrecognized option: -%c\n", optopt); in cmd_find()
147 Error("missing argument to -%c\n", optopt); in cmd_find()
Dcmd_add.c158 Error("unrecognized option: -%c\n", optopt); in cmd_add()
162 Error("missing argument to -%c\n", optopt); in cmd_add()
/external/fio/lib/
Dgetopt_long.c20 int optind = 0, opterr = 0, optopt = 0; variable
162 optopt = opt; in getopt_long_only()
/external/sepolicy/tools/
Dcheck_seapp.c710 if (optopt == 'o' || optopt == 'p') in handle_options()
711 log_error("Option -%c requires an argument.\n", optopt); in handle_options()
712 else if (isprint (optopt)) in handle_options()
713 log_error("Unknown option `-%c'.\n", optopt); in handle_options()
717 optopt); in handle_options()

12