optind 40 ext/ereg/regex/main.c extern int optind; optind 73 ext/ereg/regex/main.c if (optind >= argc) { optind 78 ext/ereg/regex/main.c err = regcomp(&re, argv[optind++], copts); optind 87 ext/ereg/regex/main.c if (optind >= argc) { optind 94 ext/ereg/regex/main.c subs[0].rm_eo = strlen(argv[optind]) - endoff; optind 96 ext/ereg/regex/main.c err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); optind 108 ext/ereg/regex/main.c argv[optind] + subs[0].rm_so); optind 111 ext/ereg/regex/main.c argv[optind] + subs[0].rm_so); optind 117 ext/ereg/regex/main.c argv[optind] + subs[i].rm_so); optind 73 main/getopt.c if (*optind >= argc) { optind 77 main/getopt.c if ((argv[*optind][0] != '-')) { optind 80 main/getopt.c if (!argv[*optind][1]) optind 90 main/getopt.c if ((argv[*optind][0] == '-') && (argv[*optind][1] == '-')) { optind 92 main/getopt.c int arg_end = strlen(argv[*optind])-1; optind 95 main/getopt.c if (argv[*optind][2] == '\0') { optind 96 main/getopt.c (*optind)++; optind 103 main/getopt.c if ((pos = php_memnstr(&argv[*optind][arg_start], "=", 1, argv[*optind]+arg_end)) != NULL) { optind 104 main/getopt.c arg_end = pos-&argv[*optind][arg_start]; optind 113 main/getopt.c (*optind)++; optind 114 main/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 115 main/getopt.c } else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg_end) && arg_end == strlen(opts[php_optidx].opt_name)) { optind 129 main/getopt.c if (argv[*optind][optchr] == ':') { optind 131 main/getopt.c (*optind)++; optind 132 main/getopt.c return (php_opt_error(argc, argv, *optind-1, optchr, OPTERRCOLON, show_err)); optind 140 main/getopt.c int errind = *optind; optind 143 main/getopt.c if (!argv[*optind][optchr+1]) { optind 145 main/getopt.c (*optind)++; optind 151 main/getopt.c } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { optind 160 main/getopt.c if (!argv[*optind][arg_start]) { optind 161 main/getopt.c (*optind)++; optind 162 main/getopt.c if (*optind == argc) { optind 165 main/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 169 main/getopt.c *optarg = argv[(*optind)++]; optind 171 main/getopt.c } else if (argv[*optind][arg_start] == '=') { optind 173 main/getopt.c *optarg = &argv[*optind][arg_start]; optind 174 main/getopt.c (*optind)++; optind 176 main/getopt.c *optarg = &argv[*optind][arg_start]; optind 177 main/getopt.c (*optind)++; optind 182 main/getopt.c if (arg_start >= 2 && !((argv[*optind][0] == '-') && (argv[*optind][1] == '-'))) { optind 183 main/getopt.c if (!argv[*optind][optchr+1]) optind 186 main/getopt.c (*optind)++; optind 191 main/getopt.c (*optind)++;