Home
last modified time | relevance | path

Searched refs:opt_name (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/main/
H A Dgetopt.c112 …ts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg_end) && arg_… in php_getopt()
119 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
H A Dphp_getopt.h27 char * opt_name; member
/PHP-8.0/ext/tidy/
H A Dtidy.c795 zend_string *opt_name; in _php_tidy_apply_config_array() local
797 ZEND_HASH_FOREACH_STR_KEY_VAL(ht_options, opt_name, opt_val) { in _php_tidy_apply_config_array()
798 if (opt_name == NULL) { in _php_tidy_apply_config_array()
801 _php_tidy_set_tidy_opt(doc, ZSTR_VAL(opt_name), opt_val); in _php_tidy_apply_config_array()
1201 char *opt_name; in PHP_FUNCTION() local
1214 opt_name = (char *)tidyOptGetName(opt); in PHP_FUNCTION()
1218 add_assoc_str(return_value, opt_name, (zend_string*)opt_value); in PHP_FUNCTION()
1222 add_assoc_long(return_value, opt_name, (zend_long)opt_value); in PHP_FUNCTION()
1226 add_assoc_bool(return_value, opt_name, opt_value ? 1 : 0); in PHP_FUNCTION()
/PHP-8.0/ext/standard/
H A Dbasic_functions.c978 if (p->opt_name != NULL) {
979 efree((char *)(p->opt_name));
1012 paras->opt_name = NULL;
1112 opts->opt_name = estrdup(ZSTR_VAL(arg_str));
1113 len = strlen(opts->opt_name);
1114 if ((len > 0) && (opts->opt_name[len - 1] == ':')) {
1116 opts->opt_name[len - 1] = '\0';
1117 if ((len > 1) && (opts->opt_name[len - 2] == ':')) {
1119 opts->opt_name[len - 2] = '\0';
1136 opts->opt_name = NULL;
[all …]
H A Dproc_open.c548 static int get_option(zval *other_options, char *opt_name) in get_option() argument
551 zval *item = zend_hash_str_find_deref(opt_ary, opt_name, strlen(opt_name)); in get_option()

Completed in 26 milliseconds