Searched refs:unumfmt (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2649 UNumberFormat* unumfmt = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); in TestCurrFmtNegSameAsPositive() local 2651 unum_applyPattern(unumfmt, FALSE, currFmtNegSameAsPos, -1, NULL, &status); in TestCurrFmtNegSameAsPositive() 2654 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive() 2660 unum_setSymbol(unumfmt, UNUM_MINUS_SIGN_SYMBOL, emptyString, 0, &status); in TestCurrFmtNegSameAsPositive() 2662 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive() 2674 unum_close(unumfmt); in TestCurrFmtNegSameAsPositive() 2872 UNumberFormat *unumfmt = unum_open(UNUM_DECIMAL, NULL, 0, "en_US", NULL, &status); in TestParseCurrPatternWithDecStyle() local 2876 unum_applyPattern(unumfmt, FALSE, currpat, -1, NULL, &status); in TestParseCurrPatternWithDecStyle() 2881 double value = unum_parseDouble(unumfmt, parsetxt, -1, &pos, &status); in TestParseCurrPatternWithDecStyle() 2886 unum_close(unumfmt); in TestParseCurrPatternWithDecStyle()
|