Home | History | Annotate | Download | only in intltest

Lines Matching refs:ec

1462     UErrorCode ec = U_ZERO_ERROR;
1470 MessageFormat msg(pattern, ec);
1471 if (U_FAILURE(ec)) {
1472 dataerrln("FAIL: constructor failed - %s", u_errorName(ec));
1502 msg.format(ARGS_OBJ, result, ec);
1516 UErrorCode ec = U_ZERO_ERROR;
1537 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec);
1538 if (U_FAILURE(ec)) {
1544 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec);
1548 ec = U_ZERO_ERROR;
1549 numFmt->parse(values[j], args[0], ec);
1550 if (U_FAILURE(ec)) {
1555 fmt->format(args, 1, result, fp, ec);
1556 logln((UnicodeString)"value: " + toString(args[0]) + " --> " + result + UnicodeString(" ec: ") + u_errorName(ec));
1560 Formattable* parseResult = fmt->parse(result, count, ec);
1633 UErrorCode ec = U_ZERO_ERROR;
1634 MessageFormat compMsg("", Locale::getUS(), ec);
1635 compMsg.applyPattern(pattern, UMSGPAT_APOS_DOUBLE_REQUIRED, NULL, ec);
1640 MessageFormat icuMsg("", Locale::getUS(), ec);
1641 icuMsg.applyPattern(pattern, UMSGPAT_APOS_DOUBLE_OPTIONAL, NULL, ec);
1651 compMsg.format(zero0, 1, buffer1, fieldpos, ec));
1654 icuMsg.format(zero0, 1, buffer2, fieldpos, ec));
1661 compMsg.applyPattern(pattern, ec);
1662 icuMsg.applyPattern(pattern, ec);
1663 if (U_FAILURE(ec)) {
1664 dataerrln("Unable to applyPattern - %s", u_errorName(ec));
1668 compMsg.format(zero0, 1, buffer1, fieldpos, ec));
1671 icuMsg.format(zero0, 1, buffer2, fieldpos, ec));