Lines Matching refs:ce

645 		const zend_class_entry *ce, zval *value,  in zend_verify_type_error_common()  argument
661 if (ce) { in zend_verify_type_error_common()
662 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_verify_type_error_common()
668 *need_kind = ZSTR_VAL(ce->name); in zend_verify_type_error_common()
718 int arg_num, const zend_class_entry *ce, zval *value) in zend_verify_arg_error() argument
726 zf, arg_info, ce, value, in zend_verify_arg_error()
825 zval *arg, zend_class_entry **ce, void **cache_slot, in zend_check_type() argument
836 *ce = (zend_class_entry *) *cache_slot; in zend_check_type()
838 …*ce = zend_fetch_class(ZEND_TYPE_NAME(type), (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD… in zend_check_type()
839 if (UNEXPECTED(!*ce)) { in zend_check_type()
842 *cache_slot = (void *) *ce; in zend_check_type()
845 return instanceof_function(Z_OBJCE_P(arg), *ce); in zend_check_type()
876 zend_class_entry *ce; in zend_verify_arg_type() local
886 …if (UNEXPECTED(!zend_check_type(cur_arg_info->type, arg, &ce, cache_slot, default_value, zf->commo… in zend_verify_arg_type()
887 zend_verify_arg_error(zf, cur_arg_info, arg_num, ce, arg); in zend_verify_arg_type()
939 const zend_function *zf, const zend_class_entry *ce, zval *value) in zend_verify_return_error() argument
946 zf, arg_info, ce, value, in zend_verify_return_error()
955 const zend_function *zf, const zend_class_entry *ce, zval *value) in zend_verify_internal_return_error() argument
962 zf, arg_info, ce, value, in zend_verify_internal_return_error()
990 zend_class_entry *ce = NULL; in zend_verify_internal_return_type() local
1001 if (UNEXPECTED(!zend_check_type(ret_info->type, ret, &ce, &dummy_cache_slot, NULL, NULL, 1))) { in zend_verify_internal_return_type()
1002 zend_verify_internal_return_error(zf, ce, ret); in zend_verify_internal_return_type()
1013 zend_class_entry *ce = NULL; in zend_verify_return_type() local
1015 if (UNEXPECTED(!zend_check_type(ret_info->type, ret, &ce, cache_slot, NULL, NULL, 1))) { in zend_verify_return_type()
1016 zend_verify_return_error(zf, ce, ret); in zend_verify_return_type()
1025 zend_class_entry *ce = NULL; in zend_verify_missing_return_type() local
1028 ce = (zend_class_entry*) *cache_slot; in zend_verify_missing_return_type()
1030ce = zend_fetch_class(ZEND_TYPE_NAME(ret_info->type), (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO… in zend_verify_missing_return_type()
1031 if (ce) { in zend_verify_missing_return_type()
1032 *cache_slot = (void*)ce; in zend_verify_missing_return_type()
1036 zend_verify_return_error(zf, ce, NULL); in zend_verify_missing_return_type()
1674 zend_class_entry *ce = Z_OBJCE_P(container); in zend_fetch_dimension_address() local
1677 …r(E_NOTICE, "Indirect modification of overloaded element of %s has no effect", ZSTR_VAL(ce->name)); in zend_fetch_dimension_address()
1685 zend_class_entry *ce = Z_OBJCE_P(container); in zend_fetch_dimension_address() local
1686 …r(E_NOTICE, "Indirect modification of overloaded element of %s has no effect", ZSTR_VAL(ce->name)); in zend_fetch_dimension_address()
1961 zend_class_entry *ce; in zend_fetch_static_property_address() local
1976 if (varname_type == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(varname))) != NULL)) { in zend_fetch_static_property_address()
1980 if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { in zend_fetch_static_property_address()
1982 …zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_V… in zend_fetch_static_property_address()
1991 if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(class_name))) == NULL)) { in zend_fetch_static_property_address()
1992ce = zend_fetch_class_by_name(Z_STR_P(class_name), class_name + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND… in zend_fetch_static_property_address()
1993 if (UNEXPECTED(ce == NULL)) { in zend_fetch_static_property_address()
1999 CACHE_PTR(Z_CACHE_SLOT_P(class_name), ce); in zend_fetch_static_property_address()
2004 ce = zend_fetch_class(NULL, op2.num); in zend_fetch_static_property_address()
2005 if (UNEXPECTED(ce == NULL)) { in zend_fetch_static_property_address()
2012 ce = Z_CE_P(EX_VAR(op2.var)); in zend_fetch_static_property_address()
2015 EXPECTED(CACHED_PTR(Z_CACHE_SLOT_P(varname)) == ce)) { in zend_fetch_static_property_address()
2019 if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { in zend_fetch_static_property_address()
2021 …zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_V… in zend_fetch_static_property_address()
2030 retval = zend_std_get_static_property(ce, name, type == BP_VAR_IS); in zend_fetch_static_property_address()
2041 CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(varname), ce, retval); in zend_fetch_static_property_address()
2740 …zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(object->ce->name), Z_STRVAL_P… in zend_init_dynamic_call_array()