Lines Matching refs:err

93 										 intl_error& err)  in umsg_get_numeric_types()  argument
98 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
120 if (U_FAILURE(err.code)) { in umsg_get_numeric_types()
134 intl_error& err) in umsg_parse_format() argument
139 if (U_FAILURE(err.code)) { in umsg_parse_format()
144 return umsg_get_numeric_types(mfo, err); in umsg_parse_format()
170 for (int32_t i = 0; i < parts_count - 2 && U_SUCCESS(err.code); i++) { in umsg_parse_format()
192 intl_errors_set(&err, U_INVALID_FORMAT_ERROR, in umsg_parse_format()
202 intl_errors_set(&err, U_INVALID_FORMAT_ERROR, "Invalid part type encountered", 0); in umsg_parse_format()
247 intl_errors_set(&err, U_PARSE_ERROR, in umsg_parse_format()
267 intl_errors_set(&err, U_ARGUMENT_TYPE_MISMATCH, in umsg_parse_format()
275 if (U_FAILURE(err.code)) { in umsg_parse_format()
288 intl_error& err) in umsg_get_types() argument
294 return umsg_parse_format(mfo, mp, err); in umsg_get_types()
298 intl_error& err) in umsg_set_timezone() argument
322 icu::StringEnumeration* fnames = mf->getFormatNames(err.code); in umsg_set_timezone()
323 if (!fnames || U_FAILURE(err.code)) { in umsg_set_timezone()
326 count = fnames->count(err.code); in umsg_set_timezone()
335 intl_errors_set(&err, U_MEMORY_ALLOCATION_ERROR, in umsg_set_timezone()
339 for (int i = 0; U_SUCCESS(err.code) && i < count; i++) { in umsg_set_timezone()
349 used_tz = timezone_process_timezone_argument(&nullzv, &err, "msgfmt_format"); in umsg_set_timezone()
358 if (U_SUCCESS(err.code)) { in umsg_set_timezone()
377 intl_error& err = INTL_DATA_ERROR(mfo); in umsg_format_helper() local
379 if (U_FAILURE(err.code)) { in umsg_format_helper()
383 types = umsg_get_types(mfo, err); in umsg_format_helper()
385 umsg_set_timezone(mfo, err); in umsg_format_helper()
402 if (!U_SUCCESS(err.code)) { in umsg_format_helper()
409 intl_errors_set(&err, U_ILLEGAL_ARGUMENT_ERROR, in umsg_format_helper()
420 intl_stringFromChar(key, ZSTR_VAL(str_index), ZSTR_LEN(str_index), &err.code); in umsg_format_helper()
422 if (U_FAILURE(err.code)) { in umsg_format_helper()
426 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
456 ZSTR_VAL(str), ZSTR_LEN(str), &err.code); in umsg_format_helper()
458 if (U_FAILURE(err.code)) { in umsg_format_helper()
462 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
484 intl_errors_set(&err, U_ILLEGAL_ARGUMENT_ERROR, in umsg_format_helper()
493 intl_errors_set(&err, U_ILLEGAL_ARGUMENT_ERROR, in umsg_format_helper()
512 intl_errors_set(&err, U_ILLEGAL_ARGUMENT_ERROR, in umsg_format_helper()
529 double dd = intl_zval_to_millis(elem, &err, "msgfmt_format"); in umsg_format_helper()
530 if (U_FAILURE(err.code)) { in umsg_format_helper()
538 intl_errors_set(&err, err.code, message, 1); in umsg_format_helper()
548 intl_errors_set(&err, U_ILLEGAL_ARGUMENT_ERROR, in umsg_format_helper()
583 intl_errors_set(&err, in umsg_format_helper()
594 if (U_FAILURE(err.code)) { in umsg_format_helper()
603 fargs.empty() ? NULL : &fargs[0], arg_count, resultStr, err.code); in umsg_format_helper()
605 if (U_FAILURE(err.code)) { in umsg_format_helper()
606 intl_errors_set(&err, err.code, in umsg_format_helper()
613 resultStr.extract(*formatted, *formatted_len+1, err.code); in umsg_format_helper()
614 if (U_FAILURE(err.code)) { in umsg_format_helper()
615 intl_errors_set(&err, err.code, in umsg_format_helper()