Lines Matching refs:unumFmt
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()
2683 resultLen = unum_formatDouble(unumFmt, numberToBeFormat, result, UPRV_LENGTHOF(result), in TestCurrencyUsage()
2694 unum_close(unumFmt); in TestCurrencyUsage()