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

1 2 3 4 5 6 7 8 91011>>

  /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/grub/lib/
getopt.c 127 Otherwise, `optind' communicates from one call to the next
131 int optind = 1;
133 /* Formerly, initialization of getopt depended on optind==0, which
186 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
300 The other is elements [last_nonopt,optind), which contains all
316 int top = optind;
386 first_nonopt += (optind - last_nonopt);
387 last_nonopt = optind;
405 first_nonopt = last_nonopt = optind;
472 updating `optind' and `nextchar' so that the next call to `getopt' ca
130 int optind = 1; variable
    [all...]
getopt1.c 114 int this_option_optind = optind ? optind : 1;
181 if (optind < argc)
184 while (optind < argc)
185 printf ("%s ", argv[optind++]);
  /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++]);
  /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]);
date.c 75 if(optind + 2 < argc) {
80 int hasfmt = argc == optind + 1 && argv[optind][0] == '+';
81 if(optind == argc || hasfmt) {
87 (hasfmt ? argv[optind] + 1 : "%a %b %e %H:%M:%S GMT %Y"),
92 (hasfmt ? argv[optind] + 1 : "%a %b %e %H:%M:%S %Z %Y"),
97 else if(optind + 1 == argc) {
100 tmptr = getdate(argv[optind]);
107 if(getdate_r(argv[optind], &tm) < 0) {
113 //strptime(argv[optind], NULL, &tm)
    [all...]
ioctl.c 61 if(optind + 2 > argc) {
66 fd = open(argv[optind], O_RDWR | O_SYNC);
68 fprintf(stderr, "cannot open %s\n", argv[optind]);
71 optind++;
73 ioctl_nr = strtol(argv[optind], NULL, 0);
74 optind++;
82 length = (argc - optind) * arg_size;
89 while(optind < argc) {
90 uint64_t tmp = strtoull(argv[optind], NULL, 0);
98 optind++
    [all...]
  /external/iptables/extensions/
libxt_rateest.c 122 xtables_check_inverse(optarg, &invert, &optind, 0, argv);
136 xtables_check_inverse(optarg, &invert, &optind, 0, argv);
151 xtables_check_inverse(optarg, &invert, &optind, 0, argv);
164 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!')
167 if (rateest_get_rate(&info->bps1, argv[optind]) < 0)
170 argv[optind]);
171 optind++;
175 xtables_check_inverse(optarg, &invert, &optind, 0, argv)
    [all...]
  /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...]
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...]
  /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...]
  /sdk/emulator/qtools/
bb_dump.cpp 22 if (argc - optind != 2) {
27 char *trace_filename = argv[optind++];
28 char *elf_file = argv[optind++];
  /system/core/reboot/
reboot.c 52 if(argc > optind + 1) {
57 if (argc > optind)
58 optarg = argv[optind];
  /bionic/libc/include/
getopt.h 70 extern int optind, opterr, optopt;
  /development/ndk/platforms/android-3/include/
getopt.h 78 extern int optind;

Completed in 594 milliseconds

1 2 3 4 5 6 7 8 91011>>