Home
last modified time | relevance | path

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

123

/third_party/libwebsockets/win32port/win32helpers/
Dgetopt.c55 optopt, /* character checked for validity */ variable
113 if ((optopt = (int)*place++) == (int)':' ||
114 !(oli = strchr(ostr, optopt))) {
119 if (optopt == (int)'-')
125 "%s: illegal option -- %c\n", __progname, optopt);
143 __progname, optopt);
151 return (optopt); /* dump back option letter */
Dgetopt_long.c46 extern int optopt; /* character checked for validity */
104 if ((optopt = (int)*place++) == (int)':' ||
105 !(oli = strchr(ostr, optopt))) {
110 if (optopt == (int)'-')
116 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
131 __progname(nargv[0]), optopt);
138 return (optopt); /* dump back option letter */
Dgetopt.h10 extern int optopt; /* character checked for validity */
/third_party/node/deps/cares/src/tools/
Dares_getopt.c89 state->optopt = 0; in ares_getopt()
95 state->optopt = *(state->place); in ares_getopt()
97 oli = strchr(ostr, state->optopt); in ares_getopt()
105 state->optopt); in ares_getopt()
127 __FILE__, state->optopt); in ares_getopt()
136 return state->optopt; /* dump back option letter */ in ares_getopt()
Dares_getopt.h40 int optopt; /* character checked for validity */ member
/third_party/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()
Dgetopt.h73 extern int optopt;
/third_party/ninja/src/
Dgetopt.c108 int optopt = '?'; variable
163 return (optopt = '?'); in getopt_internal()
218 return (optopt = 1); in getopt_internal()
274 return (optopt = '?'); in getopt_internal()
299 return (optopt = '?'); in getopt_internal()
304 optopt = *cp; in getopt_internal()
340 return (optopt = ':'); in getopt_internal()
385 return optopt; in getopt_internal()
Dgetopt.h39 extern int optopt;
/third_party/glfw/deps/
Dgetopt.c37 int optopt; variable
58 optopt = 0; in getopt()
93 optopt = optchar; in getopt()
168 optopt = 0; in getopt_long()
Dgetopt.h39 extern int optind, opterr, optopt;
/third_party/musl/src/misc/
Dgetopt.c11 int optind=1, opterr=1, optopt, __optpos, __optreset=0; variable
82 optopt = c; in getopt()
94 optopt = c; in getopt()
Dgetopt_long.c95 optopt = longopts[i].val; in __getopt_long_core()
107 optopt = longopts[i].val; in __getopt_long_core()
126 optopt = 0; in __getopt_long_core()
/third_party/libcoap/examples/
Dgetopt.c19 static int optopt; variable
37 optopt = c = argv[optind][sp]; in getopt()
/third_party/ffmpeg/compat/
Dgetopt.c38 static int optopt; variable
56 optopt = c = argv[optind][sp]; in getopt()
/third_party/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c287 extern int optopt; /* options to the program */ in main()
296 OPT_MISSING(argv[0], optopt); in main()
305 OPT_MISSING(argv[0], optopt); in main()
/third_party/ltp/testcases/kernel/mem/mem/
Dmem02.c85 extern int optopt; /* stores bad option passed to the program */ in main()
98 "an argument\n", argv[0], optopt); in main()
/third_party/mesa3d/src/intel/tools/
Di965_disasm.c190 argv[0], optopt); in main()
195 argv[0], optopt); in main()
/third_party/ltp/testcases/realtime/lib/
Dlibrttest.c190 if (optopt == '-') in rt_init_long()
194 optopt); in rt_init_long()
198 if (optopt == '-') in rt_init_long()
202 optopt); in rt_init_long()
/third_party/musl/include/
Dgetopt.h10 extern int optind, opterr, optopt, optreset;
/third_party/musl/porting/uniproton/kernel/include/
Dgetopt.h10 extern int optind, opterr, optopt, optreset;
/third_party/musl/porting/liteos_m/kernel/include/
Dgetopt.h10 extern int optind, opterr, optopt, optreset;
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dgetopt.h10 extern int optind, opterr, optopt, optreset;
/third_party/ntfs-3g/ntfsprogs/
Dntfsundelete.c790 if (((optopt == 'b') || (optopt == 'c') || in parse_options()
791 (optopt == 'd') || (optopt == 'm') || in parse_options()
792 (optopt == 'o') || (optopt == 'p') || in parse_options()
793 (optopt == 'S') || (optopt == 't') || in parse_options()
794 (optopt == 'u')) && (!optarg)) { in parse_options()
/third_party/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c326 OPT_MISSING(argv[0], optopt); in main()
355 OPT_MISSING(argv[0], optopt); in main()

123