Home | History | Annotate | Download | only in i18n

Lines Matching refs:ec

1925         UErrorCode ec = U_ZERO_ERROR;
1926 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curbuf, ec));
1927 if (U_FAILURE(ec)) {
2028 UErrorCode ec = U_ZERO_ERROR;
2029 digits->div(*fMultiplier, ec);
2037 UErrorCode ec = U_ZERO_ERROR;
2038 digits->div(ten,ec);
2042 UErrorCode ec = U_ZERO_ERROR;
2043 digits->mult(ten,ec);
3040 UErrorCode ec = U_ZERO_ERROR;
3042 uprv_parseCurrency(loc, text, ppos, type, curr, ec);
3045 if (U_SUCCESS(ec) && ppos.getIndex() != pos) {
3053 getEffectiveCurrency(effectiveCurr, ec);
3054 if ( U_FAILURE(ec) || u_strncmp(curr,effectiveCurr,4) != 0 ) {
3288 UErrorCode ec = U_ZERO_ERROR;
3292 ucurr_forLocale(loc, intlCurrencySymbol, 4, &ec);
3295 uprv_getStaticCurrencyName(intlCurrencySymbol, loc, currencySymbol, ec);
3296 if (U_SUCCESS(ec)
3304 ec = U_ZERO_ERROR; // reset local error code!
3305 setCurrencyInternally(c, ec);
3906 UErrorCode ec = U_ZERO_ERROR;
3914 pluralCountChar.appendInvariantChars(*pluralCount, ec);
3919 pluralCountChar.data(), &len, &ec);
3931 UCURR_SYMBOL_NAME, &isChoiceFormat, &len, &ec);
3944 ChoiceFormat* fmt = new ChoiceFormat(UnicodeString(s), ec);
3945 if (U_SUCCESS(ec)) {
5258 UErrorCode& ec) {
5273 rounding = ucurr_getRoundingIncrement(theCurrency, &ec);
5274 frac = ucurr_getDefaultFractionDigits(theCurrency, &ec);
5277 NumberFormat::setCurrency(theCurrency, ec);
5278 if (U_FAILURE(ec)) return;
5294 void DecimalFormat::setCurrency(const UChar* theCurrency, UErrorCode& ec) {
5296 NumberFormat::setCurrency(theCurrency, ec);
5299 setupCurrencyAffixes(fFormatPattern, TRUE, TRUE, ec);
5301 applyPattern(savedPtn, FALSE, parseErr, ec);
5304 setCurrencyInternally(theCurrency, ec);
5312 UErrorCode ec = U_ZERO_ERROR;
5313 setCurrency(theCurrency, ec);
5319 void DecimalFormat::getEffectiveCurrency(UChar* result, UErrorCode& ec) const {
5321 ec = U_MEMORY_ALLOCATION_ERROR;
5324 ec = U_ZERO_ERROR;