Searched refs:unumFmt (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2608 UNumberFormat* unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyIsoPluralFormat() local 2614 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyIsoPluralFormat() 2618 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat() 2628 unum_close(unumFmt); in TestCurrencyIsoPluralFormat() 2726 UNumberFormat* unumFmt; in TestCurrencyUsage() local 2735 unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyUsage() 2743 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_STANDARD) { in TestCurrencyUsage() 2747 unum_setAttribute(unumFmt, UNUM_CURRENCY_USAGE, UCURR_USAGE_CASH); in TestCurrencyUsage() 2750 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_CASH) { in TestCurrencyUsage() 2765 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyUsage() [all …]
|