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)
1740 #define Z_PARAM_OBJ_OR_CLASS_NAME_EX(dest, allow_null) \ argument
1742 if (UNEXPECTED(!zend_parse_arg_obj_or_class_name(_arg, &dest, allow_null))) { \
1743 …_expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_CLASS_NAME_OR_NULL : Z_EXPECTED_OBJECT_OR_CLASS…
1754 #define Z_PARAM_OBJ_OR_STR_EX(destination_object, destination_string, allow_null) \ argument
1756 …nd_parse_arg_obj_or_str(_arg, &destination_object, NULL, &destination_string, allow_null, _i))) { \
1757 _expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_STRING_OR_NULL : Z_EXPECTED_OBJECT_OR_STRING; \
1768 #define Z_PARAM_OBJ_OF_CLASS_OR_STR_EX(destination_object, base_ce, destination_string, allow_null)… argument
1770 …parse_arg_obj_or_str(_arg, &destination_object, base_ce, &destination_string, allow_null, _i))) { \
1773 …_error_code = allow_null ? ZPP_ERROR_WRONG_CLASS_OR_STRING_OR_NULL : ZPP_ERROR_WRONG_CLASS_OR_STRI…
1776 … _expected_type = allow_null ? Z_EXPECTED_OBJECT_OR_STRING_OR_NULL : Z_EXPECTED_OBJECT_OR_STRING; \
1852 #define Z_PARAM_ARRAY_HT_OR_LONG_EX(dest_ht, dest_long, is_null, allow_null) \ argument
1854 …if (UNEXPECTED(!zend_parse_arg_array_ht_or_long(_arg, &dest_ht, &dest_long, &is_null, allow_null, …
1855 _expected_type = allow_null ? Z_EXPECTED_ARRAY_OR_LONG_OR_NULL : Z_EXPECTED_ARRAY_OR_LONG; \
1997 #define Z_PARAM_OBJ_OF_CLASS_OR_LONG_EX(dest_obj, _ce, dest_long, is_null, allow_null) \ argument
1999 …if (UNEXPECTED(!zend_parse_arg_obj_or_long(_arg, &dest_obj, _ce, &dest_long, &is_null, allow_null,…
2001 …_error_code = allow_null ? ZPP_ERROR_WRONG_CLASS_OR_LONG_OR_NULL : ZPP_ERROR_WRONG_CLASS_OR_LONG; \
2137 #define Z_PARAM_ARRAY_HT_OR_STR_EX(dest_ht, dest_str, allow_null) \ argument
2139 if (UNEXPECTED(!zend_parse_arg_array_ht_or_str(_arg, &dest_ht, &dest_str, allow_null, _i))) { \
2140 _expected_type = allow_null ? Z_EXPECTED_ARRAY_OR_STRING_OR_NULL : Z_EXPECTED_ARRAY_OR_STRING; \
2151 #define Z_PARAM_STR_OR_LONG_EX(dest_str, dest_long, is_null, allow_null) \ argument
2153 …if (UNEXPECTED(!zend_parse_arg_str_or_long(_arg, &dest_str, &dest_long, &is_null, allow_null, _i))…
2154 _expected_type = allow_null ? Z_EXPECTED_STRING_OR_LONG_OR_NULL : Z_EXPECTED_STRING_OR_LONG; \
2394 …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
2396 if (allow_null) { in zend_parse_arg_array_ht_or_long()
2405 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_array_ht_or_long()
2443 …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
2445 if (allow_null) { in zend_parse_arg_obj_or_long()
2454 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_obj_or_long()
2509 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
2517 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_array_ht_or_str()
2528 bool *is_null, bool allow_null, uint32_t arg_num) in zend_parse_arg_str_or_long() argument
2530 if (allow_null) { in zend_parse_arg_str_or_long()
2538 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_str_or_long()
2548 zval *arg, zend_class_entry **destination, bool allow_null in zend_parse_arg_obj_or_class_name() argument
2556 } else if (allow_null && EXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_parse_arg_obj_or_class_name()
2566 …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
2577 return zend_parse_arg_str(arg, destination_string, allow_null, arg_num); in zend_parse_arg_obj_or_str()