HomeSort by relevance Sort by last modified time
    Searched refs:optind (Results 1 - 25 of 470) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/c-ares/
ares_getopt.h 37 #undef optind macro
43 #define optind ares_optind macro
49 extern int optind;
ares_getopt.c 52 optind = 1; /* index into parent argv vector */ variable
73 if (optind >= nargc || *(place = nargv[optind]) != '-') {
78 ++optind;
92 ++optind;
101 ++optind;
106 else if (nargc <= ++optind) { /* no arg */
117 optarg = nargv[optind];
119 ++optind;
  /frameworks/native/cmds/service/
service.cpp 99 if (optind >= argc) {
102 if (strcmp(argv[optind], "check") == 0) {
103 optind++;
104 if (optind < argc) {
105 sp<IBinder> service = sm->checkService(String16(argv[optind]));
106 aout << "Service " << argv[optind] <<
114 else if (strcmp(argv[optind], "list") == 0) {
125 } else if (strcmp(argv[optind], "call") == 0) {
126 optind++;
127 if (optind+1 < argc)
    [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...]
getopt1.c 104 int this_option_optind = optind ? optind : 1;
171 if (optind < argc)
174 while (optind < argc)
175 printf ("%s ", argv[optind++]);
  /toolchain/binutils/binutils-2.25/libiberty/
getopt.c 128 Otherwise, `optind' communicates from one call to the next
132 int optind = 1;
134 /* Formerly, initialization of getopt depended on optind==0, which
187 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
309 The other is elements [last_nonopt,optind), which contains all
324 int top = optind;
394 first_nonopt += (optind - last_nonopt);
395 last_nonopt = optind;
412 first_nonopt = last_nonopt = optind;
479 updating `optind' and `nextchar' so that the next call to `getopt' ca
131 int optind = 1; variable
    [all...]
getopt1.c 104 int this_option_optind = optind ? optind : 1;
171 if (optind < argc)
174 while (optind < argc)
175 printf ("%s ", argv[optind++]);
  /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/
getopt_long.h 64 extern int optind, opterr, optopt;
  /system/extras/ext4_utils/
ext4fixup_main.c 53 if (optind >= argc) {
59 fsdev = argv[optind++];
61 if (optind < argc) {
62 fprintf(stderr, "Unexpected argument: %s\n", argv[optind]);
  /system/core/toolbox/
ioctl.c 100 if (optind + 2 > argc) {
104 const char* device = argv[optind];
111 error(1, errno, "cannot open %s", argv[optind]);
114 optind++;
121 int ioctl_nr = UINT_MAX & strtoll(argv[optind], &endp, 0);
123 error(1, errno, "couldn't parse ioctl number '%s'", argv[optind]);
125 optind++;
133 length = (argc - optind) * arg_size;
140 while (optind < argc) {
141 uint64_t tmp = strtoull(argv[optind], NULL, 0)
    [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;
368 * XXX Some GNU programs (like cvs) set optind to 0 instead of
371 if (optind == 0)
372 optind = optreset = 1;
393 if (optind >= nargc) { /* end of argument vector */
398 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/tcpdump/missing/
getopt_long.c 83 int optind, opterr = 1, optopt; variable
220 optind++;
301 optarg = nargv[optind++];
323 --optind;
328 --optind;
384 * XXX Some GNU programs (like cvs) set optind to 0 instead of
387 if (optind == 0)
388 optind = 1;
393 if (optind >= nargc) { /* end of argument vector */
398 optind, nargv)
    [all...]
  /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...]
  /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++;
  /external/selinux/libselinux/utils/
getconlist.c 36 if (((argc - optind) < 1) || ((argc - optind) > 2))
46 user = argv[optind];
49 if (((argc - optind) < 2)) {
55 cur_context = argv[optind + 1];
  /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]);
  /system/core/reboot/
reboot.c 52 if(argc > optind + 1) {
57 if (argc > optind)
58 optarg = 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...]
  /bionic/libc/include/
getopt.h 70 extern int optind, opterr, optopt;
  /development/ndk/platforms/android-21/include/
getopt.h 70 extern int optind, opterr, optopt;

Completed in 1426 milliseconds

1 2 3 4 5 6 7 8 91011>>