HomeSort by relevance Sort by last modified time
    Searched refs:optind (Results 1 - 25 of 432) 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/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);
  /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++]);
  /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];
getopt.h 8 extern int 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/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;
  /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...]
  /system/core/toolbox/
cmp.c 45 if (optind + 2 != argc) {
50 fd1 = open(argv[optind], O_RDONLY);
52 fprintf(stderr, "could not open %s, %s\n", argv[optind], strerror(errno));
56 fd2 = open(argv[optind+1], O_RDONLY);
58 fprintf(stderr, "could not open %s, %s\n", argv[optind+1], strerror(errno));
71 printf("%s %s differ byte %d", argv[optind], argv[optind+1], filepos + i);
86 printf("%s on %s\n", res < 0 ? "Read error" : "EOF", res1 < res2 ? argv[optind] : argv[optind+1]);
ioctl.c 61 if(optind + 2 > argc) {
66 if (!strcmp(argv[optind], "-")) {
69 fd = open(argv[optind], read_only ? O_RDONLY : (O_RDWR | O_SYNC));
71 fprintf(stderr, "cannot open %s\n", argv[optind]);
75 optind++;
77 ioctl_nr = strtol(argv[optind], NULL, 0);
78 optind++;
86 length = (argc - optind) * arg_size;
93 while(optind < argc) {
94 uint64_t tmp = strtoull(argv[optind], NULL, 0)
    [all...]
  /external/qemu/distrib/ext4_utils/src/
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/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]);
  /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/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++]);
  /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++;
  /ndk/sources/host-tools/sed-4.2.1/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 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/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...]

Completed in 515 milliseconds

1 2 3 4 5 6 7 8 91011>>