Searched refs:optind (Results 1 – 7 of 7) sorted by relevance
74 int optind = 1; /* index into parent argv vector */ variable223 optind++; in parse_long_options()304 optarg = nargv[optind++]; in parse_long_options()326 --optind; in parse_long_options()331 --optind; in parse_long_options()371 if (optind == 0)372 optind = optreset = 1;393 if (optind >= nargc) { /* end of argument vector */398 optind, nargv);399 optind -= nonopt_end - nonopt_start;[all …]
599 if (argc - optind > 2 || optind > argc) { in main()606 if (!top && (optind == argc || add_include)) { in main()611 if (optind == argc) { in main()620 if (!android::base::Realpath(argv[optind], &location.header_path)) { in main()621 err(1, "failed to get realpath for path '%s'", argv[optind]); in main()624 if (argc - optind == 2) { in main()625 location.dependency_dir = argv[optind + 1]; in main()
53 extern int optind;
381 i = optind; in unistd_h()
619 optind
719 optind; # var