/PHP-7.4/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() 205 if (old_object->ce->default_properties_count) { in zend_objects_clone_members() 208 zval *end = src + old_object->ce->default_properties_count; in zend_objects_clone_members() 304 if (new_object->ce->default_properties_count) { in zend_objects_clone_obj() 306 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 | 1083 if (ce->default_properties_count == 0) { in zend_build_properties_info_table() 1088 size = sizeof(zend_property_info *) * ce->default_properties_count; in zend_build_properties_info_table() 1098 if (ce->parent && ce->parent->default_properties_count != 0) { in zend_build_properties_info_table() 1106 if (ce->default_properties_count == ce->parent->default_properties_count) { in zend_build_properties_info_table() 1163 if (parent_ce->default_properties_count) { in zend_do_inheritance_ex() 1166 if (ce->default_properties_count) { in zend_do_inheritance_ex() 1167 …zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_propertie… in zend_do_inheritance_ex() 1169 end = table + parent_ce->default_properties_count; in zend_do_inheritance_ex() 1170 dst = end + ce->default_properties_count; in zend_do_inheritance_ex() 1181 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() 138 *n = zobj->ce->default_properties_count; in zend_std_get_gc() 618 zv = zobj->properties_table + zobj->ce->default_properties_count; in zend_get_property_guard() 1630 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 | 1260 if (class_type->default_properties_count) { in _object_properties_init() 1263 zval *end = src + class_type->default_properties_count; in _object_properties_init() 1292 if (object->ce->default_properties_count) { in object_properties_init_ex() 2859 if (EXPECTED(class_type->default_properties_count != 0)) { in display_disabled_class() 2861 zval *end = p + class_type->default_properties_count; in display_disabled_class() 3756 property_info->offset = OBJ_PROP_TO_OFFSET(ce->default_properties_count); in zend_declare_typed_property() 3757 ce->default_properties_count++; in zend_declare_typed_property() 3758 …le = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_properties_count, ce->type… in zend_declare_typed_property() 3762 …realloc(ce->properties_info_table, sizeof(zend_property_info *) * ce->default_properties_count, 1); in zend_declare_typed_property() 3763 ce->properties_info_table[ce->default_properties_count - 1] = property_info; in zend_declare_typed_property()
|
H A D | zend_opcode.c | 273 zval *end = p + ce->default_properties_count; in destroy_zend_class() 350 zval *end = p + ce->default_properties_count; in destroy_zend_class()
|
H A D | zend_builtin_functions.c | 1200 …if (!zobj->ce->default_properties_count && properties == zobj->properties && !GC_IS_RECURSIVE(prop… in ZEND_FUNCTION() 1268 (Z_OBJCE_P(obj)->default_properties_count || in ZEND_FUNCTION()
|
H A D | zend_operators.c | 644 (Z_OBJCE_P(op)->default_properties_count || in convert_to_array()
|
H A D | zend_vm_def.h | 5951 (Z_OBJCE_P(expr)->default_properties_count || 6532 } else if (EXPECTED(Z_OBJCE_P(array)->default_properties_count == 0) 6693 } else if (EXPECTED(Z_OBJCE_P(array)->default_properties_count == 0)
|
H A D | zend_execute.c | 2757 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
|
H A D | zend_compile.c | 1667 ce->default_properties_count = 0; in zend_initialize_class_data()
|
/PHP-7.4/ext/opcache/ |
H A D | zend_persist_calc.c | 383 ADD_SIZE(sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry_calc() 384 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry_calc() 420 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 | 268 dst = emalloc(sizeof(zval) * ce->default_properties_count); in zend_class_copy_ctor() 270 end = src + ce->default_properties_count; in zend_class_copy_ctor() 318 for (i = 0; i < ce->default_properties_count; i++) { in zend_class_copy_ctor()
|
H A D | zend_persist.c | 734 …zend_shared_memdup_free(ce->default_properties_table, sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry() 735 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry() 792 size_t size = sizeof(zend_property_info *) * ce->default_properties_count; in zend_persist_class_entry() 802 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
|
H A D | zend_file_cache.c | 659 end = p + ce->default_properties_count; 691 for (i = 0; i < ce->default_properties_count; i++) { 1362 end = p + ce->default_properties_count; 1389 for (i = 0; i < ce->default_properties_count; i++) {
|
H A D | ZendAccelerator.c | 3512 if (ce->default_properties_count) { in preload_try_resolve_constants() 3514 for (i = 0; i < ce->default_properties_count; i++) { in preload_try_resolve_constants()
|
/PHP-7.4/ext/intl/common/ |
H A D | common_enum.cpp | 195 …bject*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->default_properties_count - 1)); in IntlIterator_object_create()
|
/PHP-7.4/ext/intl/breakiterator/ |
H A D | breakiterator_class.cpp | 208 …ject*)ecalloc(1, sizeof(BreakIterator_object) + sizeof(zval) * (ce->default_properties_count - 1)); in BreakIterator_object_create()
|
/PHP-7.4/ext/intl/calendar/ |
H A D | calendar_class.cpp | 256 …ar_object*)ecalloc(1, sizeof(Calendar_object) + sizeof(zval) * (ce->default_properties_count - 1)); in Calendar_object_create()
|
/PHP-7.4/ext/intl/timezone/ |
H A D | timezone_class.cpp | 379 …ne_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_properties_count - 1)); in TimeZone_object_create()
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli.c | 1280 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
|
/PHP-7.4/ext/reflection/ |
H A D | php_reflection.c | 59 ZEND_ASSERT(Z_OBJCE_P(object)->default_properties_count >= 1); in ZEND_DECLARE_MODULE_GLOBALS() 65 ZEND_ASSERT(Z_OBJCE_P(object)->default_properties_count >= 2); in reflection_prop_class()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_inference.c | 4657 if (op_array->scope != ce && ce->default_properties_count) { in zend_may_throw()
|
/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 2821 if (!ce->default_properties_count && !ce->__set) {
|