Home
last modified time | relevance | path

Searched refs:PluralFormat (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java23 import com.ibm.icu.text.PluralFormat;
40 PluralFormat plFmts[] = new PluralFormat[10]; in TestConstructor()
41 plFmts[0] = new PluralFormat(); in TestConstructor()
43 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); in TestConstructor()
45 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); in TestConstructor()
46 plFmts[3] = new PluralFormat("other{#}"); in TestConstructor()
47 plFmts[4] = new PluralFormat(ULocale.getDefault()); in TestConstructor()
49 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); in TestConstructor()
51 plFmts[6] = new PluralFormat(ULocale.getDefault(), in TestConstructor()
54 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}"); in TestConstructor()
[all …]
DTestAll.java108 public static class PluralFormat extends TestGroup { class in TestAll
109 public PluralFormat() { in PluralFormat() method in TestAll.PluralFormat
DPluralFormatTest.java15 import com.ibm.icu.text.PluralFormat;
53 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules()
/external/icu/icu4c/source/i18n/
Dplurfmt.cpp31 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
33 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
41 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat
49 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat
57 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
67 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
77 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat
87 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
98 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat
109 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat
[all …]
Dnfrule.h28 class PluralFormat; variable
106 const PluralFormat* rulePatternFormat;
Drbnf.cpp1750 PluralFormat *
1755 return new PluralFormat(locale, pluralType, pattern, status); in createPluralFormat()
Dmsgfmt.cpp1080 dynamic_cast<const PluralFormat*>(formatter) || in format()
1133 int32_t subMsgStart = PluralFormat::findSubMessage( in format()
/external/icu/icu4c/source/i18n/unicode/
Dplurfmt.h144 class U_I18N_API PluralFormat : public Format {
155 PluralFormat(UErrorCode& status);
166 PluralFormat(const Locale& locale, UErrorCode& status);
177 PluralFormat(const PluralRules& rules, UErrorCode& status);
195 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
207 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status);
219 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
235 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
248 PluralFormat(const PluralRules& rules,
266 PluralFormat(const Locale& locale,
[all …]
Drbnf.h43 class PluralFormat; variable
988PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode&…
Dmsgfmt.h875 class U_I18N_API PluralSelectorProvider : public PluralFormat::PluralSelector {
/external/icu/icu4c/source/test/intltest/
Dplurfmts.cpp53 PluralFormat* plFmt[8]; in pluralFormatBasicTest()
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()
92 plFmt[0]= new PluralFormat(status[0]); in pluralFormatBasicTest()
[all …]
Dplurfmts.h36 void numberFormatTest(PluralFormat* plFmt,
Duobjtest.cpp362 TESTCLASSID_CTOR(PluralFormat, (status)); in testIDs()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java133 public class PluralFormat extends UFormat { class
188 public PluralFormat() { in PluralFormat() method in PluralFormat
199 public PluralFormat(ULocale ulocale) { in PluralFormat() method in PluralFormat
211 public PluralFormat(Locale locale) { in PluralFormat() method in PluralFormat
223 public PluralFormat(PluralRules rules) { in PluralFormat() method in PluralFormat
236 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() method in PluralFormat
250 public PluralFormat(Locale locale, PluralRules rules) { in PluralFormat() method in PluralFormat
262 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() method in PluralFormat
275 public PluralFormat(Locale locale, PluralType type) { in PluralFormat() method in PluralFormat
288 public PluralFormat(String pattern) { in PluralFormat() method in PluralFormat
[all …]
DNFRule.java78 private PluralFormat rulePatternFormat = null;
1018 …String delimiter, PluralFormat pluralFormatDelimiter, ParsePosition pp, NFSubstitution sub, double… in matchToDelimiter()
1158 private int[] findText(String str, String key, PluralFormat pluralFormatKey, int startingAt) { in findText()
DRuleBasedNumberFormat.java1502 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat()
1503 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
DMessageFormat.java1678 formatter instanceof PluralFormat || in format()
1742 int subMsgStart=PluralFormat.findSubMessage( in format()
2077 private static final class PluralSelectorProvider implements PluralFormat.PluralSelector {
/external/icu/icu4c/source/samples/plurfmtsample/
Dplurfmtsample.cpp33 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status); in PluralFormatExample()
34 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status); in PluralFormatExample()
/external/messageformat/java/com/ibm/icu/simple/
DPluralFormat.java131 public class PluralFormat /* extends UFormat */ { class
186 public PluralFormat() { in PluralFormat() method in PluralFormat
197 public PluralFormat(Locale locale) { in PluralFormat() method in PluralFormat
209 public PluralFormat(Locale locale, PluralType type) { in PluralFormat() method in PluralFormat
437 public boolean equals(PluralFormat rhs) { in equals()
DMessageFormat.java1652 int subMsgStart=PluralFormat.findSubMessage( in format()
1990 private static final class PluralSelectorProvider implements PluralFormat.PluralSelector {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java33 import com.ibm.icu.text.PluralFormat;
2139 PluralFormat[] plfmts = new PluralFormat[locales.length]; in getTestObjects()
2143 plfmts[i] = new PluralFormat(uloc, "one{1 foo} other{# foo}"); in getTestObjects()
2151 PluralFormat pfa = (PluralFormat)a; in hasSameBehavior()
2152 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...