/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | common.c | 248 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 D | common.c | 248 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 D | common.c | 248 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/valgrind/main/perf/ |
H A D | tinycc.c | 21439 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...] |
/external/tcpdump/win32/Src/ |
H A D | getopt.c | 43 optind = 1, /* index into parent argv vector */ variable 68 if (optind >= nargc || *(place = nargv[optind]) != '-') { 73 ++optind; 87 ++optind; 96 ++optind; 101 else if (nargc <= ++optind) { /* no arg */ 112 optarg = nargv[optind]; 114 ++optind;
|
/external/qemu/ |
H A D | vl-android.c | 2132 int optind; local 2226 optind = 1; 2228 if (optind >= argc) 2230 r = argv[optind]; 2232 hda_opts = drive_add(argv[optind++], HD_ALIAS, 0); 2236 optind++; 2251 if (optind >= argc) { 2255 optarg = argv[optind++];
|
/external/netperf/ |
H A D | 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;
|
/external/mksh/src/ |
H A D | sh.h | 958 #undef optind macro 962 int optind; member in struct:__anon28023 966 unsigned int p; /* 0 or index into argv[optind - 1] */
|
/external/mesa3d/src/getopt/ |
H A D | getopt_long.c | 59 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/libunwind/tests/ |
H A D | test-ptrace.c | 173 int status, pid, pending_sig, optind = 1, state = 1; local 187 while (argv[optind][0] == '-') 189 if (strcmp (argv[optind], "-v") == 0) 190 ++optind, verbose = 1; 191 else if (strcmp (argv[optind], "-i") == 0) 192 ++optind, trace_mode = INSTRUCTION; /* backtrace at each insn */ 193 else if (strcmp (argv[optind], "-s") == 0) 194 ++optind, trace_mode = SYSCALL; /* backtrace at each syscall */ 195 else if (strcmp (argv[optind], "-t") == 0) 198 ++optind, trace_mod [all...] |
/external/libpcap/Win32/Src/ |
H A D | getopt.c | 43 optind = 1, /* index into parent argv vector */ variable 72 if (optind >= nargc || *(place = nargv[optind]) != '-') { 77 ++optind; 91 ++optind; 100 ++optind; 105 else if (nargc <= ++optind) { /* no arg */ 116 optarg = nargv[optind]; 118 ++optind;
|
/external/fio/lib/ |
H A D | getopt_long.c | 20 int optind = 0, opterr = 0, optopt = 0; variable 59 optind < 1 || optind > argc) { 60 /* optind doesn't match the current query */ 63 optind = 1; 67 carg = argv[optind]; 78 optind++; 102 if (!(optarg = argv[optind])) 104 optind++; 116 /* Someone frobbed optind, chang [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
H A D | mbo_getopt.c | 44 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/chromium_org/third_party/mesa/src/src/getopt/ |
H A D | getopt_long.c | 59 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/bison/darwin-lib/ |
H A D | getopt.h | 63 # 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/bison/lib/ |
H A D | getopt.c | 79 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...] |
H A D | getopt.in.h | 62 # 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 D | getopt_int.h | 61 '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */ 74 int optind; 73 int optind; member in struct:_getopt_data
|