Lines Matching refs:ce

186 ZEND_API bool zend_class_can_be_lazy(zend_class_entry *ce)  in zend_class_can_be_lazy()  argument
189 if (UNEXPECTED(ce->type == ZEND_INTERNAL_CLASS && ce != zend_standard_class_def)) { in zend_class_can_be_lazy()
193 for (zend_class_entry *parent = ce->parent; parent; parent = parent->parent) { in zend_class_can_be_lazy()
234 ZEND_ASSERT(!obj || instanceof_function(obj->ce, reflection_ce)); in zend_object_make_lazy()
271 for (int i = 0; i < obj->ce->default_properties_count; i++) { in zend_object_make_lazy()
274 if (EXPECTED(obj->ce->properties_info_table[i])) { in zend_object_make_lazy()
299 || obj->ce->destructor) { in zend_object_make_lazy()
327 zend_property_info *prop_info = obj->ce->properties_info_table[i]; in zend_object_make_lazy()
333 && ((obj->ce->ce_flags & ZEND_ACC_FINAL) || (prop_info->flags & ZEND_ACC_FINAL))) { in zend_object_make_lazy()
381 zend_class_entry *ce = obj->ce; in zend_lazy_object_mark_as_initialized() local
383 ZEND_ASSERT(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED); in zend_lazy_object_mark_as_initialized()
385 zval *default_properties_table = CE_DEFAULT_PROPERTIES_TABLE(ce); in zend_lazy_object_mark_as_initialized()
390 for (int i = 0; i < ce->default_properties_count; i++) { in zend_lazy_object_mark_as_initialized()
404 zend_class_entry *ce = obj->ce; in zend_lazy_object_revert_init() local
406 if (ce->default_properties_count) { in zend_lazy_object_revert_init()
410 for (int i = 0; i < ce->default_properties_count; i++) { in zend_lazy_object_revert_init()
415 zend_property_info *prop_info = ce->properties_info_table[i]; in zend_lazy_object_revert_init()
442 if (EXPECTED(real_object->ce == lazy_object->ce)) { in zend_lazy_object_compatible()
446 if (!instanceof_function(lazy_object->ce, real_object->ce)) { in zend_lazy_object_compatible()
453 …if (zend_hash_num_elements(&lazy_object->ce->properties_info) != zend_hash_num_elements(&real_obje… in zend_lazy_object_compatible()
457 return lazy_object->ce->destructor == real_object->ce->destructor in zend_lazy_object_compatible()
458 && lazy_object->ce->clone == real_object->ce->clone; in zend_lazy_object_compatible()
495 ZSTR_VAL(obj->ce->name), in zend_lazy_object_init_proxy()
505 ZSTR_VAL(obj->ce->name)); in zend_lazy_object_init_proxy()
528 for (int i = 0; i < Z_OBJ(retval)->ce->default_properties_count; i++) { in zend_lazy_object_init_proxy()
529 if (EXPECTED(Z_OBJ(retval)->ce->properties_info_table[i])) { in zend_lazy_object_init_proxy()
571 zend_class_entry *ce = obj->ce; in zend_lazy_object_init() local
573 ZEND_ASSERT(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED); in zend_lazy_object_init()
597 if (ce->default_properties_count) { in zend_lazy_object_init()
598 zval *default_properties_table = CE_DEFAULT_PROPERTIES_TABLE(ce); in zend_lazy_object_init()
600 …properties_table_snapshot = emalloc(sizeof(*properties_table_snapshot) * ce->default_properties_co… in zend_lazy_object_init()
602 for (int i = 0; i < ce->default_properties_count; i++) { in zend_lazy_object_init()
634 for (int i = 0; i < obj->ce->default_properties_count; i++) { in zend_lazy_object_init()
675 for (int i = 0; i < obj->ce->default_properties_count; i++) { in zend_lazy_object_realize()
712 object_init_ex(&zv, old_obj->ce); in zend_lazy_object_clone()
722 zend_class_entry *ce = old_obj->ce; in zend_lazy_object_clone() local
723 zend_object *new_proxy = zend_objects_new(ce); in zend_lazy_object_clone()
725 for (int i = 0; i < ce->default_properties_count; i++) { in zend_lazy_object_clone()
728 if (EXPECTED(ce->properties_info_table[i])) { in zend_lazy_object_clone()
793 zval *end = prop + zobj->ce->default_properties_count; in zend_lazy_object_get_gc()
806 zend_property_info **table = obj->ce->properties_info_table; in zend_lazy_object_get_property_info_for_slot()
808 if (prop_num >= 0 && prop_num < obj->ce->default_properties_count) { in zend_lazy_object_get_property_info_for_slot()