Searched refs:unumFmt (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2523 UNumberFormat* unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyIsoPluralFormat() local 2529 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyIsoPluralFormat() 2533 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat() 2543 unum_close(unumFmt); in TestCurrencyIsoPluralFormat() 2641 UNumberFormat* unumFmt; in TestCurrencyUsage() local 2650 unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyUsage() 2658 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_STANDARD) { in TestCurrencyUsage() 2662 unum_setAttribute(unumFmt, UNUM_CURRENCY_USAGE, UCURR_USAGE_CASH); in TestCurrencyUsage() 2665 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_CASH) { in TestCurrencyUsage() 2680 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyUsage() [all …]
|