Lines Matching refs:iface

3686 static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) …  in do_implement_interface()
3688 …ce->ce_flags & ZEND_ACC_INTERFACE) && iface->interface_gets_implemented && iface->interface_gets_i… in do_implement_interface()
3689 zend_error(E_CORE_ERROR, "Class %s could not implement interface %s", ce->name, iface->name); in do_implement_interface()
3691 if (ce == iface) { in do_implement_interface()
3697 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS… in zend_do_inherit_interfaces()
3700 zend_uint i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
3716 entry = iface->interfaces[if_num]; in zend_do_inherit_interfaces()
3876 …nst zval **parent_constant, const zend_hash_key *hash_key, const zend_class_entry *iface) /* {{{ */ in do_inherit_constant_check() argument
3882 …rit previously-inherited or override constant %s from interface %s", hash_key->arKey, iface->name); in do_inherit_constant_check()
3892 zend_class_entry **iface = va_arg(args, zend_class_entry**); in do_interface_constant_check() local
3894 do_inherit_constant_check(&(*iface)->constants_table, (const zval **) val, key, *iface); in do_interface_constant_check()
3900 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) … in zend_do_implement_interface()
3910 } else if (ce->interfaces[i] == iface) { in zend_do_implement_interface()
3914 …ILE_ERROR, "Class %s cannot implement previously implemented interface %s", ce->name, iface->name); in zend_do_implement_interface()
3920 …uments(&ce->constants_table TSRMLS_CC, (apply_func_args_t) do_interface_constant_check, 1, &iface); in zend_do_implement_interface()
3929 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
3931 …nts_table, &iface->constants_table, (copy_ctor_func_t) zval_add_ref, sizeof(zval *), (merge_checke… in zend_do_implement_interface()
3932 …zend_hash_merge_ex(&ce->function_table, &iface->function_table, (copy_ctor_func_t) do_inherit_meth… in zend_do_implement_interface()
3934 do_implement_interface(ce, iface TSRMLS_CC); in zend_do_implement_interface()
3935 zend_do_inherit_interfaces(ce, iface TSRMLS_CC); in zend_do_implement_interface()