Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dplurfmts.cpp55 PluralFormat* plFmt[8]; in pluralFormatBasicTest() local
74 plFmt[0] = new PluralFormat(status[0]); in pluralFormatBasicTest()
75 plFmt[1] = new PluralFormat(*plRules, status[1]); in pluralFormatBasicTest()
76 plFmt[2] = new PluralFormat(locale, status[2]); in pluralFormatBasicTest()
77 plFmt[3] = new PluralFormat(locale, *plRules, status[3]); in pluralFormatBasicTest()
78 plFmt[4] = new PluralFormat(otherPattern, status[4]); in pluralFormatBasicTest()
79 plFmt[5] = new PluralFormat(*plRules, otherPattern, status[5]); in pluralFormatBasicTest()
80 plFmt[6] = new PluralFormat(locale, otherPattern, status[6]); in pluralFormatBasicTest()
81 plFmt[7] = new PluralFormat(locale, *plRules, otherPattern, status[7]); in pluralFormatBasicTest()
85 numberFormatTest(plFmt[i], numFmt, 1, 12, NULL, NULL, FALSE, &message); in pluralFormatBasicTest()
[all …]
Dplurfmts.h38 void numberFormatTest(PluralFormat* plFmt,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralFormatUnitTest.java144 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
145 plFmt.applyPattern("odd{foo}"); in TestApplyPatternAndFormat()
158 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
159 plFmt.applyPattern("*odd{foo} other{bar}"); in TestApplyPatternAndFormat()
169 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
170 plFmt.applyPattern("odd{foo},other{bar}"); in TestApplyPatternAndFormat()
175 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
176 plFmt.applyPattern("od d{foo} other{bar}"); in TestApplyPatternAndFormat()
181 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
182 plFmt.applyPattern("odd{foo}{foobar}other{foo}"); in TestApplyPatternAndFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java141 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
142 plFmt.applyPattern("odd{foo}"); in TestApplyPatternAndFormat()
155 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
156 plFmt.applyPattern("*odd{foo} other{bar}"); in TestApplyPatternAndFormat()
166 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
167 plFmt.applyPattern("odd{foo},other{bar}"); in TestApplyPatternAndFormat()
172 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
173 plFmt.applyPattern("od d{foo} other{bar}"); in TestApplyPatternAndFormat()
178 PluralFormat plFmt = new PluralFormat(oddAndEven); in TestApplyPatternAndFormat() local
179 plFmt.applyPattern("odd{foo}{foobar}other{foo}"); in TestApplyPatternAndFormat()
[all …]