Home
last modified time | relevance | path

Searched refs:allow_null (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_API.h100 …_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, ZEND_TYPE_ENCODE_CLASS_CONST(#classn… argument
101 …ne ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) { #name, ZEND_TYPE_ENCODE(IS_ARRAY… argument
102 …ZEND_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null) { #name, ZEND_TYPE_ENCODE(IS_CALLABLE… argument
103 …ND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, ZEND_TYPE_ENCODE(type_hint, al… argument
105 …RIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, ZEND_TYPE_ENCODE(type_hint, al… argument
106 …_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, ZEND_TYPE_ENCODE_CLASS_CONST(#classn… argument
112 #define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO(name, class_name, allow_null) \ argument
113 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, 0, -1, class_name, allow_null)
115 …D_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null) \ argument
118 #define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(name, type, allow_null) \ argument
[all …]
H A Dzend_types.h156 #define ZEND_TYPE_ENCODE(code, allow_null) \ argument
157 (((code) << Z_L(2)) | ((allow_null) ? Z_L(0x1) : Z_L(0x0)))
159 #define ZEND_TYPE_ENCODE_CE(ce, allow_null) \ argument
160 (((uintptr_t)(ce)) | ((allow_null) ? Z_L(0x3) : Z_L(0x2)))
162 #define ZEND_TYPE_ENCODE_CLASS(class_name, allow_null) \ argument
163 (((uintptr_t)(class_name)) | ((allow_null) ? Z_L(0x1) : Z_L(0x0)))
171 #define ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name) \ argument
172 ZEND_TYPE_ENCODE_CLASS_CONST_Q2(ZEND_TYPE_ENCODE_CLASS_CONST_ ##allow_null, class_name)
173 #define ZEND_TYPE_ENCODE_CLASS_CONST(class_name, allow_null) \ argument
174 ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name)
H A Dzend_API.c2303 zend_bool allow_null = 0; in zend_register_functions() local
2308 allow_null = 1; in zend_register_functions()
2311 new_arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(str, allow_null); in zend_register_functions()
H A Dzend_compile.c5301 zend_bool allow_null = force_allow_null; in zend_compile_typename() local
5305 allow_null = 1; in zend_compile_typename()
5310 return ZEND_TYPE_ENCODE(ast->attr, allow_null); in zend_compile_typename()
5321 type = ZEND_TYPE_ENCODE(type_code, allow_null); in zend_compile_typename()
5332 type = ZEND_TYPE_ENCODE_CLASS(class_name, allow_null); in zend_compile_typename()
/PHP-7.4/ext/opcache/
H A Dzend_persist_calc.c227 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in zend_persist_op_array_calc_ex() local
230 arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null); in zend_persist_op_array_calc_ex()
H A Dzend_persist.c500 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in zend_persist_op_array_ex() local
503 arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null); in zend_persist_op_array_ex()
H A DZendAccelerator.c614 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in accel_copy_permanent_strings() local
615 …].type = ZEND_TYPE_ENCODE_CLASS(new_interned_string(ZEND_TYPE_NAME(arg_info[i].type)), allow_null); in accel_copy_permanent_strings()

Completed in 71 milliseconds