/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...] |
H A D | 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/ |
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/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/distrib/ext4_utils/src/ |
H A D | ext4fixup_main.c | 53 if (optind >= argc) { 59 fsdev = argv[optind++]; 61 if (optind < argc) { 62 fprintf(stderr, "Unexpected argument: %s\n", argv[optind]);
|
H A D | make_ext4fs_main.c | 176 if (optind >= argc) { 182 filename = argv[optind++]; 184 if (optind < argc) 185 directory = argv[optind++]; 187 if (optind < argc) { 188 fprintf(stderr, "Unexpected argument: %s\n", argv[optind]);
|
/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...] |
H A D | getopt.h | 72 extern int optind;
|
/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...] |
H A D | getopt.h | 72 extern int optind;
|
/external/bison/lib/ |
H A D | getopt1.c | 94 int this_option_optind = optind ? optind : 1; 161 if (optind < argc) 164 while (optind < argc) 165 printf ("%s ", argv[optind++]);
|
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;
|
/external/libnl/src/ |
H A D | 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++;
|
H A D | 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/ |
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/e2fsprogs/tests/progs/ |
H A D | crcsum.c | 46 if (optind == argc) 49 f = fopen(argv[optind], "r"); 52 argv[optind]);
|
/external/iptables/extensions/ |
H A D | 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], NUL [all...] |
H A D | 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...] |
/external/e2fsprogs/misc/ |
H A D | 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/ |
H A D | 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/ |
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/libmtp/examples/ |
H A D | newplaylist.c | 37 extern int optind; 68 argc -= optind; 69 argv += optind;
|
/external/e2fsprogs/lib/blkid/ |
H A D | dev.c | 189 extern int optind; 226 if (argc >= optind+2) { 227 search_type = argv[optind]; 228 search_value = argv[optind+1]; 229 optind += 2; 231 if (argc != optind)
|