Searched defs:optind (Results 1 - 19 of 19) sorted by relevance

/external/bison/lib/
H A Dgetopt_int.h61 '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */
74 int optind;
73 int optind; member in struct:_getopt_data
H A Dgetopt.in.h62 # undef optind macro
73 # define optind __GETOPT_ID (optind) macro
148 Otherwise, 'optind' communicates from one call to the next
151 extern int optind;
H A Dgetopt.c79 Otherwise, 'optind' communicates from one call to the next
83 int optind = 1;
140 The other is elements [last_nonopt,optind), which contains all
151 int top = d->optind;
221 d->__first_nonopt += (d->optind - d->__last_nonopt);
222 d->__last_nonopt = d->optind;
236 d->__first_nonopt = d->__last_nonopt = d->optind;
303 updating 'optind' and 'nextchar' so that the next call to 'getopt' can
307 Then 'optind' is the index in ARGV of the first ARGV-element
361 if (d->optind
82 int optind = 1; variable
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dmbo_getopt.c44 int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char **optarg, int *optind, int show_err) argument
52 if (*optind >= argc)
59 if ((argv[*optind][0] != '-'))
65 if (!argv[*optind][1])
76 if ((argv[*optind][0] == '-') && (argv[*optind][1] == '-'))
86 (*optind)++;
89 else if (opts[opts_idx].opt_name && !strcmp(&argv[*optind][2], opts[opts_idx].opt_name))
107 if (argv[*optind][optchr] == ':')
110 (*optind)
[all...]
/external/bison/darwin-lib/
H A Dgetopt.h63 # undef optind macro
74 # define optind __GETOPT_ID (optind) macro
159 Otherwise, 'optind' communicates from one call to the next
162 extern int optind;
/external/marisa-trie/tools/
H A Dcmdopt.h37 int optind; // Index of the next argument. member in struct:cmdopt_t_
/external/marisa-trie/v0_1_5/tools/
H A Dcmdopt.h37 int optind; // Index of the next argument. member in struct:cmdopt_t_
/external/chromium_org/third_party/mesa/src/src/getopt/
H A Dgetopt_long.c59 int optind = 1; /* index into parent argv vector */ variable
169 optind++;
231 optarg = nargv[optind++];
250 --optind;
255 --optind;
301 * XXX Some GNU programs (like cvs) set optind to 0 instead of
304 if (optind == 0)
305 optind = optreset = 1;
313 if (optind >= nargc) { /* end of argument vector */
318 optind, narg
[all...]
/external/grub/lib/
H A Dgetopt.c127 Otherwise, `optind' communicates from one call to the next
131 int optind = 1;
133 /* Formerly, initialization of getopt depended on optind==0, which
186 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
300 The other is elements [last_nonopt,optind), which contains all
316 int top = optind;
386 first_nonopt += (optind - last_nonopt);
387 last_nonopt = optind;
405 first_nonopt = last_nonopt = optind;
472 updating `optind' an
130 int optind = 1; variable
[all...]
/external/mesa3d/src/getopt/
H A Dgetopt_long.c59 int optind = 1; /* index into parent argv vector */ variable
169 optind++;
231 optarg = nargv[optind++];
250 --optind;
255 --optind;
301 * XXX Some GNU programs (like cvs) set optind to 0 instead of
304 if (optind == 0)
305 optind = optreset = 1;
313 if (optind >= nargc) { /* end of argument vector */
318 optind, narg
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.c248 int optind = 1; variable
258 if (optind >= argc) {
263 if (argv[optind][0] != '-' || argv[optind][1] == '\0') {
269 if (os_strcmp(argv[optind], "--") == 0) {
271 optind++;
275 optopt = argv[optind][optchr];
278 if (argv[optind][++optchr] == '\0') {
280 optind++;
288 if (argv[optind][optch
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dcommon.c248 int optind = 1; variable
258 if (optind >= argc) {
263 if (argv[optind][0] != '-' || argv[optind][1] == '\0') {
269 if (os_strcmp(argv[optind], "--") == 0) {
271 optind++;
275 optopt = argv[optind][optchr];
278 if (argv[optind][++optchr] == '\0') {
280 optind++;
288 if (argv[optind][optch
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.c248 int optind = 1; variable
258 if (optind >= argc) {
263 if (argv[optind][0] != '-' || argv[optind][1] == '\0') {
269 if (os_strcmp(argv[optind], "--") == 0) {
271 optind++;
275 optopt = argv[optind][optchr];
278 if (argv[optind][++optchr] == '\0') {
280 optind++;
288 if (argv[optind][optch
[all...]
/external/openssh/
H A Ddefines.h558 # undef optind macro
564 # define optind BSDoptind macro
/external/netperf/
H A Dnetlib.c272 optind = 1, /* index into parent argv vector */ variable
359 if (optind >= argc || *(place = argv[optind]) != '-' || !*++place) {
364 ++optind;
374 ++optind;
383 ++optind;
388 } else if (argc <= ++optind) {
394 optarg = argv[optind]; /* white space */
397 ++optind;
/external/qemu/
H A Dvl-android.c2546 int optind; local
2643 optind = 1;
2645 if (optind >= argc)
2647 r = argv[optind];
2649 hda_opts = drive_add(argv[optind++], HD_ALIAS, 0);
2653 optind++;
2668 if (optind >= argc) {
2672 optarg = argv[optind++];
H A Dvl.c2078 int optind; local
2153 optind = 1;
2155 if (optind >= argc)
2157 r = argv[optind];
2159 hda_index = drive_add(argv[optind++], HD_ALIAS, 0);
2163 optind++;
2179 if (optind >= argc) {
2184 optarg = argv[optind++];
/external/mksh/src/
H A Dsh.h944 #undef optind macro
948 int optind; member in struct:__anon23293
952 unsigned int p; /* 0 or index into argv[optind - 1] */
/external/valgrind/main/perf/
H A Dtinycc.c21439 int optind;
21444 optind = 0;
21446 if (optind >= argc) {
21452 r = argv[optind++];
21457 optind--;
21484 if (optind >= argc)
21486 optarg = argv[optind++];
21636 return optind;
21644 int nb_objfiles, ret, optind;
21677 optind
21437 int optind; local
21642 int nb_objfiles, ret, optind; local
[all...]

Completed in 496 milliseconds