Searched refs:optind (Results 1 - 25 of 461) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gdbm-1.8.3/
H A Dgetopt.c115 Otherwise, `optind' communicates from one call to the next
119 int optind = 0;
168 `--' can cause `getopt' to return EOF with `optind' != ARGC. */
230 The other is elements [last_nonopt,optind), which contains all
247 (optind - last_nonopt) * sizeof (char *));
249 (char *) &argv[first_nonopt + optind - last_nonopt],
254 first_nonopt += (optind - last_nonopt);
255 last_nonopt = optind;
269 updating `optind' and `nextchar' so that the next call to `getopt' can
273 Then `optind' i
118 int optind = 0; variable
[all...]
H A Dconv2gdbm.c96 if (argc <= optind)
102 dbm_file = argv[optind];
103 gdbm_file = argv[optind];
104 optind += 1;
108 if (argc > optind)
110 gdbm_file = argv[optind];
111 optind += 1;
115 if (argc > optind) usage (argv[0]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/loginutils/
H A Dcryptpw.c15 if (!getopt32(argv, "a:", NULL) || argv[optind - 1][0] != 'd') {
25 puts(pw_encrypt(argv[optind] ? argv[optind] : xmalloc_getline(stdin), salt));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/clib/
H A Dgetopt.c44 optind = 1, /* index into parent argv vector */ variable
81 opterr = optind = 1;
96 if (optind >= nargc || *(place = nargv[optind]) != '-') {
101 ++optind;
115 ++optind;
124 ++optind;
129 else if (nargc <= ++optind) { /* no arg */
140 optarg = nargv[optind];
142 ++optind;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/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...]
H A Dgetopt1.c114 int this_option_optind = optind ? optind : 1;
181 if (optind < argc)
184 while (optind < argc)
185 printf ("%s ", argv[optind++]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/console-tools/
H A Dsetconsole.c32 if (argc - optind > 1)
35 if (argc - optind == 1) {
38 device = argv[optind];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/debianutils/
H A Dmktemp.c20 if (optind + 1 != argc)
23 chp = argv[optind];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_set.c67 check_inverse(optarg, &invert, &optind, 0);
71 if (!argv[optind]
72 || argv[optind][0] == '-'
73 || argv[optind][0] == '!')
77 if (strlen(argv[optind-1]) > IP_SET_MAXNAMELEN - 1)
80 argv[optind-1], IP_SET_MAXNAMELEN - 1);
82 get_set_byname(argv[optind - 1], info);
83 parse_bindings(argv[optind], info);
85 optind++;
H A Dlibipt_SET.c67 if (!argv[optind]
68 || argv[optind][0] == '-' || argv[optind][0] == '!')
72 if (strlen(argv[optind-1]) > IP_SET_MAXNAMELEN - 1)
75 argv[optind-1], IP_SET_MAXNAMELEN - 1);
77 get_set_byname(argv[optind - 1], info);
78 parse_bindings(argv[optind], info);
79 optind++;
H A Dlibip6t_multiport.c166 check_inverse(argv[optind-1], &invert, &optind, 0);
168 multiinfo->count = parse_multi_ports(argv[optind-1],
174 check_inverse(argv[optind-1], &invert, &optind, 0);
176 multiinfo->count = parse_multi_ports(argv[optind-1],
182 check_inverse(argv[optind-1], &invert, &optind, 0);
184 multiinfo->count = parse_multi_ports(argv[optind-1],
216 check_inverse(argv[optind
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dgetopt1.c94 int this_option_optind = optind ? optind : 1;
161 if (optind < argc)
164 while (optind < argc)
165 printf ("%s ", argv[optind++]);
H A Dgetopt.c86 Otherwise, `optind' communicates from one call to the next
90 int optind = 1;
147 The other is elements [last_nonopt,optind), which contains all
158 int top = d->optind;
228 d->__first_nonopt += (d->optind - d->__last_nonopt);
229 d->__last_nonopt = d->optind;
242 d->__first_nonopt = d->__last_nonopt = d->optind;
309 updating `optind' and `nextchar' so that the next call to `getopt' can
313 Then `optind' is the index in ARGV of the first ARGV-element
368 if (d->optind
89 int optind = 1; variable
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dgetopt1.c94 int this_option_optind = optind ? optind : 1;
161 if (optind < argc)
164 while (optind < argc)
165 printf ("%s ", argv[optind++]);
H A Dgetopt.c86 Otherwise, `optind' communicates from one call to the next
90 int optind = 1;
147 The other is elements [last_nonopt,optind), which contains all
158 int top = d->optind;
228 d->__first_nonopt += (d->optind - d->__last_nonopt);
229 d->__last_nonopt = d->optind;
242 d->__first_nonopt = d->__last_nonopt = d->optind;
309 updating `optind' and `nextchar' so that the next call to `getopt' can
313 Then `optind' is the index in ARGV of the first ARGV-element
368 if (d->optind
89 int optind = 1; variable
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/
H A Ddpkg_deb.c53 if (optind + 1 == argc) {
76 if ((optind + argcount) != argc) {
80 tar_archive->src_fd = ar_archive->src_fd = xopen(argv[optind++], O_RDONLY);
84 if (argv[optind]) {
85 extract_dir = argv[optind];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dsum.c88 if (argc == optind) {
95 type += argc - 1 > optind || type == SUM_SYSV;
96 for (n = 1; optind < argc; optind++)
97 n &= sum_file(argv[optind], type);
H A Dmkfifo.c24 argv += optind;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/bridge-1.x/brctl/
H A Dbrctl.c60 if (argc == optind)
69 argc -= optind;
70 argv += optind;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/
H A Dsmbw_sample.c33 extern int optind;
71 argc -= optind;
72 argv += optind;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibxt_rateest.c156 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!')
159 if (rateest_get_rate(&info->bps1, argv[optind]) < 0)
162 argv[optind]);
163 optind++;
179 if (!argv[optind] || *argv[optind] == '-' || *argv[optind] == '!')
182 if (!xtables_strtoui(argv[optind], NUL
[all...]
H A Dlibxt_set.c70 if (!argv[optind]
71 || argv[optind][0] == '-'
72 || argv[optind][0] == '!')
82 parse_dirs_v0(argv[optind], info);
84 optind++;
150 if (!argv[optind]
151 || argv[optind][0] == '-'
152 || argv[optind][0] == '!')
162 parse_dirs(argv[optind], info);
164 optind
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/nbp/
H A Dnbpunrgstr.c67 extern int optind;
91 if (ac - optind != 1) {
97 av[optind], -1, &convname))
98 convname = av[optind];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/nbp/
H A Dnbpunrgstr.c67 extern int optind;
91 if (ac - optind != 1) {
97 av[optind], -1, &convname))
98 convname = av[optind];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dmattrib.c206 for(;optind < argc;optind++) {
207 switch(argv[optind][0]) {
209 for(ptr = argv[optind] + 1; *ptr; ptr++)
213 for(ptr = argv[optind] + 1; *ptr; ptr++)
223 if (optind >= argc)
230 arg.doPrintName = (argc - optind > 1 ||
232 strpbrk(argv[optind], "*[?") != 0);
250 exit(main_loop(&arg.mp, argv + optind, argc - optind));
[all...]

Completed in 229 milliseconds

1234567891011>>