Lines Matching refs:arg_start
55 … *argv, const opt_struct opts[], char **optarg, int *optind, int show_err, int arg_start) /* {{{ */ in php_getopt() argument
97 arg_start = 2; in php_getopt()
100 if ((pos = php_memnstr(&argv[*optind][arg_start], "=", 1, argv[*optind]+arg_end)) != NULL) { in php_getopt()
101 arg_end = pos-&argv[*optind][arg_start]; in php_getopt()
102 arg_start++; in php_getopt()
119 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
131 arg_start = 1 + optchr; in php_getopt()
145 arg_start++; in php_getopt()
157 if (!argv[*optind][arg_start]) { in php_getopt()
168 } else if (argv[*optind][arg_start] == '=') { in php_getopt()
169 arg_start++; in php_getopt()
170 *optarg = &argv[*optind][arg_start]; in php_getopt()
173 *optarg = &argv[*optind][arg_start]; in php_getopt()
179 if (arg_start >= 2 && !((argv[*optind][0] == '-') && (argv[*optind][1] == '-'))) { in php_getopt()