Home
last modified time | relevance | path

Searched refs:prop_name (Results 1 – 20 of 20) sorted by relevance

/PHP-8.3/ext/standard/
H A Dhttp.c102 const char *prop_name; in php_url_encode_hash_ex() local
133 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex()
143 zend_unmangle_property_name_ex(key, &tmp, &prop_name, &prop_len); in php_url_encode_hash_ex()
145 prop_name = ZSTR_VAL(key); in php_url_encode_hash_ex()
149 prop_name = NULL; in php_url_encode_hash_ex()
159 encoded_key = php_raw_url_encode(prop_name, prop_len); in php_url_encode_hash_ex()
161 encoded_key = php_url_encode(prop_name, prop_len); in php_url_encode_hash_ex()
205 prop_name, prop_len, in php_url_encode_hash_ex()
H A Dvar.c55 const char *prop_name, *class_name; in php_object_property_dump() local
60 int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name); in php_object_property_dump()
65 php_printf("\"%s\":protected", prop_name); in php_object_property_dump()
67 php_printf("\"%s\":\"%s\":private", prop_name, class_name); in php_object_property_dump()
249 const char *prop_name, *class_name; in zval_object_property_dump() local
254 zend_unmangle_property_name(key, &class_name, &prop_name); in zval_object_property_dump()
259 php_printf("\"%s\":protected", prop_name); in zval_object_property_dump()
261 php_printf("\"%s\":\"%s\":private", prop_name, class_name); in zval_object_property_dump()
264 php_printf("\"%s\"", prop_name); in zval_object_property_dump()
465 const char *class_name, *prop_name; in php_object_element_export() local
[all …]
/PHP-8.3/ext/spl/
H A Dspl_functions.c81 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, size_t prop_len) /* … in spl_gen_private_prop_name() argument
83 return zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), prop_name, prop_len, 0); in spl_gen_private_prop_name()
H A Dspl_functions.h35 zend_string *spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, size_t prop_len);
/PHP-8.3/Zend/
H A Dzend_compile.h886 #define zend_unmangle_property_name(mangled_property, class_name, prop_name) \ argument
887 zend_unmangle_property_name_ex(mangled_property, class_name, prop_name, NULL)
888 …_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_le…
891 const char *class_name, *prop_name; in zend_get_unmangled_property_name() local
892 zend_unmangle_property_name(mangled_prop, &class_name, &prop_name); in zend_get_unmangled_property_name()
893 return prop_name; in zend_get_unmangled_property_name()
H A Dzend_object_handlers.c193 static void zend_std_call_getter(zend_object *zobj, zend_string *prop_name, zval *retval) /* {{{ */ in zend_std_call_getter() argument
196 ZVAL_STR(&member, prop_name); in zend_std_call_getter()
201 static void zend_std_call_setter(zend_object *zobj, zend_string *prop_name, zval *value) /* {{{ */ in zend_std_call_setter() argument
204 ZVAL_STR(&args[0], prop_name); in zend_std_call_setter()
210 static void zend_std_call_unsetter(zend_object *zobj, zend_string *prop_name) /* {{{ */ in zend_std_call_unsetter() argument
213 ZVAL_STR(&member, prop_name); in zend_std_call_unsetter()
218 static void zend_std_call_issetter(zend_object *zobj, zend_string *prop_name, zval *retval) /* {{{ … in zend_std_call_issetter() argument
221 ZVAL_STR(&member, prop_name); in zend_std_call_issetter()
496 const char *prop_name; in zend_check_property_access() local
505 zend_unmangle_property_name_ex(prop_info_name, &class_name, &prop_name, &prop_name_len); in zend_check_property_access()
[all …]
H A Dzend_inheritance.c2463 …ntry *ce, zend_class_entry **traits, size_t current_trait, zend_string *prop_name, zend_class_entr… in find_first_property_definition() argument
2470 && zend_hash_exists(&traits[i]->properties_info, prop_name)) { in find_first_property_definition()
2486 zend_string* prop_name; in zend_do_traits_property_binding() local
2499 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&traits[i]->properties_info, prop_name, property_info) { in zend_do_traits_property_binding()
2503 if ((colliding_prop = zend_hash_find_ptr(&ce->properties_info, prop_name)) != NULL) { in zend_do_traits_property_binding()
2505 zend_hash_del(&ce->properties_info, prop_name); in zend_do_traits_property_binding()
2532 … ZSTR_VAL(find_first_property_definition(ce, traits, i, prop_name, colliding_prop->ce)->name), in zend_do_traits_property_binding()
2534 ZSTR_VAL(prop_name), in zend_do_traits_property_binding()
2548 ZSTR_VAL(prop_name) in zend_do_traits_property_binding()
2566 new_prop = zend_declare_typed_property(ce, prop_name, prop_value, flags, doc_comment, type); in zend_do_traits_property_binding()
H A Dzend_builtin_functions.c805 const char *prop_name, *class_name; in ZEND_FUNCTION() local
807 zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_len); in ZEND_FUNCTION()
813 zend_hash_str_add_new(Z_ARRVAL_P(return_value), prop_name, prop_len, value); in ZEND_FUNCTION()
H A Dzend.c389 const char *prop_name, *class_name; in print_hash() local
391 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash()
393 smart_str_appendl(buf, prop_name, prop_len); in print_hash()
H A Dzend_compile.c1493 zend_string *prop_name = zend_string_alloc(prop_name_length, internal); in zend_mangle_property_name() local
1495 ZSTR_VAL(prop_name)[0] = '\0'; in zend_mangle_property_name() local
1496 memcpy(ZSTR_VAL(prop_name) + 1, src1, src1_length+1); in zend_mangle_property_name()
1497 memcpy(ZSTR_VAL(prop_name) + 1 + src1_length + 1, src2, src2_length+1); in zend_mangle_property_name()
1498 return prop_name; in zend_mangle_property_name()
1502 …_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_le… in zend_unmangle_property_name_ex() argument
1510 *prop_name = ZSTR_VAL(name); in zend_unmangle_property_name_ex()
1518 *prop_name = ZSTR_VAL(name); in zend_unmangle_property_name_ex()
1528 *prop_name = ZSTR_VAL(name); in zend_unmangle_property_name_ex()
1540 *prop_name = ZSTR_VAL(name) + class_name_len + 2; in zend_unmangle_property_name_ex()
H A Dzend_vm_def.h6923 const char *class_name, *prop_name; in ZEND_VM_HELPER() local
6926 p->key, &class_name, &prop_name, &prop_name_len); in ZEND_VM_HELPER()
6927 ZVAL_STRINGL(EX_VAR(opline->result.var), prop_name, prop_name_len); in ZEND_VM_HELPER()
7188 const char *class_name, *prop_name; variable
7191 p->key, &class_name, &prop_name, &prop_name_len);
7192 ZVAL_STRINGL(EX_VAR(opline->result.var), prop_name, prop_name_len);
H A Dzend_API.c1677 const char *class_name, *prop_name; in object_properties_load() local
1679 if (zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_name_len) == SUCCESS) { in object_properties_load()
1680 zend_string *pname = zend_string_init(prop_name, prop_name_len, 0); in object_properties_load()
H A Dzend_vm_execute.h2877 const char *class_name, *prop_name; in zend_fe_fetch_object_helper_SPEC() local
2880 p->key, &class_name, &prop_name, &prop_name_len); in zend_fe_fetch_object_helper_SPEC()
2881 ZVAL_STRINGL(EX_VAR(opline->result.var), prop_name, prop_name_len); in zend_fe_fetch_object_helper_SPEC()
22537 const char *class_name, *prop_name; in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER() local
22540 p->key, &class_name, &prop_name, &prop_name_len); in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER()
22541 ZVAL_STRINGL(EX_VAR(opline->result.var), prop_name, prop_name_len); in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER()
/PHP-8.3/ext/date/
H A Dphp_date.c590 const char *class_name, *prop_name; in update_property() local
2869 zend_string *prop_name; in restore_custom_datetime_properties() local
2873 …if (!prop_name || (Z_TYPE_P(prop_val) == IS_REFERENCE) || date_time_is_internal_property(prop_name in restore_custom_datetime_properties()
2876 update_property(Z_OBJ_P(object), prop_name, prop_val); in restore_custom_datetime_properties()
3982 zend_string *prop_name; in restore_custom_datetimezone_properties() local
3986 …if (!prop_name || (Z_TYPE_P(prop_val) == IS_REFERENCE) || date_timezone_is_internal_property(prop_… in restore_custom_datetimezone_properties()
3989 update_property(Z_OBJ_P(object), prop_name, prop_val); in restore_custom_datetimezone_properties()
4619 zend_string *prop_name; in restore_custom_dateinterval_properties() local
4623 …if (!prop_name || (Z_TYPE_P(prop_val) == IS_REFERENCE) || date_interval_is_internal_property(prop_… in restore_custom_dateinterval_properties()
5705 zend_string *prop_name; in restore_custom_dateperiod_properties() local
[all …]
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c480 zend_string *prop_name; in _class_string() local
486 …if (prop_name && ZSTR_LEN(prop_name) && ZSTR_VAL(prop_name)[0]) { /* skip all private and protecte… in _class_string()
926 if (!prop_name) { in _property_string()
1309 zval *prop_name; in reflection_parameter_factory() local
1325 prop_name = reflection_prop_name(object); in reflection_parameter_factory()
2383 zval *prop_name; in ZEND_METHOD() local
2551 zval_ptr_dtor(prop_name); in ZEND_METHOD()
5547 zval_ptr_dtor(prop_name); in ZEND_METHOD()
5548 ZVAL_STR_COPY(prop_name, name); in ZEND_METHOD()
6009 zval_ptr_dtor(prop_name); in ZEND_METHOD()
[all …]
/PHP-8.3/Zend/Optimizer/
H A Dcompact_literals.c99 zval *prop_name = &op_array->literals[op2]; in add_static_slot() local
102 zend_string *key = zend_create_member_string(Z_STR_P(class_name), Z_STR_P(prop_name)); in add_static_slot()
H A Dzend_inference.c5094 zend_string *prop_name = Z_STR_P(CRT_CONSTANT(opline->op2)); in zend_may_throw_ex() local
5095 if (ZSTR_LEN(prop_name) > 0 && ZSTR_VAL(prop_name)[0] == '\0') { in zend_may_throw_ex()
5100 zend_hash_find_ptr(&ce->properties_info, prop_name); in zend_may_throw_ex()
/PHP-8.3/ext/zend_test/
H A Dtest.c1138 zend_string *prop_name = zend_string_init_interned("dnfProperty", sizeof("dnfProperty") - 1, true); in register_ZendTestClass_dnf_property() local
1142 zend_declare_typed_property(ce, prop_name, &default_value, ZEND_ACC_PUBLIC, NULL, type); in register_ZendTestClass_dnf_property()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c850 zend_string *prop_name = Z_STR_P(RT_CONSTANT(opline, opline->op2)); local
862 prop_info = zend_get_property_info(Z_OBJCE_P(obj), prop_name, 1);
/PHP-8.3/ext/soap/
H A Dphp_encoding.c1990 const char *prop_name; in to_xml_object() local
1995 zend_unmangle_property_name(str_key, &class_name, &prop_name); in to_xml_object()
1997 prop_name = ZSTR_VAL(str_key); in to_xml_object()
1999 if (prop_name) { in to_xml_object()
2000 xmlNodeSetName(property, BAD_CAST(prop_name)); in to_xml_object()

Completed in 322 milliseconds