Lines Matching refs:va
390 …or_variadic(zend_class_entry *error_ce, uint32_t arg_num, const char *format, va_list va) /* {{{ */ in zend_argument_error_variadic() argument
402 zend_vspprintf(&message, 0, format, va); in zend_argument_error_variadic()
414 va_list va; in zend_argument_error() local
416 va_start(va, format); in zend_argument_error()
417 zend_argument_error_variadic(error_ce, arg_num, format, va); in zend_argument_error()
418 va_end(va); in zend_argument_error()
424 va_list va; in zend_argument_type_error() local
426 va_start(va, format); in zend_argument_type_error()
427 zend_argument_error_variadic(zend_ce_type_error, arg_num, format, va); in zend_argument_type_error()
428 va_end(va); in zend_argument_type_error()
434 va_list va; in zend_argument_value_error() local
436 va_start(va, format); in zend_argument_value_error()
437 zend_argument_error_variadic(zend_ce_value_error, arg_num, format, va); in zend_argument_value_error()
438 va_end(va); in zend_argument_value_error()
809 static const char *zend_parse_arg_impl(zval *arg, va_list *va, const char **spec, char **error, uin… in zend_parse_arg_impl() argument
835 zend_long *p = va_arg(*va, zend_long *); in zend_parse_arg_impl()
839 is_null = va_arg(*va, bool *); in zend_parse_arg_impl()
850 double *p = va_arg(*va, double *); in zend_parse_arg_impl()
854 is_null = va_arg(*va, bool *); in zend_parse_arg_impl()
865 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
875 char **p = va_arg(*va, char **); in zend_parse_arg_impl()
876 size_t *pl = va_arg(*va, size_t *); in zend_parse_arg_impl()
885 char **p = va_arg(*va, char **); in zend_parse_arg_impl()
886 size_t *pl = va_arg(*va, size_t *); in zend_parse_arg_impl()
900 zend_string **str = va_arg(*va, zend_string **); in zend_parse_arg_impl()
914 zend_string **str = va_arg(*va, zend_string **); in zend_parse_arg_impl()
923 bool *p = va_arg(*va, bool *); in zend_parse_arg_impl()
927 is_null = va_arg(*va, bool *); in zend_parse_arg_impl()
938 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
949 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
960 HashTable **p = va_arg(*va, HashTable **); in zend_parse_arg_impl()
970 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
980 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
981 zend_class_entry *ce = va_arg(*va, zend_class_entry *); in zend_parse_arg_impl()
1000 zend_class_entry *lookup, **pce = va_arg(*va, zend_class_entry **); in zend_parse_arg_impl()
1038 zend_fcall_info *fci = va_arg(*va, zend_fcall_info *); in zend_parse_arg_impl()
1039 zend_fcall_info_cache *fcc = va_arg(*va, zend_fcall_info_cache *); in zend_parse_arg_impl()
1070 zval **p = va_arg(*va, zval **); in zend_parse_arg_impl()
1090 static zend_result zend_parse_arg(uint32_t arg_num, zval *arg, va_list *va, const char **spec, int … in zend_parse_arg() argument
1095 expected_type = zend_parse_arg_impl(arg, va, spec, &error, arg_num); in zend_parse_arg()
1124 va_list va; in zend_parse_parameter() local
1127 va_start(va, spec); in zend_parse_parameter()
1128 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
1129 va_end(va); in zend_parse_parameter()
1143 static zend_result zend_parse_va_args(uint32_t num_args, const char *type_spec, va_list *va, int fl… in zend_parse_va_args() argument
1253 varargs = va_arg(*va, zval **); in zend_parse_va_args()
1254 n_varargs = va_arg(*va, uint32_t *); in zend_parse_va_args()
1272 if (zend_parse_arg(i+1, arg, va, &type_spec, flags) == FAILURE) { in zend_parse_va_args()
1288 va_list va; in zend_parse_parameters_ex() local
1291 va_start(va, type_spec); in zend_parse_parameters_ex()
1292 retval = zend_parse_va_args(num_args, type_spec, &va, flags); in zend_parse_parameters_ex()
1293 va_end(va); in zend_parse_parameters_ex()
1301 va_list va; in zend_parse_parameters() local
1305 va_start(va, type_spec); in zend_parse_parameters()
1306 retval = zend_parse_va_args(num_args, type_spec, &va, flags); in zend_parse_parameters()
1307 va_end(va); in zend_parse_parameters()
1315 va_list va; in zend_parse_method_parameters() local
1329 va_start(va, type_spec); in zend_parse_method_parameters()
1330 retval = zend_parse_va_args(num_args, type_spec, &va, flags); in zend_parse_method_parameters()
1331 va_end(va); in zend_parse_method_parameters()
1335 va_start(va, type_spec); in zend_parse_method_parameters()
1337 object = va_arg(va, zval **); in zend_parse_method_parameters()
1338 ce = va_arg(va, zend_class_entry *); in zend_parse_method_parameters()
1346 retval = zend_parse_va_args(num_args, p, &va, flags); in zend_parse_method_parameters()
1347 va_end(va); in zend_parse_method_parameters()
1355 va_list va; in zend_parse_method_parameters_ex() local
1362 va_start(va, type_spec); in zend_parse_method_parameters_ex()
1363 retval = zend_parse_va_args(num_args, type_spec, &va, flags); in zend_parse_method_parameters_ex()
1364 va_end(va); in zend_parse_method_parameters_ex()
1367 va_start(va, type_spec); in zend_parse_method_parameters_ex()
1369 object = va_arg(va, zval **); in zend_parse_method_parameters_ex()
1370 ce = va_arg(va, zend_class_entry *); in zend_parse_method_parameters_ex()
1378 va_end(va); in zend_parse_method_parameters_ex()
1382 retval = zend_parse_va_args(num_args, p, &va, flags); in zend_parse_method_parameters_ex()
1383 va_end(va); in zend_parse_method_parameters_ex()