Lines Matching refs:opts
55 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt… in php_getopt() argument
109 if (opts[php_optidx].opt_char == '-') { in php_getopt()
112 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt()
119 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
136 if (opts[php_optidx].opt_char == '-') { in php_getopt()
148 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt()
153 if (opts[php_optidx].need_param) { in php_getopt()
161 if (opts[php_optidx].need_param == 1) { in php_getopt()
165 } else if (opts[php_optidx].need_param == 1) { in php_getopt()
176 return opts[php_optidx].opt_char; in php_getopt()
190 return opts[php_optidx].opt_char; in php_getopt()