Home
last modified time | relevance | path

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

123

/external/libpcap/missing/
Dgetopt.c46 optopt, /* character checked for validity */ variable
84 if ((optopt = (int)*place++) == (int)':' || in getopt()
85 !(oli = strchr(ostr, optopt))) { in getopt()
90 if (optopt == (int)'-') in getopt()
96 "%s: illegal option -- %c\n", __progname, optopt); in getopt()
114 __progname, optopt); in getopt()
122 return (optopt); /* dump back option letter */ in getopt()
Dgetopt.h5 extern int optind, opterr, optreset, optopt;
/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/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/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/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()
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/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()
/external/libkmsxx/kms++util/src/
Dopts.cpp90 const Option& o = find_opt(optopt); in parse()
91 if (optopt < 256) in parse()
/external/ltp/testcases/kernel/mem/mem/
Dmem02.c77 extern int optopt; /* stores bad option passed to the program */ in main()
90 "an argument\n", argv[0], optopt); in main()
/external/ltp/testcases/realtime/lib/
Dlibrttest.c189 if (optopt == '-') in rt_init_long()
193 optopt); in rt_init_long()
197 if (optopt == '-') in rt_init_long()
201 optopt); in rt_init_long()
/external/tcpdump/
Dgetopt_long.h64 extern int optind, opterr, optopt;

123