Searched refs:unumfmt (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | cpluralrulestest.c | 79 UNumberFormat* unumfmt; in TestPluralRules() local 99 … unumfmt = unum_open(UNUM_PATTERN_DECIMAL, twoDecimalPat, -1, testItemPtr->locale, NULL, &status); in TestPluralRules() 101 …keywdLen = uplrules_selectWithFormat(uplrules, testItemPtr->number, unumfmt, keyword, kKeywordBufL… in TestPluralRules() 116 unum_close(unumfmt); in TestPluralRules()
|
D | cnumtst.c | 2716 UNumberFormat* unumfmt = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); in TestCurrFmtNegSameAsPositive() local 2718 unum_applyPattern(unumfmt, FALSE, currFmtNegSameAsPos, -1, NULL, &status); in TestCurrFmtNegSameAsPositive() 2721 int32_t ulen = unum_toPattern(unumfmt, FALSE, ubuf, kUBufSize, &status); in TestCurrFmtNegSameAsPositive() 2727 unum_setSymbol(unumfmt, UNUM_MINUS_SIGN_SYMBOL, emptyString, 0, &status); in TestCurrFmtNegSameAsPositive() 2729 ulen = unum_formatDouble(unumfmt, -100.0, ubuf, kUBufSize, NULL, &status); in TestCurrFmtNegSameAsPositive() 2741 unum_close(unumfmt); in TestCurrFmtNegSameAsPositive() 2943 UNumberFormat *unumfmt = unum_open(UNUM_DECIMAL, NULL, 0, "en_US", NULL, &status); in TestParseCurrPatternWithDecStyle() local 2947 unum_applyPattern(unumfmt, FALSE, currpat, -1, NULL, &status); in TestParseCurrPatternWithDecStyle() 2952 double value = unum_parseDouble(unumfmt, parsetxt, -1, &pos, &status); in TestParseCurrPatternWithDecStyle() 2957 unum_close(unumfmt); in TestParseCurrPatternWithDecStyle()
|