Lines Matching refs:iface
714 static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ in do_implement_interface() argument
716 …ce->ce_flags & ZEND_ACC_INTERFACE) && iface->interface_gets_implemented && iface->interface_gets_i… in do_implement_interface()
717 …ORE_ERROR, "Class %s could not implement interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); in do_implement_interface()
719 if (UNEXPECTED(ce == iface)) { in do_implement_interface()
725 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface) /* {{… in zend_do_inherit_interfaces() argument
728 uint32_t i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
744 entry = iface->interfaces[if_num]; in zend_do_inherit_interfaces()
967 …, zend_class_constant *parent_constant, zend_string *name, const zend_class_entry *iface) /* {{{ */ in do_inherit_constant_check() argument
973 …ously-inherited or override constant %s from interface %s", ZSTR_VAL(name), ZSTR_VAL(iface->name)); in do_inherit_constant_check()
981 …zend_string *name, zend_class_constant *c, zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ in do_inherit_iface_constant() argument
983 if (do_inherit_constant_check(&ce->constants_table, c, name, iface)) { in do_inherit_iface_constant()
1002 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ in zend_do_implement_interface() argument
1015 } else if (ce->interfaces[i] == iface) { in zend_do_implement_interface()
1019 … cannot implement previously implemented interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); in zend_do_implement_interface()
1026 do_inherit_constant_check(&iface->constants_table, c, key, iface); in zend_do_implement_interface()
1036 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
1038 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->constants_table, key, c) { in zend_do_implement_interface()
1039 do_inherit_iface_constant(key, c, ce, iface); in zend_do_implement_interface()
1042 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->function_table, key, func) { in zend_do_implement_interface()
1050 do_implement_interface(ce, iface); in zend_do_implement_interface()
1051 zend_do_inherit_interfaces(ce, iface); in zend_do_implement_interface()