Home
last modified time | relevance | path

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

12

/PHP-8.0/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()
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 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.c1164 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 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()
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 Dzend.h121 int default_properties_count; member
H A Dzend_API.c1267 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 Dzend_opcode.c293 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 Dzend_builtin_functions.c789 …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 Dzend_operators.c723 (Z_OBJCE_P(op)->default_properties_count || in convert_to_array()
H A Dzend_vm_def.h6172 (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 Dzend_execute.c2779 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
/PHP-8.0/ext/opcache/
H A Dzend_persist_calc.c421 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 Dzend_accelerator_util_funcs.c289 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 Dzend_persist.c823 …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 Dzend_file_cache.c713 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 DZendAccelerator.c3592 if (ce->default_properties_count) {
3594 for (i = 0; i < ce->default_properties_count; i++) {
/PHP-8.0/ext/tokenizer/
H A Dtokenizer.c328 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 Dcommon_enum.cpp194 …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 Dcalendar_class.cpp253 …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 Dtimezone_class.cpp381 …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 Dmysqli.c1204 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c60 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 Dzend_jit_helpers.c1935 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()
/PHP-8.0/ext/pgsql/
H A Dpgsql.c1921 if (!ce->default_properties_count && !ce->__set) { in php_pgsql_fetch_hash()
/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_inference.c4537 if (op_array->scope != ce && ce->default_properties_count) { in zend_may_throw_ex()

Completed in 205 milliseconds

12