Home
last modified time | relevance | path

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

12

/PHP-8.2/Zend/
H A Dzend_objects.c37 ZVAL_UNDEF(object->properties_table + object->ce->default_properties_count); in _zend_object_std_init()
63 if (EXPECTED(object->ce->default_properties_count)) { in zend_object_std_dtor()
64 end = p + object->ce->default_properties_count; in zend_object_std_dtor()
195 if (old_object->ce->default_properties_count) { in zend_objects_clone_members()
198 zval *end = src + old_object->ce->default_properties_count; in zend_objects_clone_members()
272 if (new_object->ce->default_properties_count) { in zend_objects_clone_obj()
274 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.c1418 if (ce->default_properties_count == 0) { in zend_build_properties_info_table()
1433 if (ce->parent && ce->parent->default_properties_count != 0) { in zend_build_properties_info_table()
1441 if (ce->default_properties_count == ce->parent->default_properties_count) { in zend_build_properties_info_table()
1492 if (parent_ce->default_properties_count) { in zend_do_inheritance_ex()
1495 if (ce->default_properties_count) { in zend_do_inheritance_ex()
1496 …zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_propertie… in zend_do_inheritance_ex()
1498 end = table + parent_ce->default_properties_count; in zend_do_inheritance_ex()
1499 dst = end + ce->default_properties_count; in zend_do_inheritance_ex()
1510 dst = end + parent_ce->default_properties_count; in zend_do_inheritance_ex()
1538 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()
553 zv = zobj->properties_table + zobj->ce->default_properties_count; in zend_get_property_guard()
1695 if (!zobj1->ce->default_properties_count) { in zend_std_compare_objects()
1709 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()
308 end = p + ce->default_properties_count; in destroy_zend_class()
357 zval *end = p + ce->default_properties_count; in destroy_zend_class()
419 zval *end = p + ce->default_properties_count; in destroy_zend_class()
H A Dzend_API.c1467 …operties_table = zend_arena_alloc(&CG(arena), sizeof(zval) * class_type->default_properties_count); in zend_update_class_constants()
1470 end = dst + class_type->default_properties_count; in zend_update_class_constants()
1485 for (uint32_t i = 0; i < class_type->default_properties_count; i++) { in zend_update_class_constants()
1529 if (class_type->default_properties_count) { in _object_properties_init()
1532 zval *end = src + class_type->default_properties_count; in _object_properties_init()
1561 if (object->ce->default_properties_count) { in object_properties_init_ex()
3404 if (EXPECTED(class_type->default_properties_count != 0)) { in display_disabled_class()
3406 zval *end = p + class_type->default_properties_count; in display_disabled_class()
4267 property_info->offset = OBJ_PROP_TO_OFFSET(ce->default_properties_count); in zend_declare_typed_property()
4268 ce->default_properties_count++; in zend_declare_typed_property()
[all …]
H A Dzend.h158 int default_properties_count; member
H A Dzend_builtin_functions.c754 …if (!zobj->ce->default_properties_count && properties == zobj->properties && !GC_IS_RECURSIVE(prop… in ZEND_FUNCTION()
821 (obj->ce->default_properties_count || in ZEND_FUNCTION()
H A Dzend_execute_API.c343 zval *end = p + ce->default_properties_count; in zend_shutdown_executor_values()
H A Dzend_operators.c767 (Z_OBJCE_P(op)->default_properties_count || in convert_to_array()
/PHP-8.2/ext/opcache/
H A Dzend_persist_calc.c440 ADD_SIZE(sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry_calc()
441 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry_calc()
473 ADD_SIZE(sizeof(zend_property_info *) * ce->default_properties_count); in zend_persist_class_entry_calc()
H A Dzend_persist.c901 …zend_shared_memdup_free(ce->default_properties_table, sizeof(zval) * ce->default_properties_count); in zend_persist_class_entry()
902 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
956 size_t size = sizeof(zend_property_info *) * ce->default_properties_count; in zend_persist_class_entry()
961 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry()
H A Dzend_file_cache.c730 end = p + ce->default_properties_count;
763 for (i = 0; i < ce->default_properties_count; i++) {
1570 end = p + ce->default_properties_count;
1598 for (i = 0; i < ce->default_properties_count; i++) {
H A DZendAccelerator.c3781 if (ce->default_properties_count) {
3785 for (i = 0; i < ce->default_properties_count; i++) {
/PHP-8.2/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.2/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.2/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.2/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.2/ext/standard/
H A Dvar.c1205 count = ce->default_properties_count; in php_var_serialize_intern()
1206 for (i = 0; i < ce->default_properties_count; i++) { in php_var_serialize_intern()
1221 for (i = 0; i < ce->default_properties_count; i++) { in php_var_serialize_intern()
/PHP-8.2/ext/json/
H A Djson_encoder.c144 for (i = 0; i < ce->default_properties_count; i++) { in php_json_encode_array()
/PHP-8.2/ext/mysqli/
H A Dmysqli.c799 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
/PHP-8.2/ext/sqlite3/
H A Dsqlite3.c2260 if (object->properties == NULL && object->ce->default_properties_count == 0) { in php_sqlite3_get_gc()
/PHP-8.2/ext/pdo/
H A Dpdo_stmt.c2090 if (object->properties == NULL && object->ce->default_properties_count <= 1) { in dbstmt_get_gc()
/PHP-8.2/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()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit_helpers.c1976 slot >= obj->properties_table + obj->ce->default_properties_count)) { in zend_object_fetch_property_type_info()

Completed in 164 milliseconds

12