Lines Matching refs:optind
29 int optind = 1; variable
42 if (optind >= argc || in stgetopt()
43 argv[optind][0] != '-' || argv[optind][1] == '\0') in stgetopt()
45 else if (strcmp(argv[optind], "--") == 0) in stgetopt()
47 optind++; in stgetopt()
50 else if (strcmp(argv[optind], "-isysroot") == 0) in stgetopt()
53 optind++; optind++; in stgetopt()
56 optopt = c = argv[optind][sp]; in stgetopt()
60 if (argv[optind][++sp] == '\0') in stgetopt()
62 optind++; in stgetopt()
69 if (argv[optind][sp + 1] != '\0') in stgetopt()
70 optarg = &argv[optind++][sp + 1]; in stgetopt()
72 if (++optind >= argc) in stgetopt()
79 optarg = argv[optind++]; in stgetopt()
84 if (argv[optind][++sp] == '\0') in stgetopt()
87 optind++; in stgetopt()