Home | History | Annotate | Download | only in intltest

Lines Matching refs:ec

1461     UErrorCode ec = U_ZERO_ERROR;
1469 MessageFormat msg(pattern, ec);
1470 if (U_FAILURE(ec)) {
1471 dataerrln("FAIL: constructor failed - %s", u_errorName(ec));
1501 msg.format(ARGS_OBJ, result, ec);
1515 UErrorCode ec = U_ZERO_ERROR;
1536 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec);
1537 if (U_FAILURE(ec)) {
1543 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec);
1547 ec = U_ZERO_ERROR;
1548 numFmt->parse(values[j], args[0], ec);
1549 if (U_FAILURE(ec)) {
1554 fmt->format(args, 1, result, fp, ec);
1555 logln((UnicodeString)"value: " + toString(args[0]) + " --> " + result + UnicodeString(" ec: ") + u_errorName(ec));
1559 Formattable* parseResult = fmt->parse(result, count, ec);
1632 UErrorCode ec = U_ZERO_ERROR;
1633 MessageFormat compMsg("", Locale::getUS(), ec);
1634 compMsg.applyPattern(pattern, UMSGPAT_APOS_DOUBLE_REQUIRED, NULL, ec);
1639 MessageFormat icuMsg("", Locale::getUS(), ec);
1640 icuMsg.applyPattern(pattern, UMSGPAT_APOS_DOUBLE_OPTIONAL, NULL, ec);
1650 compMsg.format(zero0, 1, buffer1, fieldpos, ec));
1653 icuMsg.format(zero0, 1, buffer2, fieldpos, ec));
1660 compMsg.applyPattern(pattern, ec);
1661 icuMsg.applyPattern(pattern, ec);
1662 if (U_FAILURE(ec)) {
1663 dataerrln("Unable to applyPattern - %s", u_errorName(ec));
1667 compMsg.format(zero0, 1, buffer1, fieldpos, ec));
1670 icuMsg.format(zero0, 1, buffer2, fieldpos, ec));