Home
last modified time | relevance | path

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

12

/PHP-8.3/Zend/
H A Dzend_objects.c38 zval *guard_value = object->properties_table + object->ce->default_properties_count; in _zend_object_std_init()
66 if (EXPECTED(object->ce->default_properties_count)) { in zend_object_std_dtor()
67 end = p + object->ce->default_properties_count; in zend_object_std_dtor()
199 if (old_object->ce->default_properties_count) { in zend_objects_clone_members()
202 zval *end = src + old_object->ce->default_properties_count; in zend_objects_clone_members()
274 for (uint32_t i = 0; i < new_object->ce->default_properties_count; i++) { in zend_objects_clone_members()
294 if (new_object->ce->default_properties_count) { in zend_objects_clone_obj()
296 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()
101 ZEND_ASSERT(prop_num >= 0 && prop_num < obj->ce->default_properties_count); in zend_get_property_info_for_slot()
H A Dzend_inheritance.c1444 if (ce->default_properties_count == 0) { in zend_build_properties_info_table()
1459 if (ce->parent && ce->parent->default_properties_count != 0) { in zend_build_properties_info_table()
1467 if (ce->default_properties_count == ce->parent->default_properties_count) { in zend_build_properties_info_table()
1519 if (parent_ce->default_properties_count) { in zend_do_inheritance_ex()
1522 if (ce->default_properties_count) { in zend_do_inheritance_ex()
1523 …zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_propertie… in zend_do_inheritance_ex()
1525 end = table + parent_ce->default_properties_count; in zend_do_inheritance_ex()
1526 dst = end + ce->default_properties_count; in zend_do_inheritance_ex()
1537 dst = end + parent_ce->default_properties_count; in zend_do_inheritance_ex()
1565 ce->default_properties_count += parent_ce->default_properties_count; in zend_do_inheritance_ex()
[all …]
H A Dzend_object_handlers.c69 zobj->properties = zend_new_array(ce->default_properties_count); in rebuild_object_properties()
70 if (ce->default_properties_count) { in rebuild_object_properties()
72 for (i = 0; i < ce->default_properties_count; i++) { in rebuild_object_properties()
100 ht = zend_new_array(ce->default_properties_count); in zend_std_build_object_properties_array()
101 if (ce->default_properties_count) { in zend_std_build_object_properties_array()
103 for (i = 0; i < ce->default_properties_count; i++) { in zend_std_build_object_properties_array()
149 *n = zobj->ce->default_properties_count; in zend_std_get_gc()
548 return zobj->properties_table + zobj->ce->default_properties_count; in zend_get_guard_value()
1759 if (!zobj1->ce->default_properties_count) { in zend_std_compare_objects()
1773 for (i = 0; i < zobj1->ce->default_properties_count; i++) { in zend_std_compare_objects()
H A Dzend_opcode.c268 zval *end = p + ce->default_properties_count; in zend_cleanup_mutable_class_data()
314 end = p + ce->default_properties_count; in destroy_zend_class()
365 zval *end = p + ce->default_properties_count; in destroy_zend_class()
427 zval *end = p + ce->default_properties_count; in destroy_zend_class()
H A Dzend_API.c1543 …operties_table = zend_arena_alloc(&CG(arena), sizeof(zval) * class_type->default_properties_count); in zend_update_class_constants()
1546 end = dst + class_type->default_properties_count; in zend_update_class_constants()
1561 for (uint32_t i = 0; i < class_type->default_properties_count; i++) { in zend_update_class_constants()
1605 if (class_type->default_properties_count) { in _object_properties_init()
1608 zval *end = src + class_type->default_properties_count; in _object_properties_init()
1637 if (object->ce->default_properties_count) { in object_properties_init_ex()
3513 if (EXPECTED(class_type->default_properties_count != 0)) { in display_disabled_class()
3515 zval *end = p + class_type->default_properties_count; in display_disabled_class()
4400 property_info->offset = OBJ_PROP_TO_OFFSET(ce->default_properties_count); in zend_declare_typed_property()
4401 ce->default_properties_count++; in zend_declare_typed_property()
[all …]
H A Dzend.h158 int default_properties_count; member
H A Dzend_builtin_functions.c772 …if (!zobj->ce->default_properties_count && properties == zobj->properties && !GC_IS_RECURSIVE(prop… in ZEND_FUNCTION()
839 (obj->ce->default_properties_count || in ZEND_FUNCTION()
H A Dzend_execute_API.c344 zval *end = p + ce->default_properties_count; in zend_shutdown_executor_values()
H A Dzend_vm_def.h6360 (Z_OBJCE_P(expr)->default_properties_count ||
6918 } else if (EXPECTED(Z_OBJCE_P(array)->default_properties_count == 0) in ZEND_VM_HELPER()
7183 } else if (EXPECTED(Z_OBJCE_P(array)->default_properties_count == 0)
/PHP-8.3/ext/opcache/
H A Dzend_persist_calc.c441 ADD_SIZE(sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry_calc()
442 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry_calc()
474 ADD_SIZE(sizeof(zend_property_info *) * ce->default_properties_count); in zend_persist_class_entry_calc()
H A Dzend_persist.c906 …zend_shared_memdup_free(ce->default_properties_table, sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry()
907 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
962 size_t size = sizeof(zend_property_info *) * ce->default_properties_count; in zend_persist_class_entry()
967 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
H A Dzend_file_cache.c732 end = p + ce->default_properties_count;
765 for (i = 0; i < ce->default_properties_count; i++) {
1574 end = p + ce->default_properties_count;
1602 for (i = 0; i < ce->default_properties_count; i++) {
H A DZendAccelerator.c3757 if (ce->default_properties_count) {
3761 for (i = 0; i < ce->default_properties_count; i++) {
/PHP-8.3/ext/tokenizer/
H A Dtokenizer.c296 if (UNEXPECTED(token_class->default_properties_count > 4)) { in add_token()
300 + token_class->default_properties_count; in add_token()
/PHP-8.3/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.3/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-8.3/ext/intl/timezone/
H A Dtimezone_class.cpp374 …ne_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_properties_count - 1)); in TimeZone_object_create()
/PHP-8.3/ext/standard/
H A Dvar.c1211 count = ce->default_properties_count; in php_var_serialize_intern()
1212 for (i = 0; i < ce->default_properties_count; i++) { in php_var_serialize_intern()
1227 for (i = 0; i < ce->default_properties_count; i++) { in php_var_serialize_intern()
/PHP-8.3/ext/json/
H A Djson_encoder.c161 for (i = 0; i < ce->default_properties_count; i++) { in php_json_encode_array()
/PHP-8.3/ext/mysqli/
H A Dmysqli.c797 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
/PHP-8.3/ext/spl/
H A Dspl_fixedarray.c241 …urce_properties = obj->properties ? obj->properties : (obj->ce->default_properties_count ? zend_st… in spl_fixedarray_object_get_properties_for()
/PHP-8.3/ext/sqlite3/
H A Dsqlite3.c2283 if (object->properties == NULL && object->ce->default_properties_count == 0) { in php_sqlite3_get_gc()
/PHP-8.3/ext/pdo/
H A Dpdo_stmt.c2089 if (object->properties == NULL && object->ce->default_properties_count <= 1) { in dbstmt_get_gc()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c65 ZEND_ASSERT(Z_OBJCE_P(object)->default_properties_count >= 1); in ZEND_DECLARE_MODULE_GLOBALS()
71 ZEND_ASSERT(Z_OBJCE_P(object)->default_properties_count >= 2); in reflection_prop_class()

Completed in 148 milliseconds

12