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()
1755 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_INTERFACE)) { in zend_do_inheritance_ex()
1757 if (UNEXPECTED(!(parent_ce->ce_flags & ZEND_ACC_INTERFACE))) { in zend_do_inheritance_ex()
1760 …} else if (UNEXPECTED(parent_ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_FINAL|ZEND… in zend_do_inheritance_ex()
1763 if (parent_ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_inheritance_ex()
1767 if (parent_ce->ce_flags & ZEND_ACC_FINAL) { in zend_do_inheritance_ex()
1772 if ((parent_ce->ce_flags & ZEND_ACC_INTERFACE) || (parent_ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_do_inheritance_ex()
1774 …ZSTR_VAL(ce->name), parent_ce->ce_flags & ZEND_ACC_INTERFACE ? "interface" : "trait", ZSTR_VAL(par… in zend_do_inheritance_ex()
1779 …if (UNEXPECTED((ce->ce_flags & ZEND_ACC_READONLY_CLASS) != (parent_ce->ce_flags & ZEND_ACC_READONL… in zend_do_inheritance_ex()
1781 ce->ce_flags & ZEND_ACC_READONLY_CLASS ? "Readonly" : "Non-readonly", ZSTR_VAL(ce->name), in zend_do_inheritance_ex()
1782 …parent_ce->ce_flags & ZEND_ACC_READONLY_CLASS ? "readonly" : "non-readonly", ZSTR_VAL(parent_ce->n… in zend_do_inheritance_ex()
1791 ce->ce_flags |= ZEND_ACC_RESOLVED_PARENT; in zend_do_inheritance_ex()
1826 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance_ex()
1827 ce->ce_flags |= ZEND_ACC_HAS_AST_PROPERTIES; in zend_do_inheritance_ex()
1837 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance_ex()
1838 ce->ce_flags |= ZEND_ACC_HAS_AST_PROPERTIES; in zend_do_inheritance_ex()
1877 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_inheritance_ex()
1878 ce->ce_flags |= ZEND_ACC_HAS_AST_STATICS; in zend_do_inheritance_ex()
1955 if (ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) { in zend_do_inheritance_ex()
1956 ce->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; in zend_do_inheritance_ex()
1959 …ce->ce_flags |= parent_ce->ce_flags & (ZEND_HAS_STATIC_IN_METHODS | ZEND_ACC_HAS_TYPE_HINTS | ZEND… in zend_do_inheritance_ex()
2053 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in do_inherit_iface_constant()
2054 ce->ce_flags |= ZEND_ACC_HAS_AST_CONSTANTS; in do_inherit_iface_constant()
2055 if (iface->ce_flags & ZEND_ACC_IMMUTABLE) { in do_inherit_iface_constant()
2079 if (!(ce->ce_flags & ZEND_ACC_INTERFACE)) { in do_interface_implementation()
2124 ZEND_ASSERT(ce->ce_flags & ZEND_ACC_LINKED); in zend_do_implement_interface()
2169 if (!(iface->ce_flags & ZEND_ACC_LINKED)) { in zend_do_implement_interfaces()
2172 if (UNEXPECTED(!(iface->ce_flags & ZEND_ACC_INTERFACE))) { in zend_do_implement_interfaces()
2202 if (!(ce->ce_flags & ZEND_ACC_CACHED)) { in zend_do_implement_interfaces()
2212 ce->ce_flags |= ZEND_ACC_RESOLVED_INTERFACES; in zend_do_implement_interfaces()
2230 if (ce->ce_flags & ZEND_ACC_TRAIT) { in zend_inheritance_check_override()
2270 return fn->common.scope->ce_flags & ZEND_ACC_TRAIT ? ce : fn->common.scope; in fixup_trait_scope()
2284 (existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_add_trait_method()
2304 } else if (UNEXPECTED((existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT) in zend_add_trait_method()
2337 if (!(existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_add_trait_method()
2350 if (fn->common.scope->ce_flags & ZEND_ACC_TRAIT) { in zend_fixup_trait_method()
2355 ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in zend_fixup_trait_method()
2358 ce->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; in zend_fixup_trait_method()
2450 if (UNEXPECTED((trait->ce_flags & ZEND_ACC_TRAIT) != ZEND_ACC_TRAIT)) { in zend_check_trait_usage()
2489 if (!trait || !(trait->ce_flags & ZEND_ACC_LINKED)) { in zend_traits_init_trait_structures()
2518 if (!exclude_ce || !(exclude_ce->ce_flags & ZEND_ACC_LINKED)) { in zend_traits_init_trait_structures()
2563 if (!trait || !(trait->ce_flags & ZEND_ACC_LINKED)) { in zend_traits_init_trait_structures()
2755 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_do_traits_constant_binding()
2756 ce->ce_flags |= ZEND_ACC_HAS_AST_CONSTANTS; in zend_do_traits_constant_binding()
2867 if ((ce->ce_flags & ZEND_ACC_READONLY_CLASS) && !(property_info->flags & ZEND_ACC_READONLY)) { in zend_do_traits_property_binding()
2928 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_do_traits_property_binding()
2988 bool is_explicit_abstract = (ce->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS) != 0; in zend_verify_abstract_class()
2989 bool can_be_abstract = (ce->ce_flags & (ZEND_ACC_ENUM|ZEND_ACC_ANON_CLASS)) == 0; in zend_verify_abstract_class()
3041 ce->ce_flags &= ~ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; in zend_verify_abstract_class()
3107 ce->ce_flags |= ZEND_ACC_UNRESOLVED_VARIANCE; in get_or_init_obligations_for_class()
3181 if (dependency_ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE) { in check_variance_obligation()
3185 (dependency_ce->ce_flags & ZEND_ACC_CACHEABLE) ? dependency_ce : NULL; in check_variance_obligation()
3260 ce->ce_flags &= ~ZEND_ACC_UNRESOLVED_VARIANCE; in resolve_delayed_variance_obligations()
3261 ce->ce_flags |= ZEND_ACC_LINKED; in resolve_delayed_variance_obligations()
3305 ce->ce_flags &= ~ZEND_ACC_IMMUTABLE; in zend_lazy_class_load()
3428 is_cacheable &= (ce)->ce_flags; \
3434 is_cacheable &= (ce)->ce_flags; \
3447 uint32_t is_cacheable = ce->ce_flags & ZEND_ACC_IMMUTABLE; in zend_do_link_class()
3453 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_LINKED)); in zend_do_link_class()
3476 if (UNEXPECTED(!(trait->ce_flags & ZEND_ACC_TRAIT))) { in zend_do_link_class()
3514 if (ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_link_class()
3522 if (ce->ce_flags & ZEND_ACC_IMMUTABLE && is_cacheable) { in zend_do_link_class()
3544 if (ce->ce_flags & ZEND_ACC_IMMUTABLE) { in zend_do_link_class()
3549 } else if (ce->ce_flags & ZEND_ACC_FILE_CACHED) { in zend_do_link_class()
3552 ce->ce_flags &= ~ZEND_ACC_FILE_CACHED; in zend_do_link_class()
3564 if (ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_link_class()
3571 if (!(parent->ce_flags & ZEND_ACC_LINKED)) { in zend_do_link_class()
3596 if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT)) in zend_do_link_class()
3597 && (ce->ce_flags & (ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) in zend_do_link_class()
3601 if (ce->ce_flags & ZEND_ACC_ENUM) { in zend_do_link_class()
3626 if (ce->__tostring && !(ce->ce_flags & ZEND_ACC_TRAIT) in zend_do_link_class()
3629 ce->ce_flags |= ZEND_ACC_RESOLVED_INTERFACES; in zend_do_link_class()
3649 if (!(ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE)) { in zend_do_link_class()
3651 ce->ce_flags |= ZEND_ACC_LINKED; in zend_do_link_class()
3653 ce->ce_flags |= ZEND_ACC_NEARLY_LINKED; in zend_do_link_class()
3655 ce->ce_flags |= ZEND_ACC_CACHEABLE; in zend_do_link_class()
3658 if (ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE) { in zend_do_link_class()
3661 if (ce->ce_flags & ZEND_ACC_CACHEABLE) { in zend_do_link_class()
3662 ce->ce_flags &= ~ZEND_ACC_CACHEABLE; in zend_do_link_class()
3775 if (EXPECTED(!(ce->ce_flags & ZEND_ACC_PRELOADED))) { in register_early_bound_ce()
3803 if (ce->ce_flags & ZEND_ACC_LINKED) { in zend_try_early_bind()
3812 uint32_t is_cacheable = ce->ce_flags & ZEND_ACC_IMMUTABLE; in zend_try_early_bind()
3835 if (ce->ce_flags & ZEND_ACC_IMMUTABLE) { in zend_try_early_bind()
3838 } else if (ce->ce_flags & ZEND_ACC_FILE_CACHED) { in zend_try_early_bind()
3841 ce->ce_flags &= ~ZEND_ACC_FILE_CACHED; in zend_try_early_bind()
3863 …if ((ce->ce_flags & (ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_E… in zend_try_early_bind()
3867 ZEND_ASSERT(!(ce->ce_flags & ZEND_ACC_UNRESOLVED_VARIANCE)); in zend_try_early_bind()
3868 ce->ce_flags |= ZEND_ACC_LINKED; in zend_try_early_bind()