Searched defs:optind (Results 1 - 17 of 17) sorted by relevance

/external/bison/lib/
H A Dgetopt_int.h39 int optind;
84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
38 int optind; member in struct:_getopt_data
H A Dgetopt_.h44 # undef optind macro
54 # define optind __GETOPT_ID (optind) macro
125 Otherwise, `optind' communicates from one call to the next
128 extern int optind;
H A Dgetopt.c87 Otherwise, `optind' communicates from one call to the next
91 int optind = 1;
148 The other is elements [last_nonopt,optind), which contains all
159 int top = d->optind;
229 d->__first_nonopt += (d->optind - d->__last_nonopt);
230 d->__last_nonopt = d->optind;
243 d->__first_nonopt = d->__last_nonopt = d->optind;
310 updating `optind' and `nextchar' so that the next call to `getopt' can
314 Then `optind' is the index in ARGV of the first ARGV-element
369 if (d->optind
90 int optind = 1; variable
[all...]
/external/icu4c/samples/date/
H A Ddate.c62 int optind = 1; local
71 for(optind = 1; optind < argc; ++optind) {
72 arg = argv[optind];
103 if ( optind + 1 < argc ) {
104 optind++;
105 format = argv[optind];
111 ++optind;
/external/grub/lib/
H A Dgetopt.c127 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' an
130 int optind = 1; variable
[all...]
/external/webkit/Tools/DumpRenderTree/wx/
H A DDumpRenderTreeWx.cpp306 int optind = 1; local
308 wxString option_str = wxString(argv[optind]);
309 if (argc == optind+1 && option_str.Find(_T("-")) == 0) {
324 printSeparators = (optind < argc-1 || (dumpPixels && dumpTree));
325 for (int i = optind; i != argc; ++i) {
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Dcommon.c200 int optind = 1; variable
210 if (optind >= argc) {
215 if (argv[optind][0] != '-' || argv[optind][1] == '\0') {
221 if (os_strcmp(argv[optind], "--") == 0) {
223 optind++;
227 optopt = argv[optind][optchr];
230 if (argv[optind][++optchr] == '\0') {
232 optind++;
240 if (argv[optind][optch
[all...]
/external/icu4c/samples/cal/
H A Dcal.c113 int optind = 1; local
120 for(optind = 1; optind < argc; ++optind) {
121 arg = argv[optind];
138 ++optind;
153 if(optind != argc) {
156 if(argc - optind == 2) {
157 sscanf(argv[optind], "%d", (int*)&month);
158 sscanf(argv[optind
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.c248 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][optch
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dcommon.c248 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][optch
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.c248 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][optch
[all...]
/external/openssh/
H A Ddefines.h558 # undef optind macro
564 # define optind BSDoptind macro
/external/netperf/
H A Dnetlib.c272 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;
/external/qemu/
H A Dvl-android.c2544 int optind; local
2641 optind = 1;
2643 if (optind >= argc)
2645 r = argv[optind];
2647 hda_opts = drive_add(argv[optind++], HD_ALIAS, 0);
2651 optind++;
2666 if (optind >= argc) {
2670 optarg = argv[optind++];
H A Dvl.c2078 int optind; local
2153 optind = 1;
2155 if (optind >= argc)
2157 r = argv[optind];
2159 hda_index = drive_add(argv[optind++], HD_ALIAS, 0);
2163 optind++;
2179 if (optind >= argc) {
2184 optarg = argv[optind++];
/external/mksh/src/
H A Dsh.h809 #undef optind macro
813 int optind; member in struct:__anon10117
817 unsigned int p; /* 0 or index into argv[optind - 1] */
/external/valgrind/main/perf/
H A Dtinycc.c21439 int optind;
21444 optind = 0;
21446 if (optind >= argc) {
21452 r = argv[optind++];
21457 optind--;
21484 if (optind >= argc)
21486 optarg = argv[optind++];
21636 return optind;
21644 int nb_objfiles, ret, optind;
21677 optind
21437 int optind; local
21642 int nb_objfiles, ret, optind; local
[all...]

Completed in 7272 milliseconds