/PHP-8.0/Zend/ |
H A D | zend_objects.c | 37 ZVAL_UNDEF(object->properties_table + object->ce->default_properties_count); in _zend_object_std_init() 59 if (EXPECTED(object->ce->default_properties_count)) { in zend_object_std_dtor() 60 end = p + object->ce->default_properties_count; in zend_object_std_dtor() 187 if (old_object->ce->default_properties_count) { in zend_objects_clone_members() 190 zval *end = src + old_object->ce->default_properties_count; in zend_objects_clone_members() 264 if (new_object->ce->default_properties_count) { in zend_objects_clone_obj() 266 zval *end = p + new_object->ce->default_properties_count; in zend_objects_clone_obj()
|
H A D | zend_objects_API.h | 84 (ce->default_properties_count - in zend_object_properties_size() 102 ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count); in zend_get_property_info_for_slot()
|
H A D | zend_inheritance.c | 1164 if (ce->default_properties_count == 0) { in zend_build_properties_info_table() 1169 size = sizeof(zend_property_info *) * ce->default_properties_count; in zend_build_properties_info_table() 1179 if (ce->parent && ce->parent->default_properties_count != 0) { in zend_build_properties_info_table() 1187 if (ce->default_properties_count == ce->parent->default_properties_count) { in zend_build_properties_info_table() 1231 if (parent_ce->default_properties_count) { in zend_do_inheritance_ex() 1234 if (ce->default_properties_count) { in zend_do_inheritance_ex() 1235 …zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_propertie… in zend_do_inheritance_ex() 1237 end = table + parent_ce->default_properties_count; in zend_do_inheritance_ex() 1238 dst = end + ce->default_properties_count; in zend_do_inheritance_ex() 1249 dst = end + parent_ce->default_properties_count; in zend_do_inheritance_ex() [all …]
|
H A D | zend_object_handlers.c | 68 zobj->properties = zend_new_array(ce->default_properties_count); in rebuild_object_properties() 69 if (ce->default_properties_count) { in rebuild_object_properties() 84 while (ce->parent && ce->parent->default_properties_count) { in rebuild_object_properties() 134 *n = zobj->ce->default_properties_count; in zend_std_get_gc() 507 zv = zobj->properties_table + zobj->ce->default_properties_count; in zend_get_property_guard() 1557 if (!zobj1->ce->default_properties_count) { in zend_std_compare_objects()
|
H A D | zend.h | 121 int default_properties_count; member
|
H A D | zend_API.c | 1267 for (uint32_t i = 0; i < class_type->default_properties_count; i++) { in zend_update_class_constants() 1297 if (class_type->default_properties_count) { in _object_properties_init() 1300 zval *end = src + class_type->default_properties_count; in _object_properties_init() 1329 if (object->ce->default_properties_count) { in object_properties_init_ex() 2960 if (EXPECTED(class_type->default_properties_count != 0)) { in display_disabled_class() 2962 zval *end = p + class_type->default_properties_count; in display_disabled_class() 3794 property_info->offset = OBJ_PROP_TO_OFFSET(ce->default_properties_count); in zend_declare_typed_property() 3795 ce->default_properties_count++; in zend_declare_typed_property() 3796 …le = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_properties_count, ce->type… in zend_declare_typed_property() 3800 …realloc(ce->properties_info_table, sizeof(zend_property_info *) * ce->default_properties_count, 1); in zend_declare_typed_property() [all …]
|
H A D | zend_opcode.c | 293 zval *end = p + ce->default_properties_count; in destroy_zend_class() 378 zval *end = p + ce->default_properties_count; in destroy_zend_class()
|
H A D | zend_builtin_functions.c | 789 …if (!zobj->ce->default_properties_count && properties == zobj->properties && !GC_IS_RECURSIVE(prop… in ZEND_FUNCTION() 856 (Z_OBJCE_P(obj)->default_properties_count || in ZEND_FUNCTION()
|
H A D | zend_operators.c | 723 (Z_OBJCE_P(op)->default_properties_count || in convert_to_array()
|
H A D | zend_vm_def.h | 6172 (Z_OBJCE_P(expr)->default_properties_count || 6765 } else if (EXPECTED(Z_OBJCE_P(array)->default_properties_count == 0) 6925 } else if (EXPECTED(Z_OBJCE_P(array)->default_properties_count == 0)
|
H A D | zend_execute.c | 2779 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
|
/PHP-8.0/ext/opcache/ |
H A D | zend_persist_calc.c | 421 ADD_SIZE(sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry_calc() 422 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry_calc() 464 ADD_SIZE_EX(sizeof(zend_property_info *) * ce->default_properties_count); in zend_persist_class_entry_calc()
|
H A D | zend_accelerator_util_funcs.c | 289 dst = emalloc(sizeof(zval) * ce->default_properties_count); in zend_class_copy_ctor() 291 end = src + ce->default_properties_count; in zend_class_copy_ctor() 339 for (i = 0; i < ce->default_properties_count; i++) { in zend_class_copy_ctor()
|
H A D | zend_persist.c | 823 …zend_shared_memdup_free(ce->default_properties_table, sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry() 824 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry() 895 size_t size = sizeof(zend_property_info *) * ce->default_properties_count; in zend_persist_class_entry() 905 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
|
H A D | zend_file_cache.c | 713 end = p + ce->default_properties_count; 746 for (i = 0; i < ce->default_properties_count; i++) { 1476 end = p + ce->default_properties_count; 1504 for (i = 0; i < ce->default_properties_count; i++) {
|
H A D | ZendAccelerator.c | 3592 if (ce->default_properties_count) { 3594 for (i = 0; i < ce->default_properties_count; i++) {
|
/PHP-8.0/ext/tokenizer/ |
H A D | tokenizer.c | 328 if (UNEXPECTED(token_class->default_properties_count > 4)) { in add_token() 332 + token_class->default_properties_count; in add_token()
|
/PHP-8.0/ext/intl/common/ |
H A D | common_enum.cpp | 194 …bject*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->default_properties_count - 1)); in IntlIterator_object_create()
|
/PHP-8.0/ext/intl/calendar/ |
H A D | calendar_class.cpp | 253 …ar_object*)ecalloc(1, sizeof(Calendar_object) + sizeof(zval) * (ce->default_properties_count - 1)); in Calendar_object_create()
|
/PHP-8.0/ext/intl/timezone/ |
H A D | timezone_class.cpp | 381 …ne_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_properties_count - 1)); in TimeZone_object_create()
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli.c | 1204 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.c | 60 ZEND_ASSERT(Z_OBJCE_P(object)->default_properties_count >= 1); in ZEND_DECLARE_MODULE_GLOBALS() 66 ZEND_ASSERT(Z_OBJCE_P(object)->default_properties_count >= 2); in reflection_prop_class()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1935 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
|
/PHP-8.0/ext/pgsql/ |
H A D | pgsql.c | 1921 if (!ce->default_properties_count && !ce->__set) { in php_pgsql_fetch_hash()
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_inference.c | 4537 if (op_array->scope != ce && ce->default_properties_count) { in zend_may_throw_ex()
|