Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 18 of 18) sorted by relevance

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.h56 size_t name_length; member
62 size_t name_length; member
66 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length);
68 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length);
84 int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry **ce);
H A Dphpdbg_utils.c235 if (name_length == color->name_length && in phpdbg_get_color()
236 memcmp(name, color->name, name_length) == SUCCESS) { in phpdbg_get_color()
237 phpdbg_debug("phpdbg_get_color(%s, %lu): %s", name, name_length, color->code); in phpdbg_get_color()
243 phpdbg_debug("phpdbg_get_color(%s, %lu): failed", name, name_length); in phpdbg_get_color()
255 const phpdbg_color_t *color = phpdbg_get_color(name, name_length); in phpdbg_set_color_ex()
271 if (len == element->name_length) { in phpdbg_get_element()
389 if (name == NULL || !name_length) { in phpdbg_safe_class_lookup()
393 lc_free = lc_name = emalloc(name_length + 1); in phpdbg_safe_class_lookup()
394 zend_str_tolower_copy(lc_name, name, name_length); in phpdbg_safe_class_lookup()
395 lc_length = name_length + 1; in phpdbg_safe_class_lookup()
[all …]
/PHP-7.4/ext/snmp/
H A Dsnmp.c87 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
692 rootlen = objid_query->vars[0].name_length; in php_snmp_internal()
776 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
808 ….name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, objid_query->… in php_snmp_internal()
825 while(count < vars->name_length){ in php_snmp_internal()
850 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
878 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
1043 objid_query->vars[0].name_length = MAX_NAME_LEN; in php_snmp_parse_oid()
1056 objid_query->vars[objid_query->offset].name_length = MAX_OID_LEN; in php_snmp_parse_oid()
1902 p.name_length = name_length; in php_snmp_add_property()
[all …]
H A Dphp_snmp.h110 size_t name_length; member
120 size_t name_length; member
/PHP-7.4/Zend/
H A Dzend_ini.c230 p->name = zend_string_init_interned(ini_entry->name, ini_entry->name_length, 1); in zend_register_ini_entries()
393 ZEND_API int zend_ini_register_displayer(char *name, uint32_t name_length, void (*displayer)(zend_i… in zend_ini_register_displayer() argument
397 ini_entry = zend_hash_str_find_ptr(registered_zend_ini_directives, name, name_length); in zend_ini_register_displayer()
411 ZEND_API zend_long zend_ini_long(char *name, size_t name_length, int orig) /* {{{ */ in zend_ini_long() argument
415 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length); in zend_ini_long()
428 ZEND_API double zend_ini_double(char *name, size_t name_length, int orig) /* {{{ */ in zend_ini_double() argument
432 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length); in zend_ini_double()
445 ZEND_API char *zend_ini_string_ex(char *name, size_t name_length, int orig, zend_bool *exists) /* {… in zend_ini_string_ex() argument
449 ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length); in zend_ini_string_ex()
469 ZEND_API char *zend_ini_string(char *name, size_t name_length, int orig) /* {{{ */ in zend_ini_string() argument
[all …]
H A Dzend_ini.h41 uint16_t name_length; member
84 ZEND_API zend_long zend_ini_long(char *name, size_t name_length, int orig);
85 ZEND_API double zend_ini_double(char *name, size_t name_length, int orig);
86 ZEND_API char *zend_ini_string(char *name, size_t name_length, int orig);
87 ZEND_API char *zend_ini_string_ex(char *name, size_t name_length, int orig, zend_bool *exists);
91 ZEND_API int zend_ini_register_displayer(char *name, uint32_t name_length, void (*displayer)(zend_i…
H A Dzend_API.c4052 key = zend_string_init_interned(name, name_length, 1); in zend_declare_class_constant()
4054 key = zend_string_init(name, name_length, 0); in zend_declare_class_constant()
4134 ZVAL_STRINGL(&property, name, name_length); in zend_update_property()
4147 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_null()
4158 ZVAL_STRINGL(&property, name, name_length); in zend_unset_property()
4171 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_bool()
4180 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_long()
4189 zend_update_property(scope, object, name, name_length, &tmp); in zend_update_property_double()
4260 zend_string *key = zend_string_init(name, name_length, 0); in zend_update_static_property()
4343 str = zend_string_init(name, name_length, 0); in zend_read_property()
[all …]
H A Dzend_API.h319 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length,…
327 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length
328 …I int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length);
329 …are_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long valu…
330 …are_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool valu…
331 …re_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value);
339 …_update_property_null(zend_class_entry *scope, zval *object, const char *name, size_t name_length);
346 …d zend_unset_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length);
349 …update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value);
350 …nt zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length);
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_php.c24 static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_valu… in fpm_php_zend_ini_alter_master() argument
29 if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length)) == NULL) { in fpm_php_zend_ini_alter_master()
/PHP-7.4/main/
H A Dphp_ini.h30 PHPAPI zval *cfg_get_entry(const char *name, size_t name_length);
H A Dphp_ini.c908 PHPAPI zval *cfg_get_entry(const char *name, size_t name_length) argument
910 return zend_hash_str_find(&configuration_hash, name, name_length);
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_result_meta.c161 new_fields[i].name_length = ZSTR_LEN(new_fields[i].sname); in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c1296 if (EXPECTED(meta->name_length != 0)) { in php_mysqlnd_rset_field_read()
1297 meta->sname = zend_string_init_interned(meta->name, meta->name_length, 0); in php_mysqlnd_rset_field_read()
H A Dmysqlnd_structs.h95 unsigned int name_length; member
/PHP-7.4/ext/standard/
H A Dinfo.c169 static ZEND_COLD void php_print_gpcse_array(char *name, uint32_t name_length) in php_print_gpcse_array() argument
176 key = zend_string_init(name, name_length, 0); in php_print_gpcse_array()
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_statement.c708 cols[i].name = zend_string_init(S->fields[i].name, S->fields[i].name_length, 0); in pdo_mysql_stmt_describe()
/PHP-7.4/ext/soap/
H A Dsoap.c794 size_t name_length; in PHP_METHOD() local
797 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "zs", &data, &name, &name_length) == FAILURE) { in PHP_METHOD()
800 if (name_length == 0) { in PHP_METHOD()
806 add_property_stringl(this_ptr, "param_name", name, name_length); in PHP_METHOD()
/PHP-7.4/ext/mysqli/
H A Dmysqli_api.c1158 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);

Completed in 117 milliseconds