Home
last modified time | relevance | path

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

/PHP-7.2/Zend/
H A Dzend_API.h102 …_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, ZEND_TYPE_ENCODE_CLASS_CONST(#classn… argument
103 …ne ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) { #name, ZEND_TYPE_ENCODE(IS_ARRAY… argument
104 …ZEND_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null) { #name, ZEND_TYPE_ENCODE(IS_CALLABLE… argument
105 …ND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, ZEND_TYPE_ENCODE(type_hint, al… argument
107 …RIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, ZEND_TYPE_ENCODE(type_hint, al… argument
108 …_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, ZEND_TYPE_ENCODE_CLASS_CONST(#classn… argument
114 #define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO(name, class_name, allow_null) \ argument
115 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, 0, -1, class_name, allow_null)
117 …D_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null) \ argument
120 #define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(name, type, allow_null) \ argument
[all …]
H A Dzend_types.h142 #define ZEND_TYPE_ENCODE(code, allow_null) \ argument
143 (((code) << Z_L(1)) | ((allow_null) ? Z_L(0x1) : Z_L(0x0)))
145 #define ZEND_TYPE_ENCODE_CLASS(class_name, allow_null) \ argument
146 (((uintptr_t)(class_name)) | ((allow_null) ? Z_L(0x1) : Z_L(0)))
154 #define ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name) \ argument
155 ZEND_TYPE_ENCODE_CLASS_CONST_Q2(ZEND_TYPE_ENCODE_CLASS_CONST_ ##allow_null, class_name)
156 #define ZEND_TYPE_ENCODE_CLASS_CONST(class_name, allow_null) \ argument
157 ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name)
H A Dzend_compile.c5408 static void zend_compile_typename(zend_ast *ast, zend_arg_info *arg_info, zend_bool allow_null) /* … in zend_compile_typename() argument
5411 arg_info->type = ZEND_TYPE_ENCODE(ast->attr, allow_null); in zend_compile_typename()
5422 arg_info->type = ZEND_TYPE_ENCODE(type, allow_null); in zend_compile_typename()
5433 arg_info->type = ZEND_TYPE_ENCODE_CLASS(class_name, allow_null); in zend_compile_typename()
5447 zend_bool allow_null = 0; in zend_compile_params() local
5457 allow_null = 1; in zend_compile_params()
5461 zend_compile_typename(return_type_ast, arg_infos, allow_null); in zend_compile_params()
5544 zend_bool allow_null; in zend_compile_params() local
5552 allow_null = has_null_default || is_explicitly_nullable; in zend_compile_params()
5555 zend_compile_typename(type_ast, arg_info, allow_null); in zend_compile_params()
H A Dzend_API.c2312 zend_bool allow_null = 0; in zend_register_functions() local
2317 allow_null = 1; in zend_register_functions()
2320 new_arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(str, allow_null); in zend_register_functions()
/PHP-7.2/ext/opcache/
H A Dzend_persist_calc.c230 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in zend_persist_op_array_calc_ex() local
233 arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null); in zend_persist_op_array_calc_ex()
H A Dzend_file_cache.c479 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(p->type); local
485 (allow_null ? (Z_UL(1) << (sizeof(zend_type)*8-2)) : Z_UL(0)) | /* type allow null */
1127 …zend_bool allow_null = (p->type & (Z_UL(1) << (sizeof(zend_type)*8-2))) != 0; /* type allow null */ local
1131 p->type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null);
H A Dzend_persist.c528 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in zend_persist_op_array_ex() local
531 arg_info[i].type = ZEND_TYPE_ENCODE_CLASS(type_name, allow_null); in zend_persist_op_array_ex()
H A DZendAccelerator.c544 zend_bool allow_null = ZEND_TYPE_ALLOW_NULL(arg_info[i].type); in accel_copy_permanent_strings() local
545 …].type = ZEND_TYPE_ENCODE_CLASS(new_interned_string(ZEND_TYPE_NAME(arg_info[i].type)), allow_null); in accel_copy_permanent_strings()

Completed in 75 milliseconds