Home
last modified time | relevance | path

Searched refs:default_properties_count (Results 1 – 25 of 26) sorted by relevance

12

/PHP-7.4/Zend/
H A Dzend_objects.c37 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 Dzend_objects_API.h84 (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 Dzend_inheritance.c1083 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 Dzend_object_handlers.c68 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 Dzend.h121 int default_properties_count; member
H A Dzend_API.c1260 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 Dzend_opcode.c273 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 Dzend_builtin_functions.c1200 …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 Dzend_operators.c644 (Z_OBJCE_P(op)->default_properties_count || in convert_to_array()
H A Dzend_vm_def.h5951 (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 Dzend_execute.c2757 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
H A Dzend_compile.c1667 ce->default_properties_count = 0; in zend_initialize_class_data()
/PHP-7.4/ext/opcache/
H A Dzend_persist_calc.c383 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 Dzend_accelerator_util_funcs.c268 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 Dzend_persist.c734 …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 Dzend_file_cache.c659 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 DZendAccelerator.c3512 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 Dcommon_enum.cpp195 …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 Dbreakiterator_class.cpp208 …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 Dcalendar_class.cpp256 …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 Dtimezone_class.cpp379 …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 Dmysqli.c1280 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c59 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 Dzend_inference.c4657 if (op_array->scope != ce && ce->default_properties_count) { in zend_may_throw()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c2821 if (!ce->default_properties_count && !ce->__set) {

Completed in 182 milliseconds

12