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

1 2 3 4 5 6 7 8 91011>>

  /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...]
getopt.h 13 extern int 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/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/external/bsd/libpcap/dist/missing/
getopt.h 5 extern int optind, opterr, optreset, optopt;
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/usr.bin/getopt/
getopt.c 23 optind = 2; /* Past the program name and the option letters. */
37 for (; optind < argc; optind++)
38 printf(" %s", argv[optind]);
  /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/diffutils/dist/lib/
getopt.c 126 Otherwise, `optind' communicates from one call to the next
130 int optind = 1;
132 /* Formerly, initialization of getopt depended on optind==0, which
185 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
305 The other is elements [last_nonopt,optind), which contains all
321 int top = optind;
391 first_nonopt += (optind - last_nonopt);
392 last_nonopt = optind;
410 first_nonopt = last_nonopt = optind;
477 updating `optind' and `nextchar' so that the next call to `getopt' ca
129 int optind = 1; variable
    [all...]
  /src/external/gpl2/gmake/dist/
getopt.c 115 Otherwise, `optind' communicates from one call to the next
119 int optind = 1; variable
121 /* Formerly, initialization of getopt depended on optind==0, which
174 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
278 The other is elements [last_nonopt,optind), which contains all
293 int top = optind;
363 first_nonopt += (optind - last_nonopt);
364 last_nonopt = optind;
379 first_nonopt = last_nonopt = optind;
446 updating `optind' and `nextchar' so that the next call to `getopt' ca
    [all...]
  /src/external/gpl2/grep/dist/lib/
getopt.c 124 Otherwise, `optind' communicates from one call to the next
128 int optind = 1;
130 /* Formerly, initialization of getopt depended on optind==0, which
183 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
297 The other is elements [last_nonopt,optind), which contains all
313 int top = optind;
383 first_nonopt += (optind - last_nonopt);
384 last_nonopt = optind;
402 first_nonopt = last_nonopt = optind;
469 updating `optind' and `nextchar' so that the next call to `getopt' ca
127 int optind = 1; variable
    [all...]
  /src/external/gpl3/binutils/dist/libiberty/
getopt.c 121 Otherwise, `optind' communicates from one call to the next
125 int optind = 1;
127 /* Formerly, initialization of getopt depended on optind==0, which
180 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
302 The other is elements [last_nonopt,optind), which contains all
317 int top = optind;
387 first_nonopt += (optind - last_nonopt);
388 last_nonopt = optind;
405 first_nonopt = last_nonopt = optind;
472 updating `optind' and `nextchar' so that the next call to `getopt' ca
124 int optind = 1; variable
    [all...]
  /src/external/gpl3/binutils.old/dist/libiberty/
getopt.c 121 Otherwise, `optind' communicates from one call to the next
125 int optind = 1;
127 /* Formerly, initialization of getopt depended on optind==0, which
180 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
302 The other is elements [last_nonopt,optind), which contains all
317 int top = optind;
387 first_nonopt += (optind - last_nonopt);
388 last_nonopt = optind;
405 first_nonopt = last_nonopt = optind;
472 updating `optind' and `nextchar' so that the next call to `getopt' ca
124 int optind = 1; variable
    [all...]
  /src/external/gpl3/gcc/dist/libiberty/
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. */
308 The other is elements [last_nonopt,optind), which contains all
323 int top = optind;
393 first_nonopt += (optind - last_nonopt);
394 last_nonopt = optind;
411 first_nonopt = last_nonopt = optind;
478 updating `optind' and `nextchar' so that the next call to `getopt' ca
130 int optind = 1; variable
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
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. */
308 The other is elements [last_nonopt,optind), which contains all
323 int top = optind;
393 first_nonopt += (optind - last_nonopt);
394 last_nonopt = optind;
411 first_nonopt = last_nonopt = optind;
478 updating `optind' and `nextchar' so that the next call to `getopt' ca
130 int optind = 1; variable
    [all...]
  /src/external/gpl3/gdb.old/dist/libiberty/
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. */
308 The other is elements [last_nonopt,optind), which contains all
323 int top = optind;
393 first_nonopt += (optind - last_nonopt);
394 last_nonopt = optind;
411 first_nonopt = last_nonopt = optind;
478 updating `optind' and `nextchar' so that the next call to `getopt' ca
130 int optind = 1; variable
    [all...]
  /src/external/gpl3/gdb/dist/libiberty/
getopt.c 121 Otherwise, `optind' communicates from one call to the next
125 int optind = 1;
127 /* Formerly, initialization of getopt depended on optind==0, which
180 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
302 The other is elements [last_nonopt,optind), which contains all
317 int top = optind;
387 first_nonopt += (optind - last_nonopt);
388 last_nonopt = optind;
405 first_nonopt = last_nonopt = optind;
472 updating `optind' and `nextchar' so that the next call to `getopt' ca
124 int optind = 1; variable
    [all...]
  /src/usr.bin/netgroup/
netgroup.c 69 if (optind >= argc)
72 for(; optind < argc; optind++) {
73 setnetgrent(argv[optind]);
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
getopt.c 50 ROKEN_LIB_VARIABLE int optind = 1; /* index into parent argv vector */ variable
68 if (optind >= nargc || *(place = nargv[optind]) != '-') {
73 ++optind;
87 ++optind;
101 ++optind;
106 else if (nargc <= ++optind) { /* no arg */
121 optarg = nargv[optind];
123 ++optind;
  /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/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/openldap/dist/include/
getopt-compat.h 31 #define optind lutil_optind macro
37 LDAP_LUTIL_V (int) optind, opterr, optopt;
  /src/usr.bin/innetgr/
innetgr.c 76 if (optind >= argc)
79 for(; optind < argc; optind++) {
80 ok = innetgr(argv[optind], host, user, domain);
82 printf("%s: %d\n", argv[optind], ok);
  /src/common/lib/libc/stdlib/
getopt.c 63 optind = 1, /* index into parent argv vector */
87 place = nargv[optind];
88 if (optind >= nargc || *place++ != '-') {
96 ++optind;
114 ++optind;
125 ++optind;
137 else if (nargc > ++optind)
138 optarg = nargv[optind];
151 ++optind;
  /src/distrib/utils/more/
option.c 75 optind = 1; /* called twice, re-init getopt. */
85 p = argv[optind - 1];
89 sc_height = atoi(argv[optind] + 1);
127 return(optind);

Completed in 35 milliseconds

1 2 3 4 5 6 7 8 91011>>