Home
last modified time | relevance | path

Searched refs:unumFmt (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c2438 UNumberFormat* unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyIsoPluralFormat() local
2444 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyIsoPluralFormat()
2448 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat()
2458 unum_close(unumFmt); in TestCurrencyIsoPluralFormat()
2556 UNumberFormat* unumFmt; in TestCurrencyUsage() local
2565 unumFmt = unum_open(style, NULL, 0, localeString, NULL, &status); in TestCurrencyUsage()
2573 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_STANDARD) { in TestCurrencyUsage()
2577 unum_setAttribute(unumFmt, UNUM_CURRENCY_USAGE, UCURR_USAGE_CASH); in TestCurrencyUsage()
2580 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_CASH) { in TestCurrencyUsage()
2595 unum_setTextAttribute(unumFmt, UNUM_CURRENCY_CODE, currencyCode, 3, &status); in TestCurrencyUsage()
[all …]