Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_API.h99 …_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, ZEND_TYPE_ENCODE_CLASS_CONST(#classn… argument
100 …ne ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) { #name, ZEND_TYPE_ENCODE(IS_ARRAY… argument
101 …ZEND_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null) { #name, ZEND_TYPE_ENCODE(IS_CALLABLE… argument
102 …ND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, ZEND_TYPE_ENCODE(type_hint, al… argument
104 …RIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, ZEND_TYPE_ENCODE(type_hint, al… argument
105 …_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, ZEND_TYPE_ENCODE_CLASS_CONST(#classn… argument
111 #define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO(name, class_name, allow_null) \ argument
112 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, 0, -1, class_name, allow_null)
114 …D_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null) \ argument
117 #define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(name, type, allow_null) \ argument
[all …]
H A Dzend_types.h145 #define ZEND_TYPE_ENCODE(code, allow_null) \ argument
146 (((code) << Z_L(1)) | ((allow_null) ? Z_L(0x1) : Z_L(0x0)))
148 #define ZEND_TYPE_ENCODE_CLASS(class_name, allow_null) \ argument
149 (((uintptr_t)(class_name)) | ((allow_null) ? Z_L(0x1) : Z_L(0)))
157 #define ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name) \ argument
158 ZEND_TYPE_ENCODE_CLASS_CONST_Q2(ZEND_TYPE_ENCODE_CLASS_CONST_ ##allow_null, class_name)
159 #define ZEND_TYPE_ENCODE_CLASS_CONST(class_name, allow_null) \ argument
160 ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name)
H A Dzend_compile.c5468 static void zend_compile_typename(zend_ast *ast, zend_arg_info *arg_info, zend_bool allow_null) /* … in zend_compile_typename() argument
5471 arg_info->type = ZEND_TYPE_ENCODE(ast->attr, allow_null); in zend_compile_typename()
5482 arg_info->type = ZEND_TYPE_ENCODE(type, allow_null); in zend_compile_typename()
5493 arg_info->type = ZEND_TYPE_ENCODE_CLASS(class_name, allow_null); in zend_compile_typename()
5507 zend_bool allow_null = 0; in zend_compile_params() local
5517 allow_null = 1; in zend_compile_params()
5521 zend_compile_typename(return_type_ast, arg_infos, allow_null); in zend_compile_params()
5604 zend_bool allow_null; in zend_compile_params() local
5613 allow_null = has_null_default || is_explicitly_nullable; in zend_compile_params()
5616 zend_compile_typename(type_ast, arg_info, allow_null); in zend_compile_params()
H A Dzend_API.c2321 zend_bool allow_null = 0; in zend_register_functions() local
2326 allow_null = 1; in zend_register_functions()
2329 new_arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(str, allow_null); in zend_register_functions()
/PHP-7.3/ext/opcache/
H A Dzend_persist_calc.c222 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in zend_persist_op_array_calc_ex() local
225 arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null); in zend_persist_op_array_calc_ex()
H A Dzend_file_cache.c502 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(p->type); local
508 (allow_null ? (Z_UL(1) << (sizeof(zend_type)*8-2)) : Z_UL(0)) | /* type allow null */
1131 …zend_bool allow_null = (p->type & (Z_UL(1) << (sizeof(zend_type)*8-2))) != 0; /* type allow null */ local
1135 p->type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null);
H A Dzend_persist.c555 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in zend_persist_op_array_ex() local
558 arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null); in zend_persist_op_array_ex()
H A DZendAccelerator.c600 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in accel_copy_permanent_strings() local
601 …].type = ZEND_TYPE_ENCODE_CLASS(new_interned_string(ZEND_TYPE_NAME(arg_info[i].type)), allow_null); in accel_copy_permanent_strings()

Completed in 80 milliseconds