Lines Matching refs:ZEND_ASSERT
75 ZEND_ASSERT(info->flags & ZEND_LAZY_OBJECT_STRATEGY_PROXY); in zend_lazy_object_info_dtor_func()
92 ZEND_ASSERT(zend_hash_num_elements(&store->infos) == 0 || CG(unclean_shutdown)); in zend_lazy_objects_destroy()
98 ZEND_ASSERT(zend_object_is_lazy(obj)); in zend_lazy_object_set_info()
101 ZEND_ASSERT(zv); in zend_lazy_object_set_info()
107 ZEND_ASSERT(zend_object_is_lazy(obj)); in zend_lazy_object_get_info()
110 ZEND_ASSERT(info); in zend_lazy_object_get_info()
122 ZEND_ASSERT(!zend_lazy_object_initialized(obj)); in zend_lazy_object_get_initializer_zv()
126 ZEND_ASSERT(!(info->flags & ZEND_LAZY_OBJECT_INITIALIZED)); in zend_lazy_object_get_initializer_zv()
133 ZEND_ASSERT(!zend_lazy_object_initialized(obj)); in zend_lazy_object_get_initializer_fcc()
137 ZEND_ASSERT(!(info->flags & ZEND_LAZY_OBJECT_INITIALIZED)); in zend_lazy_object_get_initializer_fcc()
144 ZEND_ASSERT(zend_lazy_object_initialized(obj)); in zend_lazy_object_get_instance()
149 ZEND_ASSERT(info->flags & ZEND_LAZY_OBJECT_INITIALIZED); in zend_lazy_object_get_instance()
165 ZEND_ASSERT(res == SUCCESS); in zend_lazy_object_del_info()
170 ZEND_ASSERT(zend_object_is_lazy(obj)); in zend_lazy_object_decr_lazy_props()
171 ZEND_ASSERT(!zend_lazy_object_initialized(obj)); in zend_lazy_object_decr_lazy_props()
175 ZEND_ASSERT(info->lazy_properties_count > 0); in zend_lazy_object_decr_lazy_props()
229 ZEND_ASSERT(!(flags & ~(ZEND_LAZY_OBJECT_USER_MASK|ZEND_LAZY_OBJECT_STRATEGY_MASK))); in zend_object_make_lazy()
230 ZEND_ASSERT((flags & ZEND_LAZY_OBJECT_STRATEGY_MASK) == ZEND_LAZY_OBJECT_STRATEGY_GHOST in zend_object_make_lazy()
233 ZEND_ASSERT(!obj || (!zend_object_is_lazy(obj) || zend_lazy_object_initialized(obj))); in zend_object_make_lazy()
234 ZEND_ASSERT(!obj || instanceof_function(obj->ce, reflection_ce)); in zend_object_make_lazy()
257 ZEND_ASSERT(result == FAILURE && EG(exception)); in zend_object_make_lazy()
264 ZEND_ASSERT(EG(exception)); in zend_object_make_lazy()
287 ZEND_ASSERT(zend_object_is_lazy_proxy(obj) && zend_lazy_object_initialized(obj)); in zend_object_make_lazy()
357 ZEND_ASSERT(flags & ZEND_LAZY_OBJECT_STRATEGY_GHOST); in zend_object_make_lazy()
378 ZEND_ASSERT(zend_object_is_lazy(obj)); in zend_lazy_object_mark_as_initialized()
379 ZEND_ASSERT(!zend_lazy_object_initialized(obj)); in zend_lazy_object_mark_as_initialized()
383 ZEND_ASSERT(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED); in zend_lazy_object_mark_as_initialized()
407 ZEND_ASSERT(properties_table_snapshot); in zend_lazy_object_revert_init()
425 …ZEND_ASSERT((GC_FLAGS(properties_snapshot) & IS_ARRAY_IMMUTABLE) || GC_REFCOUNT(properties_snapsho… in zend_lazy_object_revert_init()
429 …ZEND_ASSERT((GC_FLAGS(properties_snapshot) & IS_ARRAY_IMMUTABLE) || GC_REFCOUNT(properties_snapsho… in zend_lazy_object_revert_init()
464 ZEND_ASSERT(zend_object_is_lazy_proxy(obj)); in zend_lazy_object_init_proxy()
465 ZEND_ASSERT(!zend_lazy_object_initialized(obj)); in zend_lazy_object_init_proxy()
553 ZEND_ASSERT(zend_object_is_lazy(obj)); in zend_lazy_object_init()
562 ZEND_ASSERT(zend_object_is_lazy_proxy(obj)); in zend_lazy_object_init()
564 ZEND_ASSERT(info->flags & ZEND_LAZY_OBJECT_INITIALIZED); in zend_lazy_object_init()
573 ZEND_ASSERT(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED); in zend_lazy_object_init()
669 ZEND_ASSERT(zend_object_is_lazy(obj)); in zend_lazy_object_realize()
670 ZEND_ASSERT(!zend_lazy_object_initialized(obj)); in zend_lazy_object_realize()
676 ZEND_ASSERT(!(Z_PROP_FLAG_P(&obj->properties_table[i]) & IS_PROP_LAZY)); in zend_lazy_object_realize()
685 ZEND_ASSERT(zend_object_is_lazy(object)); in zend_lazy_object_get_properties()
696 ZEND_ASSERT(!zend_lazy_object_must_init(object)); in zend_lazy_object_get_properties()
705 ZEND_ASSERT(zend_object_is_lazy(old_obj)); in zend_lazy_object_clone()
708 ZEND_ASSERT(EG(exception)); in zend_lazy_object_clone()
748 ZEND_ASSERT(zend_object_is_lazy(object)); in zend_lazy_object_debug_info()
768 ZEND_ASSERT(zend_object_is_lazy(zobj)); in zend_lazy_object_get_gc()
774 ZEND_ASSERT(zend_object_is_lazy_proxy(zobj)); in zend_lazy_object_get_gc()
804 ZEND_ASSERT(zend_object_is_lazy_proxy(obj)); in zend_lazy_object_get_property_info_for_slot()