HomeSort by: relevance | last modified time | path
    Searched defs:optind (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/external/bsd/openldap/dist/include/
getopt-compat.h 31 #define optind lutil_optind macro
37 LDAP_LUTIL_V (int) optind, opterr, optopt;
  /src/external/bsd/nsd/dist/simdzone/compat/
getopt.c 28 int optind = 1; variable
43 if (optind >= argc ||
44 argv[optind][0] != '-' || argv[optind][1] == '\0')
46 else if (strcmp(argv[optind], "--") == 0) {
47 optind++;
51 optopt = c = argv[optind][sp];
54 if (argv[optind][++sp] == '\0') {
55 optind++;
61 if (argv[optind][sp + 1] != '\0'
    [all...]
  /src/external/bsd/libevent/dist/WIN32-Code/
getopt.c 51 optind = 1, /* index into parent argv vector */ variable
99 if (optind >= nargc || *(place = nargv[optind]) != '-') {
105 ++optind;
119 ++optind;
128 ++optind;
133 else if (nargc <= ++optind) { /* no arg */
144 optarg = nargv[optind];
146 ++optind;
  /src/external/bsd/libpcap/dist/missing/
getopt.c 45 optind = 1, /* index into parent argv vector */ variable
74 if (optind >= nargc || *(place = nargv[optind]) != '-') {
79 ++optind;
87 ++optind;
102 ++optind;
111 ++optind;
116 else if (nargc <= ++optind) { /* no arg */
127 optarg = nargv[optind];
129 ++optind;
    [all...]
  /src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/
getopt.c 52 optind = 1, /* index into parent argv vector */ variable
100 if (optind >= nargc || *(place = nargv[optind]) != '-') {
106 ++optind;
120 ++optind;
129 ++optind;
134 else if (nargc <= ++optind) { /* no arg */
145 optarg = nargv[optind];
147 ++optind;
  /src/external/bsd/top/dist/
getopt.c 73 int optind = 1; variable
86 if(optind >= argc ||
87 argv[optind][0] != '-' || argv[optind][1] == '\0')
89 else if(strcmp(argv[optind], "--") == 0) {
90 optind++;
93 optopt = c = argv[optind][sp];
96 if(argv[optind][++sp] == '\0') {
97 optind++;
103 if(argv[optind][sp+1] != '\0'
    [all...]
  /src/external/bsd/openldap/dist/libraries/liblutil/
getopt.c 48 int optind = 1; variable
95 if (optind >= argc || argv[optind][0] != sw
96 || argv[optind][1] == eos)
98 else if (strcmp(argv[optind],"--") == 0)
100 optind++;
104 c = argv[optind][sp];
109 if (argv[optind][++sp] == eos)
111 optind++;
118 if (argv[optind][sp + 1] != eos
    [all...]
  /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
getopt_int.h 39 int optind;
84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
111 /* The initializer is necessary to set OPTIND and OPTERR to their
38 int optind; member in struct:_getopt_data
getopt_.h 52 # undef optind macro
62 # define optind __GETOPT_ID (optind) macro
133 Otherwise, `optind' communicates from one call to the next
136 extern DLL_VARIABLE int optind;
getopt.c 87 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 == 0 || !d->__initialized
90 int optind = 1; variable
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
getopt_int.h 39 int optind;
84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
111 /* The initializer is necessary to set OPTIND and OPTERR to their
38 int optind; member in struct:_getopt_data
getopt_.h 52 # undef optind macro
62 # define optind __GETOPT_ID (optind) macro
133 Otherwise, `optind' communicates from one call to the next
136 extern DLL_VARIABLE int optind;
getopt.c 87 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 == 0 || !d->__initialized
90 int optind = 1; variable
    [all...]
  /src/external/gpl2/groff/dist/src/include/
getopt_int.h 41 int optind;
86 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
113 /* The initializer is necessary to set OPTIND and OPTERR to their
40 int optind; member in struct:_getopt_data
getopt.h 48 # undef optind macro
58 # define optind __GETOPT_ID (optind) macro
129 Otherwise, `optind' communicates from one call to the next
132 extern int optind;
  /src/external/gpl2/texinfo/dist/lib/
getopt_int.h 41 int optind;
86 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
112 /* The initializer is necessary to set OPTIND and OPTERR to their
40 int optind; member in struct:_getopt_data
getopt.c 102 Otherwise, `optind' communicates from one call to the next
106 int optind = 1;
170 The other is elements [last_nonopt,optind), which contains all
181 int top = d->optind;
251 d->__first_nonopt += (d->optind - d->__last_nonopt);
252 d->__last_nonopt = d->optind;
265 d->__first_nonopt = d->__last_nonopt = d->optind;
332 updating `optind' and `nextchar' so that the next call to `getopt' can
336 Then `optind' is the index in ARGV of the first ARGV-element
392 if (d->optind == 0 || !d->__initialized
105 int optind = 1; variable
    [all...]
  /src/external/gpl2/xcvs/dist/lib/
getopt_int.h 39 int optind;
84 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
111 /* The initializer is necessary to set OPTIND and OPTERR to their
38 int optind; member in struct:_getopt_data
getopt_.h 46 # undef optind macro
56 # define optind __GETOPT_ID (optind) macro
127 Otherwise, `optind' communicates from one call to the next
130 extern int optind;
  /src/external/bsd/pdisk/dist/
cvt_pt.c 70 extern int optind; /* next argv index */
78 int optind = 1; local
118 if (optind >= argc) {
121 for (i = optind ; i < argc; i++) {
  /src/external/gpl2/mkhybrid/dist/
getopt.c 113 Otherwise, `optind' communicates from one call to the next
117 int optind = 0;
166 `--' can cause `getopt' to return EOF with `optind' != ARGC. */
229 The other is elements [last_nonopt,optind), which contains all
240 int top = optind;
286 first_nonopt += (optind - last_nonopt);
287 last_nonopt = optind;
299 first_nonopt = last_nonopt = optind = 1;
334 updating `optind' and `nextchar' so that the next call to `getopt' can
338 Then `optind' is the index in ARGV of the first ARGV-elemen
116 int optind = 0; variable
    [all...]
  /src/lib/libc/stdlib/
getopt_long.c 61 int optind = 1; /* index into parent argv vector */ variable
180 * XXX re-initialize optind to 0 and have getopt_long(3)
183 if (optind == 0)
184 optind = 1;
191 if (optind >= nargc) { /* end of argument vector */
196 optind, nargv);
197 optind -= nonopt_end - nonopt_start;
201 * If we skipped non-options, set optind
204 optind = nonopt_start;
209 if ((*(place = nargv[optind]) != '-'
    [all...]
  /src/external/bsd/file/dist/src/
getopt_long.c 70 int optind = 1; /* index into parent argv vector */ variable
198 * XXX re-initialize optind to 0 and have getopt_long(3)
201 if (optind == 0)
202 optind = 1;
209 if (optind >= nargc) { /* end of argument vector */
214 optind, nargv);
215 optind -= nonopt_end - nonopt_start;
219 * If we skipped non-options, set optind
222 optind = nonopt_start;
227 if ((*(place = nargv[optind]) != '-'
    [all...]
  /src/external/bsd/libfido2/dist/openbsd-compat/
getopt_long.c 67 int optind = 1; /* index into parent argv vector */ variable
177 optind++;
239 optarg = nargv[optind++];
258 --optind;
263 --optind;
296 * XXX Some GNU programs (like cvs) set optind to 0 instead of
299 if (optind == 0)
300 optind = optreset = 1;
321 if (optind >= nargc) { /* end of argument vector */
326 optind, nargv)
    [all...]
  /src/external/bsd/tcpdump/dist/missing/
getopt_long.c 85 int optind, opterr = 1, optopt; variable
240 optind++;
322 optarg = nargv[optind++];
345 --optind;
350 --optind;
406 * XXX Some GNU programs (like cvs) set optind to 0 instead of
409 if (optind == 0)
410 optind = 1;
415 if (optind >= nargc) { /* end of argument vector */
420 optind, nargv)
    [all...]

Completed in 51 milliseconds

1 2