Lines Matching refs:zf

715 		const zend_function *zf, const zend_arg_info *arg_info,  in zend_verify_type_error_common()  argument
722 *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_type_error_common()
723 if (zf->common.scope) { in zend_verify_type_error_common()
725 *fclass = ZSTR_VAL(zf->common.scope->name); in zend_verify_type_error_common()
788 const zend_function *zf, const zend_arg_info *arg_info, in zend_verify_arg_error() argument
797 zf, arg_info, ce, value, in zend_verify_arg_error()
800 if (zf->common.type == ZEND_USER_FUNCTION) { in zend_verify_arg_error()
944 static zend_always_inline int zend_verify_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, … in zend_verify_arg_type() argument
949 if (EXPECTED(arg_num <= zf->common.num_args)) { in zend_verify_arg_type()
950 cur_arg_info = &zf->common.arg_info[arg_num-1]; in zend_verify_arg_type()
951 } else if (UNEXPECTED(zf->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_arg_type()
952 cur_arg_info = &zf->common.arg_info[zf->common.num_args]; in zend_verify_arg_type()
958 …if (UNEXPECTED(!zend_check_type(cur_arg_info->type, arg, &ce, cache_slot, default_value, zf->commo… in zend_verify_arg_type()
959 zend_verify_arg_error(zf, cur_arg_info, arg_num, ce, arg); in zend_verify_arg_type()
1011 const zend_function *zf, const zend_class_entry *ce, zval *value) in zend_verify_return_error() argument
1013 const zend_arg_info *arg_info = &zf->common.arg_info[-1]; in zend_verify_return_error()
1018 zf, arg_info, ce, value, in zend_verify_return_error()
1027 const zend_function *zf, const zend_class_entry *ce, zval *value) in zend_verify_internal_return_error() argument
1029 const zend_arg_info *arg_info = &zf->common.arg_info[-1]; in zend_verify_internal_return_error()
1034 zf, arg_info, ce, value, in zend_verify_internal_return_error()
1041 static ZEND_COLD void zend_verify_void_return_error(const zend_function *zf, const char *returned_m… in zend_verify_void_return_error() argument
1043 const char *fname = ZSTR_VAL(zf->common.function_name); in zend_verify_void_return_error()
1047 if (zf->common.scope) { in zend_verify_void_return_error()
1049 fclass = ZSTR_VAL(zf->common.scope->name); in zend_verify_void_return_error()
1059 static int zend_verify_internal_return_type(zend_function *zf, zval *ret) in zend_verify_internal_return_type() argument
1061 zend_internal_arg_info *ret_info = zf->internal_function.arg_info - 1; in zend_verify_internal_return_type()
1067 zend_verify_void_return_error(zf, zend_zval_type_name(ret), ""); in zend_verify_internal_return_type()
1074 zend_verify_internal_return_error(zf, ce, ret); in zend_verify_internal_return_type()
1082 static zend_always_inline void zend_verify_return_type(zend_function *zf, zval *ret, void **cache_s… in zend_verify_return_type() argument
1084 zend_arg_info *ret_info = zf->common.arg_info - 1; in zend_verify_return_type()
1088 zend_verify_return_error(zf, ce, ret); in zend_verify_return_type()
1092 static ZEND_COLD int zend_verify_missing_return_type(const zend_function *zf, void **cache_slot) in zend_verify_missing_return_type() argument
1094 zend_arg_info *ret_info = zf->common.arg_info - 1; in zend_verify_missing_return_type()
1108 zend_verify_return_error(zf, ce, NULL); in zend_verify_missing_return_type()
3594 ZEND_API void ZEND_FASTCALL zend_check_internal_arg_type(zend_function *zf, uint32_t arg_num, zval … in zend_check_internal_arg_type() argument
3598 zend_verify_arg_type(zf, arg_num, arg, NULL, &dummy_cache_slot); in zend_check_internal_arg_type()
3601 ZEND_API int ZEND_FASTCALL zend_check_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval… in zend_check_arg_type() argument
3603 return zend_verify_arg_type(zf, arg_num, arg, default_value, cache_slot); in zend_check_arg_type()