Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dplurfmts.cpp53 PluralFormat* plFmt[8]; in pluralFormatBasicTest() local
72 plFmt[0] = new PluralFormat(status[0]); in pluralFormatBasicTest()
73 plFmt[1] = new PluralFormat(*plRules, status[1]); in pluralFormatBasicTest()
74 plFmt[2] = new PluralFormat(locale, status[2]); in pluralFormatBasicTest()
75 plFmt[3] = new PluralFormat(locale, *plRules, status[3]); in pluralFormatBasicTest()
76 plFmt[4] = new PluralFormat(otherPattern, status[4]); in pluralFormatBasicTest()
77 plFmt[5] = new PluralFormat(*plRules, otherPattern, status[5]); in pluralFormatBasicTest()
78 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]); in pluralFormatBasicTest()
79 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]); in pluralFormatBasicTest()
83 numberFormatTest(plFmt[i], numFmt, 1, 12, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
[all …]
Dplurfmts.h36 void numberFormatTest(PluralFormat* plFmt,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java135 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
136 plFmt.applyPattern("odd{foo}"); in TestApplyPatternAndFormat()
149 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
150 plFmt.applyPattern("*odd{foo} other{bar}"); in TestApplyPatternAndFormat()
160 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
161 plFmt.applyPattern("odd{foo},other{bar}"); in TestApplyPatternAndFormat()
166 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
167 plFmt.applyPattern("od d{foo} other{bar}"); in TestApplyPatternAndFormat()
172 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
173 plFmt.applyPattern("odd{foo}{foobar}other{foo}"); in TestApplyPatternAndFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralFormatUnitTest.java139 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
140 plFmt.applyPattern("odd{foo}"); in TestApplyPatternAndFormat()
153 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
154 plFmt.applyPattern("*odd{foo} other{bar}"); in TestApplyPatternAndFormat()
164 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
165 plFmt.applyPattern("odd{foo},other{bar}"); in TestApplyPatternAndFormat()
170 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
171 plFmt.applyPattern("od d{foo} other{bar}"); in TestApplyPatternAndFormat()
176 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
177 plFmt.applyPattern("odd{foo}{foobar}other{foo}"); in TestApplyPatternAndFormat()
[all …]