Lines Matching refs:ec
737 UErrorCode ec = U_ZERO_ERROR;
738 getEffectiveCurrency(curr, ec);
739 if (U_SUCCESS(ec)) {
740 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec);
741 if (U_FAILURE(ec)) {
1176 void NumberFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) {
1177 if (U_FAILURE(ec)) {
1192 void NumberFormat::getEffectiveCurrency(UChar* result, UErrorCode& ec) const {
1198 const char* loc = getLocaleID(ULOC_VALID_LOCALE, ec);
1202 ucurr_forLocale(loc, result, 4, &ec);