/external/bison/lib/ |
getopt_int.h | 39 int optind; 84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 111 /* The initializer is necessary to set OPTIND and OPTERR to their 38 int optind; member in struct:_getopt_data
|
getopt_.h | 44 # undef optind macro 54 # define optind __GETOPT_ID (optind) macro 125 Otherwise, `optind' communicates from one call to the next 128 extern int optind;
|
getopt.c | 87 Otherwise, `optind' communicates from one call to the next 91 int optind = 1; 148 The other is elements [last_nonopt,optind), which contains all 159 int top = d->optind; 229 d->__first_nonopt += (d->optind - d->__last_nonopt); 230 d->__last_nonopt = d->optind; 243 d->__first_nonopt = d->__last_nonopt = d->optind; 310 updating `optind' and `nextchar' so that the next call to `getopt' can 314 Then `optind' is the index in ARGV of the first ARGV-element 369 if (d->optind == 0 || !d->__initialized 90 int optind = 1; variable [all...] |
/external/icu4c/samples/date/ |
date.c | 62 int optind = 1; local 71 for(optind = 1; optind < argc; ++optind) { 72 arg = argv[optind]; 103 if ( optind + 1 < argc ) { 104 optind++; 105 format = argv[optind]; 111 ++optind;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
getopt_int.h | 38 int optind; 83 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 110 /* The initializer is necessary to set OPTIND and OPTERR to their 37 int optind; member in struct:_getopt_data
|
getopt.in.h | 43 # undef optind macro 53 # define optind __GETOPT_ID (optind) macro 124 Otherwise, `optind' communicates from one call to the next 127 extern int optind;
|
getopt.c | 82 Otherwise, `optind' communicates from one call to the next 86 int optind = 1; 143 The other is elements [last_nonopt,optind), which contains all 154 int top = d->optind; 224 d->__first_nonopt += (d->optind - d->__last_nonopt); 225 d->__last_nonopt = d->optind; 238 d->__first_nonopt = d->__last_nonopt = d->optind; 305 updating `optind' and `nextchar' so that the next call to `getopt' can 309 Then `optind' is the index in ARGV of the first ARGV-element 364 if (d->optind == 0 || !d->__initialized 85 int optind = 1; variable [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
common.c | 200 int optind = 1; variable 210 if (optind >= argc) { 215 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 221 if (os_strcmp(argv[optind], "--") == 0) { 223 optind++; 227 optopt = argv[optind][optchr]; 230 if (argv[optind][++optchr] == '\0') { 232 optind++; 240 if (argv[optind][optchr + 1]) [all...] |
/external/wpa_supplicant_8/src/utils/ |
common.c | 254 int optind = 1; variable 264 if (optind >= argc) { 269 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 275 if (os_strcmp(argv[optind], "--") == 0) { 277 optind++; 281 optopt = argv[optind][optchr]; 284 if (argv[optind][++optchr] == '\0') { 286 optind++; 294 if (argv[optind][optchr + 1]) [all...] |
/bionic/libc/unistd/ |
getopt_long.c | 70 int optind = 1; /* index into parent argv vector */ variable 181 optind++; 245 optarg = nargv[optind++]; 265 --optind; 270 --optind; 316 * XXX Some GNU programs (like cvs) set optind to 0 instead of 319 if (optind == 0) 320 optind = optreset = 1; 328 if (optind >= nargc) { /* end of argument vector */ 333 optind, nargv) [all...] |
/external/grub/lib/ |
getopt.c | 127 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' and `nextchar' so that the next call to `getopt' ca 130 int optind = 1; variable [all...] |
/external/icu4c/samples/cal/ |
cal.c | 113 int optind = 1; local 120 for(optind = 1; optind < argc; ++optind) { 121 arg = argv[optind]; 138 ++optind; 153 if(optind != argc) { 156 if(argc - optind == 2) { 157 sscanf(argv[optind], "%d", (int*)&month); 158 sscanf(argv[optind + 1], "%d", (int*)&year) [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
CommandLine.java | 65 int optind = getopts(options, argv); local 74 if (argv.length == optind) { 78 for (int i = optind; i < argv.length; i++) { 94 for (int i = optind; i < argv.length; i++) { 257 int optind; local 258 for (optind = 0; optind < argv.length; optind++) { 259 String arg = argv[optind]; 278 return optind; [all...] |
/external/webkit/Tools/DumpRenderTree/wx/ |
DumpRenderTreeWx.cpp | 306 int optind = 1; local 308 wxString option_str = wxString(argv[optind]); 309 if (argc == optind+1 && option_str.Find(_T("-")) == 0) { 324 printSeparators = (optind < argc-1 || (dumpPixels && dumpTree)); 325 for (int i = optind; i != argc; ++i) {
|
/external/wpa_supplicant/ |
common.c | 496 int optind = 1; variable 506 if (optind >= argc) { 511 if (argv[optind][0] != '-' || argv[optind][1] == '\0') { 517 if (os_strcmp(argv[optind], "--") == 0) { 519 optind++; 523 optopt = argv[optind][optchr]; 526 if (argv[optind][++optchr] == '\0') { 528 optind++; 536 if (argv[optind][optchr + 1]) [all...] |
/ndk/sources/host-tools/make-3.81/ |
getopt.c | 121 Otherwise, `optind' communicates from one call to the next 125 int optind = 1; variable 127 /* Formerly, initialization of getopt depended on optind==0, which 180 `--' can cause `getopt' to return -1 with `optind' != ARGC. */ 291 The other is elements [last_nonopt,optind), which contains all 306 int top = optind; 376 first_nonopt += (optind - last_nonopt); 377 last_nonopt = optind; 392 first_nonopt = last_nonopt = optind; 459 updating `optind' and `nextchar' so that the next call to `getopt' ca [all...] |
/external/netperf/ |
netlib.c | 272 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; [all...] |
/external/qemu/ |
vl.c | 2078 int optind; local [all...] |
vl-android.c | 2531 int optind; local [all...] |
/external/mksh/src/ |
sh.h | 763 int optind; member in struct:__anon8787 764 int uoptind;/* what user sees in $OPTIND */ 767 unsigned int p; /* 0 or index into argv[optind - 1] */ [all...] |
/external/valgrind/main/perf/ |
tinycc.c | 21436 int optind; local 21641 int nb_objfiles, ret, optind; local [all...] |