• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/share/getopt/

Lines Matching refs:share__optind

140    Otherwise, `share__optind' communicates from one call to the next
144 int share__optind = 1;
146 /* Formerly, initialization of getopt depended on share__optind==0, which
199 `--' can cause `share__getopt' to return -1 with `share__optind' != ARGC. */
309 The other is elements [last_nonopt,share__optind), which contains all
325 int top = share__optind;
395 first_nonopt += (share__optind - last_nonopt);
396 last_nonopt = share__optind;
414 first_nonopt = last_nonopt = share__optind;
483 updating `share__optind' and `nextchar' so that the next call to `share__getopt' can
487 Then `share__optind' is the index in ARGV of the first ARGV-element
540 if (share__optind == 0 || !share____getopt_initialized)
542 if (share__optind == 0)
543 share__optind = 1; /* Don't scan ARGV[0], the program name. */
548 /* Test whether ARGV[share__optind] points to a non-option argument.
553 # define NONOPTION_P (argv[share__optind][0] != '-' || argv[share__optind][1] == '\0' \
554 || (share__optind < nonoption_flags_len \
555 && __getopt_nonoption_flags[share__optind] == '1'))
557 # define NONOPTION_P (argv[share__optind][0] != '-' || argv[share__optind][1] == '\0')
566 if (last_nonopt > share__optind)
567 last_nonopt = share__optind;
568 if (first_nonopt > share__optind)
569 first_nonopt = share__optind;
576 if (first_nonopt != last_nonopt && last_nonopt != share__optind)
578 else if (last_nonopt != share__optind)
579 first_nonopt = share__optind;
584 while (share__optind < argc && NONOPTION_P)
585 share__optind++;
586 last_nonopt = share__optind;
594 if (share__optind != argc && !strcmp (argv[share__optind], "--"))
596 share__optind++;
598 if (first_nonopt != last_nonopt && last_nonopt != share__optind)
601 first_nonopt = share__optind;
604 share__optind = argc;
610 if (share__optind == argc)
615 share__optind = first_nonopt;
626 share__optarg = argv[share__optind++];
633 nextchar = (argv[share__optind] + 1
634 + (longopts != NULL && argv[share__optind][1] == '-'));
653 && (argv[share__optind][1] == '-'
654 || (long_only && (argv[share__optind][2] || !my_index (optstring, argv[share__optind][1])))))
696 argv[0], argv[share__optind]);
698 share__optind++;
706 share__optind++;
717 if (argv[share__optind - 1][1] == '-')
726 argv[0], argv[share__optind - 1][0], pfound->name);
737 if (share__optind < argc)
738 share__optarg = argv[share__optind++];
744 argv[0], argv[share__optind - 1]);
765 if (!long_only || argv[share__optind][1] == '-'
770 if (argv[share__optind][1] == '-')
777 argv[0], argv[share__optind][0], nextchar);
780 share__optind++;
792 /* Increment `share__optind' when we start to process its last character. */
794 ++share__optind;
828 share__optind++;
830 else if (share__optind == argc)
846 /* We already incremented `share__optind' once;
848 share__optarg = argv[share__optind++];
883 argv[0], argv[share__optind]);
885 share__optind++;
910 if (share__optind < argc)
911 share__optarg = argv[share__optind++];
917 argv[0], argv[share__optind - 1]);
943 share__optind++;
957 share__optind++;
959 else if (share__optind == argc)
975 /* We already incremented `share__optind' once;
977 share__optarg = argv[share__optind++];
1015 int this_option_optind = share__optind ? share__optind : 1;
1059 if (share__optind < argc)
1062 while (share__optind < argc)
1063 printf ("%s ", argv[share__optind++]);