Lines Matching refs:ce_flags

230 		if (scope->ce_flags & ZEND_ACC_RESOLVED_PARENT) {  in resolve_class_name()
317 if (ce1->ce_flags & ZEND_ACC_LINKED) { in unlinked_instanceof()
323 if (ce1->ce_flags & ZEND_ACC_RESOLVED_PARENT) { in unlinked_instanceof()
339 if (ce1->ce_flags & ZEND_ACC_RESOLVED_INTERFACES) { in unlinked_instanceof()
407 if (!(ce->ce_flags & ZEND_ACC_IMMUTABLE)) { in track_class_dependency()
414 CG(current_linking_class)->ce_flags &= ~ZEND_ACC_CACHEABLE; in track_class_dependency()
778 && ((proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 in zend_do_perform_implementation_check()
900 if (fptr->common.scope->ce_flags & ZEND_ACC_ANON_CLASS) { in zend_get_function_declaration()
1243 ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in do_inherit_method()
1373 ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in inherit_property_hook()
1438 if (!(parent_info->ce->ce_flags & ZEND_ACC_INTERFACE)) { in do_inherit_property()
1521 ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in do_inherit_property()
1532 …if (!(ce->ce_flags & ZEND_ACC_INTERFACE) && iface->interface_gets_implemented && iface->interface_… in do_implement_interface()
1566 ce->ce_flags |= ZEND_ACC_RESOLVED_INTERFACES; in zend_do_inherit_interfaces()
1612 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_class_constant()
1613 ce->ce_flags |= ZEND_ACC_HAS_AST_CONSTANTS; in do_inherit_class_constant()
1614 if (ce->parent->ce_flags & ZEND_ACC_IMMUTABLE) { in do_inherit_class_constant()
1756 ce->ce_flags &= ~ZEND_ACC_CACHEABLE; in zend_link_hooked_object_iter()
1776 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_INTERFACE)) { in zend_do_inheritance_ex()
1778 if (UNEXPECTED(!(parent_ce->ce_flags & ZEND_ACC_INTERFACE))) { in zend_do_inheritance_ex()
1781 …} else if (UNEXPECTED(parent_ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_FINAL|ZEND… in zend_do_inheritance_ex()
1784 if (parent_ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_inheritance_ex()
1788 if (parent_ce->ce_flags & ZEND_ACC_FINAL) { in zend_do_inheritance_ex()
1793 if ((parent_ce->ce_flags & ZEND_ACC_INTERFACE) || (parent_ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_do_inheritance_ex()
1795 …ZSTR_VAL(ce->name), parent_ce->ce_flags & ZEND_ACC_INTERFACE ? "interface" : "trait", ZSTR_VAL(par… in zend_do_inheritance_ex()
1800 …if (UNEXPECTED((ce->ce_flags & ZEND_ACC_READONLY_CLASS) != (parent_ce->ce_flags & ZEND_ACC_READONL… in zend_do_inheritance_ex()
1802 ce->ce_flags & ZEND_ACC_READONLY_CLASS ? "Readonly" : "Non-readonly", ZSTR_VAL(ce->name), in zend_do_inheritance_ex()
1803 …parent_ce->ce_flags & ZEND_ACC_READONLY_CLASS ? "readonly" : "non-readonly", ZSTR_VAL(parent_ce->n… in zend_do_inheritance_ex()
1812 ce->ce_flags |= ZEND_ACC_RESOLVED_PARENT; in zend_do_inheritance_ex()
1847 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance_ex()
1848 ce->ce_flags |= ZEND_ACC_HAS_AST_PROPERTIES; in zend_do_inheritance_ex()
1858 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance_ex()
1859 ce->ce_flags |= ZEND_ACC_HAS_AST_PROPERTIES; in zend_do_inheritance_ex()
1898 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance_ex()
1899 ce->ce_flags |= ZEND_ACC_HAS_AST_STATICS; in zend_do_inheritance_ex()
1976 if (ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) { in zend_do_inheritance_ex()
1977 ce->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; in zend_do_inheritance_ex()
1980 …ce->ce_flags |= parent_ce->ce_flags & (ZEND_HAS_STATIC_IN_METHODS | ZEND_ACC_HAS_TYPE_HINTS | ZEND… in zend_do_inheritance_ex()
2074 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_iface_constant()
2075 ce->ce_flags |= ZEND_ACC_HAS_AST_CONSTANTS; in do_inherit_iface_constant()
2076 if (iface->ce_flags & ZEND_ACC_IMMUTABLE) { in do_inherit_iface_constant()
2100 if (!(ce->ce_flags & ZEND_ACC_INTERFACE)) { in do_interface_implementation()
2145 ZEND_ASSERT(ce->ce_flags & ZEND_ACC_LINKED); in zend_do_implement_interface()
2190 if (!(iface->ce_flags & ZEND_ACC_LINKED)) { in zend_do_implement_interfaces()
2193 if (UNEXPECTED(!(iface->ce_flags & ZEND_ACC_INTERFACE))) { in zend_do_implement_interfaces()
2223 if (!(ce->ce_flags & ZEND_ACC_CACHED)) { in zend_do_implement_interfaces()
2233 ce->ce_flags |= ZEND_ACC_RESOLVED_INTERFACES; in zend_do_implement_interfaces()
2251 if (ce->ce_flags & ZEND_ACC_TRAIT) { in zend_inheritance_check_override()
2291 return fn->common.scope->ce_flags & ZEND_ACC_TRAIT ? ce : fn->common.scope; in fixup_trait_scope()
2305 (existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_add_trait_method()
2325 } else if (UNEXPECTED((existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT) in zend_add_trait_method()
2358 if (!(existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_add_trait_method()
2371 if (fn->common.scope->ce_flags & ZEND_ACC_TRAIT) { in zend_fixup_trait_method()
2376 ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in zend_fixup_trait_method()
2379 ce->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; in zend_fixup_trait_method()
2471 if (UNEXPECTED((trait->ce_flags & ZEND_ACC_TRAIT) != ZEND_ACC_TRAIT)) { in zend_check_trait_usage()
2510 if (!trait || !(trait->ce_flags & ZEND_ACC_LINKED)) { in zend_traits_init_trait_structures()
2539 if (!exclude_ce || !(exclude_ce->ce_flags & ZEND_ACC_LINKED)) { in zend_traits_init_trait_structures()
2584 if (!trait || !(trait->ce_flags & ZEND_ACC_LINKED)) { in zend_traits_init_trait_structures()
2776 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_traits_constant_binding()
2777 ce->ce_flags |= ZEND_ACC_HAS_AST_CONSTANTS; in zend_do_traits_constant_binding()
2888 if ((ce->ce_flags & ZEND_ACC_READONLY_CLASS) && !(property_info->flags & ZEND_ACC_READONLY)) { in zend_do_traits_property_binding()
2949 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_do_traits_property_binding()
3009 bool is_explicit_abstract = (ce->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS) != 0; in zend_verify_abstract_class()
3010 bool can_be_abstract = (ce->ce_flags & (ZEND_ACC_ENUM|ZEND_ACC_ANON_CLASS)) == 0; in zend_verify_abstract_class()
3062 ce->ce_flags &= ~ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in zend_verify_abstract_class()
3128 ce->ce_flags |= ZEND_ACC_UNRESOLVED_VARIANCE; in get_or_init_obligations_for_class()
3202 if (dependency_ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE) { in check_variance_obligation()
3206 (dependency_ce->ce_flags & ZEND_ACC_CACHEABLE) ? dependency_ce : NULL; in check_variance_obligation()
3281 ce->ce_flags &= ~ZEND_ACC_UNRESOLVED_VARIANCE; in resolve_delayed_variance_obligations()
3282 ce->ce_flags |= ZEND_ACC_LINKED; in resolve_delayed_variance_obligations()
3326 ce->ce_flags &= ~ZEND_ACC_IMMUTABLE; in zend_lazy_class_load()
3449 is_cacheable &= (ce)->ce_flags; \
3455 is_cacheable &= (ce)->ce_flags; \
3468 uint32_t is_cacheable = ce->ce_flags & ZEND_ACC_IMMUTABLE; in zend_do_link_class()
3474 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED)); in zend_do_link_class()
3497 if (UNEXPECTED(!(trait->ce_flags & ZEND_ACC_TRAIT))) { in zend_do_link_class()
3535 if (ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_link_class()
3543 if (ce->ce_flags & ZEND_ACC_IMMUTABLE && is_cacheable) { in zend_do_link_class()
3565 if (ce->ce_flags & ZEND_ACC_IMMUTABLE) { in zend_do_link_class()
3570 } else if (ce->ce_flags & ZEND_ACC_FILE_CACHED) { in zend_do_link_class()
3573 ce->ce_flags &= ~ZEND_ACC_FILE_CACHED; in zend_do_link_class()
3585 if (ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_link_class()
3596 if (!(parent->ce_flags & ZEND_ACC_LINKED)) { in zend_do_link_class()
3621 if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT)) in zend_do_link_class()
3622 && (ce->ce_flags & (ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) in zend_do_link_class()
3626 if (ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_link_class()
3651 if (ce->__tostring && !(ce->ce_flags & ZEND_ACC_TRAIT) in zend_do_link_class()
3654 ce->ce_flags |= ZEND_ACC_RESOLVED_INTERFACES; in zend_do_link_class()
3674 if (!(ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE)) { in zend_do_link_class()
3676 ce->ce_flags |= ZEND_ACC_LINKED; in zend_do_link_class()
3678 ce->ce_flags |= ZEND_ACC_NEARLY_LINKED; in zend_do_link_class()
3680 ce->ce_flags |= ZEND_ACC_CACHEABLE; in zend_do_link_class()
3683 if (ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE) { in zend_do_link_class()
3686 if (ce->ce_flags & ZEND_ACC_CACHEABLE) { in zend_do_link_class()
3687 ce->ce_flags &= ~ZEND_ACC_CACHEABLE; in zend_do_link_class()
3800 if (EXPECTED(!(ce->ce_flags & ZEND_ACC_PRELOADED))) { in register_early_bound_ce()
3828 if (ce->ce_flags & ZEND_ACC_LINKED) { in zend_try_early_bind()
3837 uint32_t is_cacheable = ce->ce_flags & ZEND_ACC_IMMUTABLE; in zend_try_early_bind()
3860 if (ce->ce_flags & ZEND_ACC_IMMUTABLE) { in zend_try_early_bind()
3863 } else if (ce->ce_flags & ZEND_ACC_FILE_CACHED) { in zend_try_early_bind()
3866 ce->ce_flags &= ~ZEND_ACC_FILE_CACHED; in zend_try_early_bind()
3892 …if ((ce->ce_flags & (ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_E… in zend_try_early_bind()
3896 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE)); in zend_try_early_bind()
3897 ce->ce_flags |= ZEND_ACC_LINKED; in zend_try_early_bind()