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 65 main/getopt.c if (*optind >= argc) { optind 69 main/getopt.c if ((argv[*optind][0] != '-')) { optind 72 main/getopt.c if (!argv[*optind][1]) optind 82 main/getopt.c if ((argv[*optind][0] == '-') && (argv[*optind][1] == '-')) { optind 84 main/getopt.c int arg_end = strlen(argv[*optind])-1; optind 87 main/getopt.c if (argv[*optind][2] == '\0') { optind 88 main/getopt.c (*optind)++; optind 95 main/getopt.c if ((pos = php_memnstr(&argv[*optind][arg_start], "=", 1, argv[*optind]+arg_end)) != NULL) { optind 96 main/getopt.c arg_end = pos-&argv[*optind][arg_start]; optind 105 main/getopt.c (*optind)++; optind 106 main/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 107 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 121 main/getopt.c if (argv[*optind][optchr] == ':') { optind 123 main/getopt.c (*optind)++; optind 124 main/getopt.c return (php_opt_error(argc, argv, *optind-1, optchr, OPTERRCOLON, show_err)); optind 132 main/getopt.c int errind = *optind; optind 135 main/getopt.c if (!argv[*optind][optchr+1]) { optind 137 main/getopt.c (*optind)++; optind 143 main/getopt.c } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { optind 152 main/getopt.c if (!argv[*optind][arg_start]) { optind 153 main/getopt.c (*optind)++; optind 154 main/getopt.c if (*optind == argc) { optind 157 main/getopt.c return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); optind 161 main/getopt.c *optarg = argv[(*optind)++]; optind 163 main/getopt.c } else if (argv[*optind][arg_start] == '=') { optind 165 main/getopt.c *optarg = &argv[*optind][arg_start]; optind 166 main/getopt.c (*optind)++; optind 168 main/getopt.c *optarg = &argv[*optind][arg_start]; optind 169 main/getopt.c (*optind)++; optind 174 main/getopt.c if (arg_start >= 2 && !((argv[*optind][0] == '-') && (argv[*optind][1] == '-'))) { optind 175 main/getopt.c if (!argv[*optind][optchr+1]) optind 178 main/getopt.c (*optind)++; optind 183 main/getopt.c (*optind)++;