Home
last modified time | relevance | path

Searched refs:nonopt_end (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/file/src/
H A Dgetopt_long.c100 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
199 nonopt_start = nonopt_end = -1;
205 if (nonopt_end != -1) {
207 permute_args(nonopt_start, nonopt_end,
209 optind -= nonopt_end - nonopt_start;
218 nonopt_start = nonopt_end = -1;
242 else if (nonopt_end != -1) {
243 permute_args(nonopt_start, nonopt_end,
246 (nonopt_end - nonopt_start);
247 nonopt_end = -1;
[all …]
/freebsd/contrib/libfido2/openbsd-compat/
H A Dgetopt_long.c96 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
317 nonopt_start = nonopt_end = -1; in getopt_internal()
323 if (nonopt_end != -1) { in getopt_internal()
325 permute_args(nonopt_start, nonopt_end, in getopt_internal()
327 optind -= nonopt_end - nonopt_start; in getopt_internal()
336 nonopt_start = nonopt_end = -1; in getopt_internal()
360 else if (nonopt_end != -1) { in getopt_internal()
361 permute_args(nonopt_start, nonopt_end, in getopt_internal()
364 (nonopt_end - nonopt_start); in getopt_internal()
365 nonopt_end = -1; in getopt_internal()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DGetOptInc.cpp51 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
255 nonopt_start = nonopt_end = -1; in getopt_internal()
261 if (nonopt_end != -1) { in getopt_internal()
263 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
264 optind -= nonopt_end - nonopt_start; in getopt_internal()
272 nonopt_start = nonopt_end = -1; in getopt_internal()
296 else if (nonopt_end != -1) { in getopt_internal()
297 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal()
298 nonopt_start = optind - (nonopt_end - nonopt_start); in getopt_internal()
299 nonopt_end = -1; in getopt_internal()
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dgetopt_long.c119 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
340 nonopt_start = nonopt_end = -1; in getopt_internal()
346 if (nonopt_end != -1) { in getopt_internal()
348 permute_args(nonopt_start, nonopt_end, in getopt_internal()
350 optind -= nonopt_end - nonopt_start; in getopt_internal()
359 nonopt_start = nonopt_end = -1; in getopt_internal()
383 else if (nonopt_end != -1) { in getopt_internal()
384 permute_args(nonopt_start, nonopt_end, in getopt_internal()
387 (nonopt_end - nonopt_start); in getopt_internal()
388 nonopt_end = -1; in getopt_internal()
[all …]
/freebsd/lib/libc/stdlib/
H A Dgetopt_long.c103 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
381 nonopt_start = nonopt_end = -1;
387 if (nonopt_end != -1) {
389 permute_args(nonopt_start, nonopt_end,
391 optind -= nonopt_end - nonopt_start;
400 nonopt_start = nonopt_end = -1;
428 else if (nonopt_end != -1) {
429 permute_args(nonopt_start, nonopt_end,
432 (nonopt_end - nonopt_start);
433 nonopt_end = -1;
[all …]
/freebsd/contrib/tcpdump/missing/
H A Dgetopt_long.c97 static int nonopt_end = -1; /* first option after non options (for permute) */ variable
417 if (nonopt_end != -1) {
419 permute_args(nonopt_start, nonopt_end,
421 optind -= nonopt_end - nonopt_start;
429 nonopt_start = nonopt_end = -1;
457 else if (nonopt_end != -1) {
458 permute_args(nonopt_start, nonopt_end,
461 (nonopt_end - nonopt_start);
462 nonopt_end = -1;
468 if (nonopt_start != -1 && nonopt_end == -1)
[all …]