HomeSort by relevance Sort by last modified time
    Searched defs:optind (Results 1 - 22 of 22) sorted by null

  /sdk/emulator/opengl/host/tools/emugen/
getopt.c 9 int optind = 1; variable
17 if (optind >= argc)
20 const char* arg = argv[optind];
53 optind++;
61 } else if (argc > ++optind) {
62 optarg = (char *)argv[optind];
  /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/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;
  /external/tcpdump/win32/Src/
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/bison/lib/
getopt_int.h 61 '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */
74 int optind;
115 /* The initializer is necessary to set OPTIND and OPTERR to their
73 int optind; member in struct:_getopt_data
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;
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...]
  /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/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/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...]
  /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...]
  /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...]
  /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...]
  /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/wpa_supplicant_8/src/utils/
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][optchr + 1])
    [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-android.c 2132 int optind; local
    [all...]
  /external/mksh/src/
sh.h 958 #undef optind macro
962 int optind; member in struct:__anon11714
963 int uoptind; /* what user sees in $OPTIND */
966 unsigned int p; /* 0 or index into argv[optind - 1] */
    [all...]
  /external/valgrind/main/perf/
tinycc.c 21437 int optind; local
21642 int nb_objfiles, ret, optind; local
    [all...]

Completed in 656 milliseconds