iface 514 Zend/zend.h int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type TSRMLS_DC); /* a class implements this interface */ iface 3684 Zend/zend_compile.c static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) /* {{{ */ iface 3686 Zend/zend_compile.c if (!(ce->ce_flags & ZEND_ACC_INTERFACE) && iface->interface_gets_implemented && iface->interface_gets_implemented(iface, ce TSRMLS_CC) == FAILURE) { iface 3687 Zend/zend_compile.c zend_error(E_CORE_ERROR, "Class %s could not implement interface %s", ce->name, iface->name); iface 3689 Zend/zend_compile.c if (ce == iface) { iface 3695 Zend/zend_compile.c ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC) /* {{{ */ iface 3698 Zend/zend_compile.c zend_uint i, ce_num, if_num = iface->num_interfaces; iface 3714 Zend/zend_compile.c entry = iface->interfaces[if_num]; iface 3874 Zend/zend_compile.c static zend_bool do_inherit_constant_check(HashTable *child_constants_table, const zval **parent_constant, const zend_hash_key *hash_key, const zend_class_entry *iface) /* {{{ */ iface 3880 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot inherit previously-inherited or override constant %s from interface %s", hash_key->arKey, iface->name); iface 3890 Zend/zend_compile.c zend_class_entry **iface = va_arg(args, zend_class_entry**); iface 3892 Zend/zend_compile.c do_inherit_constant_check(&(*iface)->constants_table, (const zval **) val, key, *iface); iface 3898 Zend/zend_compile.c ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC) /* {{{ */ iface 3908 Zend/zend_compile.c } else if (ce->interfaces[i] == iface) { iface 3912 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Class %s cannot implement previously implemented interface %s", ce->name, iface->name); iface 3918 Zend/zend_compile.c zend_hash_apply_with_arguments(&ce->constants_table TSRMLS_CC, (apply_func_args_t) do_interface_constant_check, 1, &iface); iface 3927 Zend/zend_compile.c ce->interfaces[ce->num_interfaces++] = iface; iface 3929 Zend/zend_compile.c zend_hash_merge_ex(&ce->constants_table, &iface->constants_table, (copy_ctor_func_t) zval_add_ref, sizeof(zval *), (merge_checker_func_t) do_inherit_constant_check, iface); iface 3930 Zend/zend_compile.c zend_hash_merge_ex(&ce->function_table, &iface->function_table, (copy_ctor_func_t) do_inherit_method, sizeof(zend_function), (merge_checker_func_t) do_inherit_method_check, ce); iface 3932 Zend/zend_compile.c do_implement_interface(ce, iface TSRMLS_CC); iface 3933 Zend/zend_compile.c zend_do_inherit_interfaces(ce, iface TSRMLS_CC); iface 545 Zend/zend_compile.h ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS_DC); iface 546 Zend/zend_compile.h ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC); iface 5148 Zend/zend_vm_def.h zend_class_entry *iface; iface 5152 Zend/zend_vm_def.h iface = CACHED_PTR(opline->op2.literal->cache_slot); iface 5154 Zend/zend_vm_def.h iface = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.literal + 1, opline->extended_value TSRMLS_CC); iface 5155 Zend/zend_vm_def.h if (UNEXPECTED(iface == NULL)) { iface 5159 Zend/zend_vm_def.h CACHE_PTR(opline->op2.literal->cache_slot, iface); iface 5162 Zend/zend_vm_def.h if (UNEXPECTED((iface->ce_flags & ZEND_ACC_INTERFACE) == 0)) { iface 5163 Zend/zend_vm_def.h zend_error_noreturn(E_ERROR, "%s cannot implement %s - it is not an interface", ce->name, iface->name); iface 5165 Zend/zend_vm_def.h zend_do_implement_interface(ce, iface TSRMLS_CC); iface 1715 Zend/zend_vm_execute.h zend_class_entry *iface; iface 1719 Zend/zend_vm_execute.h iface = CACHED_PTR(opline->op2.literal->cache_slot); iface 1721 Zend/zend_vm_execute.h iface = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.literal + 1, opline->extended_value TSRMLS_CC); iface 1722 Zend/zend_vm_execute.h if (UNEXPECTED(iface == NULL)) { iface 1726 Zend/zend_vm_execute.h CACHE_PTR(opline->op2.literal->cache_slot, iface); iface 1729 Zend/zend_vm_execute.h if (UNEXPECTED((iface->ce_flags & ZEND_ACC_INTERFACE) == 0)) { iface 1730 Zend/zend_vm_execute.h zend_error_noreturn(E_ERROR, "%s cannot implement %s - it is not an interface", ce->name, iface->name); iface 1732 Zend/zend_vm_execute.h zend_do_implement_interface(ce, iface TSRMLS_CC); iface 668 ext/gd/libgd/webpimg.c vpx_codec_iface_t* iface = &vpx_codec_vp8_cx_algo; iface 687 ext/gd/libgd/webpimg.c res = vpx_codec_enc_config_default(iface, &cfg, 0); iface 696 ext/gd/libgd/webpimg.c res = vpx_codec_enc_init(&enc, iface, &cfg, 0);