Lines Matching refs:allow_null

138 #define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) \  argument
139 …{ #name, ZEND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL…
140 #define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_val… argument
141 …{ #name, ZEND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), defa…
142 #define ZEND_ARG_VARIADIC_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) \ argument
143 …{ #name, ZEND_TYPE_INIT_CODE(type_hint, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 1, 0)), NULL…
154 #define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null) \ argument
155 …{ #name, ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, …
156 #define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_val… argument
157 …{ #name, ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, …
158 #define ZEND_ARG_VARIADIC_OBJ_INFO(pass_by_ref, name, class_name, allow_null) \ argument
159 …{ #name, ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 1, …
162 #define ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) \ argument
163 …{ #name, ZEND_TYPE_INIT_CODE(IS_ARRAY, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NULL …
164 #define ZEND_ARG_CALLABLE_INFO(pass_by_ref, name, allow_null) \ argument
165 …{ #name, ZEND_TYPE_INIT_CODE(IS_CALLABLE, allow_null, _ZEND_ARG_INFO_FLAGS(pass_by_ref, 0, 0)), NU…
167 …RN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, is_tentative_re… argument
170 …ZEND_TYPE_INIT_CLASS_CONST(#class_name, allow_null, _ZEND_ARG_INFO_FLAGS(return_reference, 0, is_t…
172 …IN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null) \ argument
173 …_ARG_WITH_RETURN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, 0)
175 …H_TENTATIVE_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null) \ argument
176 …_ARG_WITH_RETURN_OBJ_INFO_EX2(name, return_reference, required_num_args, class_name, allow_null, 1)
178 #define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO(name, class_name, allow_null) \ argument
179 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX2(name, 0, -1, class_name, allow_null, 0)
201 …_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, is_tentative_re… argument
203 …{ (const char*)(uintptr_t)(required_num_args), ZEND_TYPE_INIT_CODE(type, allow_null, _ZEND_ARG_INF…
205 …D_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null) \ argument
206 …BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, 0)
208 …G_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null) \ argument
209 …BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, return_reference, required_num_args, type, allow_null, 1)
211 #define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(name, type, allow_null) \ argument
212 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2(name, 0, -1, type, allow_null, 0)
1743 #define Z_PARAM_OBJ_OR_CLASS_NAME_EX(dest, allow_null) \ argument
1745 if (UNEXPECTED(!zend_parse_arg_obj_or_class_name(_arg, &dest, allow_null))) { \
1746 …_expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL : Z_EXPECTED_OBJECT_OR_CLASS…
1757 #define Z_PARAM_OBJ_OR_STR_EX(destination_object, destination_string, allow_null) \ argument
1759 …nd_parse_arg_obj_or_str(_arg, &destination_object, NULL, &destination_string, allow_null, _i))) { \
1760 _expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_STRING_OR_NULL : Z_EXPECTED_OBJECT_OR_STRING; \
1771 #define Z_PARAM_OBJ_OF_CLASS_OR_STR_EX(destination_object, base_ce, destination_string, allow_null)… argument
1773 …parse_arg_obj_or_str(_arg, &destination_object, base_ce, &destination_string, allow_null, _i))) { \
1776 …_error_code = allow_null ? ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL : ZPP_ERROR_WRONG_CLASS_OR_STRI…
1779 … _expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_STRING_OR_NULL : Z_EXPECTED_OBJECT_OR_STRING; \
1855 #define Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, is_null, allow_null) \ argument
1857 …if (UNEXPECTED(!zend_parse_arg_array_ht_or_long(_arg, &dest_ht, &dest_long, &is_null, allow_null, …
1858 _expected_type = allow_null ? Z_EXPECTED_ARRAY_OR_LONG_OR_NULL : Z_EXPECTED_ARRAY_OR_LONG; \
2000 #define Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX(dest_obj, _ce, dest_long, is_null, allow_null) \ argument
2002 …if (UNEXPECTED(!zend_parse_arg_obj_or_long(_arg, &dest_obj, _ce, &dest_long, &is_null, allow_null,…
2004 …_error_code = allow_null ? ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL : ZPP_ERROR_WRONG_CLASS_OR_LONG; \
2140 #define Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, allow_null) \ argument
2142 if (UNEXPECTED(!zend_parse_arg_array_ht_or_str(_arg, &dest_ht, &dest_str, allow_null, _i))) { \
2143 _expected_type = allow_null ? Z_EXPECTED_ARRAY_OR_STRING_OR_NULL : Z_EXPECTED_ARRAY_OR_STRING; \
2154 #define Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, is_null, allow_null) \ argument
2156 …if (UNEXPECTED(!zend_parse_arg_str_or_long(_arg, &dest_str, &dest_long, &is_null, allow_null, _i))…
2157 _expected_type = allow_null ? Z_EXPECTED_STRING_OR_LONG_OR_NULL : Z_EXPECTED_STRING_OR_LONG; \
2397 …zval *arg, HashTable **dest_ht, zend_long *dest_long, bool *is_null, bool allow_null, uint32_t arg… in zend_parse_arg_array_ht_or_long() argument
2399 if (allow_null) { in zend_parse_arg_array_ht_or_long()
2408 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_array_ht_or_long()
2446 …t_obj, zend_class_entry *ce, zend_long *dest_long, bool *is_null, bool allow_null, uint32_t arg_num in zend_parse_arg_obj_or_long() argument
2448 if (allow_null) { in zend_parse_arg_obj_or_long()
2457 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_obj_or_long()
2512 zval *arg, HashTable **dest_ht, zend_string **dest_str, bool allow_null, uint32_t arg_num) in zend_parse_arg_array_ht_or_str() argument
2520 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_array_ht_or_str()
2531 bool *is_null, bool allow_null, uint32_t arg_num) in zend_parse_arg_str_or_long() argument
2533 if (allow_null) { in zend_parse_arg_str_or_long()
2541 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_str_or_long()
2551 zval *arg, zend_class_entry **destination, bool allow_null in zend_parse_arg_obj_or_class_name() argument
2559 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_obj_or_class_name()
2569 …ect, zend_class_entry *base_ce, zend_string **destination_string, bool allow_null, uint32_t arg_num in zend_parse_arg_obj_or_str() argument
2580 return zend_parse_arg_str(arg, destination_string, allow_null, arg_num); in zend_parse_arg_obj_or_str()