Lines Matching refs:share__optind
143 int share__optind = 1; variable
320 int top = share__optind;
390 first_nonopt += (share__optind - last_nonopt);
391 last_nonopt = share__optind;
409 first_nonopt = last_nonopt = share__optind;
534 if (share__optind == 0 || !share____getopt_initialized)
536 if (share__optind == 0)
537 share__optind = 1; /* Don't scan ARGV[0], the program name. */
547 # define NONOPTION_P (argv[share__optind][0] != '-' || argv[share__optind][1] == '\0' \
548 || (share__optind < nonoption_flags_len \
549 && __getopt_nonoption_flags[share__optind] == '1'))
551 # define NONOPTION_P (argv[share__optind][0] != '-' || argv[share__optind][1] == '\0')
560 if (last_nonopt > share__optind)
561 last_nonopt = share__optind;
562 if (first_nonopt > share__optind)
563 first_nonopt = share__optind;
570 if (first_nonopt != last_nonopt && last_nonopt != share__optind)
572 else if (last_nonopt != share__optind)
573 first_nonopt = share__optind;
578 while (share__optind < argc && NONOPTION_P)
579 share__optind++;
580 last_nonopt = share__optind;
588 if (share__optind != argc && !strcmp (argv[share__optind], "--"))
590 share__optind++;
592 if (first_nonopt != last_nonopt && last_nonopt != share__optind)
595 first_nonopt = share__optind;
598 share__optind = argc;
604 if (share__optind == argc)
609 share__optind = first_nonopt;
620 share__optarg = argv[share__optind++];
627 nextchar = (argv[share__optind] + 1
628 + (longopts != NULL && argv[share__optind][1] == '-'));
647 && (argv[share__optind][1] == '-'
648 || (long_only && (argv[share__optind][2] || !my_index (optstring, argv[share__optind][1])))))
689 argv[0], argv[share__optind]);
691 share__optind++;
699 share__optind++;
710 if (argv[share__optind - 1][1] == '-')
719 argv[0], argv[share__optind - 1][0], pfound->name);
730 if (share__optind < argc)
731 share__optarg = argv[share__optind++];
737 argv[0], argv[share__optind - 1]);
758 if (!long_only || argv[share__optind][1] == '-'
763 if (argv[share__optind][1] == '-')
770 argv[0], argv[share__optind][0], nextchar);
773 share__optind++;
787 ++share__optind;
821 share__optind++;
823 else if (share__optind == argc)
841 share__optarg = argv[share__optind++];
876 argv[0], argv[share__optind]);
878 share__optind++;
903 if (share__optind < argc)
904 share__optarg = argv[share__optind++];
910 argv[0], argv[share__optind - 1]);
936 share__optind++;
950 share__optind++;
952 else if (share__optind == argc)
970 share__optarg = argv[share__optind++];
1007 int this_option_optind = share__optind ? share__optind : 1;
1051 if (share__optind < argc)
1054 while (share__optind < argc)
1055 printf ("%s ", argv[share__optind++]);