/external/fio/lib/ |
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, change to new opt. * [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
mbo_getopt.c | 44 int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char **optarg, int *optind, int show_err) 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...] |
mbo_getopt.h | 19 int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char **optarg, int *optind, int show_err);
|
/external/libpcap/Win32/Src/ |
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;
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
getopt_long.c | 74 int optind = 1; /* index into parent argv vector */ variable 223 optind++; 304 optarg = nargv[optind++]; 326 --optind; 331 --optind; 387 * XXX Some GNU programs (like cvs) set optind to 0 instead of 390 if (optind == 0) 391 optind = optreset = 1; 399 if (optind >= nargc) { /* end of argument vector */ 404 optind, nargv) [all...] |
/external/chromium_org/third_party/mesa/src/src/getopt/ |
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, nargv) [all...] |
getopt.h | 72 extern int optind;
|
/external/mesa3d/src/getopt/ |
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, nargv) [all...] |
getopt.h | 72 extern int optind;
|
/external/bison/lib/ |
getopt1.c | 94 int this_option_optind = optind ? optind : 1; 161 if (optind < argc) 164 while (optind < argc) 165 printf ("%s ", argv[optind++]);
|
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 == 0 || !d->__initialized 82 int optind = 1; variable [all...] |
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;
|
/external/libnl/src/ |
nl-link-stats.c | 59 if (optind >= gargc) { 65 while (optind < gargc) { 66 int id = rtnl_link_str2stat(argv[optind]); 70 "\"%s\"\n", argv[optind]); 74 optind++;
|
nl-fib-lookup.c | 73 if (optind >= argc) 78 if ((err = nl_addr_parse(argv[optind], AF_INET, &addr)) < 0) 80 argv[optind], nl_geterror(err));
|
/external/libunwind/tests/ |
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_mode = TRIGGER [all...] |
/external/e2fsprogs/tests/progs/ |
crcsum.c | 46 if (optind == argc) 49 f = fopen(argv[optind], "r"); 52 argv[optind]);
|
/external/iptables/extensions/ |
libxt_rateest.c | 160 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!') 163 if (rateest_get_rate(&info->bps1, argv[optind]) < 0) 166 argv[optind]); 167 optind++; 183 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!') 186 if (!xtables_strtoui(argv[optind], NULL, &val, 0, UINT32_MAX) [all...] |
libxt_set.c | 70 if (!argv[optind] 71 || argv[optind][0] == '-' 72 || argv[optind][0] == '!') 82 parse_dirs_v0(argv[optind], info); 84 optind++; 150 if (!argv[optind] 151 || argv[optind][0] == '-' 152 || argv[optind][0] == '!') 162 parse_dirs(argv[optind], info); 164 optind++ [all...] |
/bionic/libc/include/ |
getopt.h | 70 extern int optind, opterr, optopt;
|
/development/ndk/platforms/android-3/include/ |
getopt.h | 78 extern int optind;
|
/development/ndk/platforms/android-L/include/ |
getopt.h | 70 extern int optind, opterr, optopt;
|
/external/e2fsprogs/misc/ |
findsuper.c | 146 if (optind == argc) 149 device_name = argv[optind++]; 151 if (optind < argc) { 152 skiprate = strtol(argv[optind], &s, 0); 153 if (s == argv[optind]) { 157 optind++; 164 if (optind < argc) { 165 sk = skl = strtoll(argv[optind], &s, 0) << 10; 166 if (s == argv[optind]) { 171 optind++ [all...] |
/external/f2fs-tools/mkfs/ |
f2fs_format_main.c | 97 if (optind >= argc) { 101 config.device_name = argv[optind]; 103 if ((optind + 1) < argc) { 105 config.total_sectors = atoll(argv[optind+1]); 107 config.total_sectors, argv[optind+1]);
|
/external/bison/darwin-lib/ |
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/libmtp/examples/ |
newplaylist.c | 37 extern int optind; 68 argc -= optind; 69 argv += optind;
|