/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralFormatUnitTest.java | 31 import android.icu.text.PluralFormat; 48 PluralFormat plFmts[] = new PluralFormat[10]; in TestConstructor() 49 plFmts[0] = new PluralFormat(); in TestConstructor() 51 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); in TestConstructor() 53 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); in TestConstructor() 54 plFmts[3] = new PluralFormat("other{#}"); in TestConstructor() 55 plFmts[4] = new PluralFormat(ULocale.getDefault()); in TestConstructor() 57 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); in TestConstructor() 59 plFmts[6] = new PluralFormat(ULocale.getDefault(), in TestConstructor() 62 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}"); in TestConstructor() [all …]
|
D | PluralFormatTest.java | 24 import android.icu.text.PluralFormat; 60 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 334 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, "one{#kg}other{#kgs}"); in TestFractionRounding()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralFormatUnitTest.java | 30 import com.ibm.icu.text.PluralFormat; 45 PluralFormat plFmts[] = new PluralFormat[10]; in TestConstructor() 46 plFmts[0] = new PluralFormat(); in TestConstructor() 48 plFmts[1] = new PluralFormat(PluralRules.DEFAULT); in TestConstructor() 50 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}"); in TestConstructor() 51 plFmts[3] = new PluralFormat("other{#}"); in TestConstructor() 52 plFmts[4] = new PluralFormat(ULocale.getDefault()); in TestConstructor() 54 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT); in TestConstructor() 56 plFmts[6] = new PluralFormat(ULocale.getDefault(), in TestConstructor() 59 plFmts[7] = new PluralFormat(ULocale.getDefault(), "other{#}"); in TestConstructor() [all …]
|
D | PluralFormatTest.java | 23 import com.ibm.icu.text.PluralFormat; 57 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 331 PluralFormat pf = new PluralFormat(ULocale.ENGLISH, "one{#kg}other{#kgs}"); in TestFractionRounding()
|
/external/icu/icu4c/source/i18n/ |
D | plurfmt.cpp | 38 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 40 PluralFormat::PluralFormat(UErrorCode& status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 48 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status) in PluralFormat() function in PluralFormat 56 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status) in PluralFormat() function in PluralFormat 64 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat 74 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat 84 PluralFormat::PluralFormat(const UnicodeString& pat, in PluralFormat() function in PluralFormat 94 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat 105 PluralFormat::PluralFormat(const PluralRules& rules, in PluralFormat() function in PluralFormat 116 PluralFormat::PluralFormat(const Locale& loc, in PluralFormat() function in PluralFormat [all …]
|
D | nfrule.h | 29 class PluralFormat; variable 116 const PluralFormat* rulePatternFormat;
|
/external/icu/icu4c/source/i18n/unicode/ |
D | plurfmt.h | 146 class U_I18N_API PluralFormat : public Format { 157 PluralFormat(UErrorCode& status); 168 PluralFormat(const Locale& locale, UErrorCode& status); 179 PluralFormat(const PluralRules& rules, UErrorCode& status); 197 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status); 209 PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status); 221 PluralFormat(const UnicodeString& pattern, UErrorCode& status); 237 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status); 250 PluralFormat(const PluralRules& rules, 268 PluralFormat(const Locale& locale, [all …]
|
D | rbnf.h | 46 class PluralFormat; variable 1091 …PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode&…
|
D | msgfmt.h | 880 class U_I18N_API PluralSelectorProvider : public PluralFormat::PluralSelector {
|
/external/icu/icu4c/source/test/intltest/ |
D | plurfmts.cpp | 55 PluralFormat* plFmt[8]; in pluralFormatBasicTest() 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() 94 plFmt[0]= new PluralFormat(status[0]); in pluralFormatBasicTest() [all …]
|
D | plurfmts.h | 38 void numberFormatTest(PluralFormat* plFmt,
|
D | uobjtest.cpp | 366 TESTCLASSID_CTOR(PluralFormat, (status)); in testIDs()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | PluralFormat.java | 135 public class PluralFormat extends UFormat { class 189 public PluralFormat() { in PluralFormat() method in PluralFormat 199 public PluralFormat(ULocale ulocale) { in PluralFormat() method in PluralFormat 210 public PluralFormat(Locale locale) { in PluralFormat() method in PluralFormat 221 public PluralFormat(PluralRules rules) { in PluralFormat() method in PluralFormat 233 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() method in PluralFormat 245 public PluralFormat(Locale locale, PluralRules rules) { in PluralFormat() method in PluralFormat 256 public PluralFormat(ULocale ulocale, PluralType type) { in PluralFormat() method in PluralFormat 267 public PluralFormat(Locale locale, PluralType type) { in PluralFormat() method in PluralFormat 279 public PluralFormat(String pattern) { in PluralFormat() method in PluralFormat [all …]
|
D | NFRule.java | 99 private PluralFormat rulePatternFormat = null; 1128 … String delimiter, PluralFormat pluralFormatDelimiter, ParsePosition pp, NFSubstitution sub, in matchToDelimiter() 1271 private int[] findText(String str, String key, PluralFormat pluralFormatKey, int startingAt) { in findText()
|
D | RuleBasedNumberFormat.java | 1581 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat() 1582 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
|
D | MessageFormat.java | 1640 formatter instanceof PluralFormat || in format() 1704 int subMsgStart=PluralFormat.findSubMessage( in format() 2039 private static final class PluralSelectorProvider implements PluralFormat.PluralSelector {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralFormat.java | 135 public class PluralFormat extends UFormat { class 190 public PluralFormat() { in PluralFormat() method in PluralFormat 201 public PluralFormat(ULocale ulocale) { in PluralFormat() method in PluralFormat 213 public PluralFormat(Locale locale) { in PluralFormat() method in PluralFormat 225 public PluralFormat(PluralRules rules) { in PluralFormat() method in PluralFormat 238 public PluralFormat(ULocale ulocale, PluralRules rules) { in PluralFormat() method in PluralFormat 251 public PluralFormat(Locale locale, PluralRules rules) { in PluralFormat() method in PluralFormat 263 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 …]
|
D | NFRule.java | 98 private PluralFormat rulePatternFormat = null; 1127 … String delimiter, PluralFormat pluralFormatDelimiter, ParsePosition pp, NFSubstitution sub, in matchToDelimiter() 1270 private int[] findText(String str, String key, PluralFormat pluralFormatKey, int startingAt) { in findText()
|
D | RuleBasedNumberFormat.java | 1620 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat() 1621 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
|
D | MessageFormat.java | 1687 formatter instanceof PluralFormat || in format() 1751 int subMsgStart=PluralFormat.findSubMessage( in format() 2086 private static final class PluralSelectorProvider implements PluralFormat.PluralSelector {
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/pluralformat/ |
D | PluralFormatSample.java | 15 import android.icu.text.PluralFormat; 41 PluralFormat plfmtEn = new PluralFormat(locEn, patEn); in PluralFormatExample() 42 PluralFormat plfmtSl = new PluralFormat(locSl, patSl); in PluralFormatExample()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/pluralformat/ |
D | PluralFormatSample.java | 14 import com.ibm.icu.text.PluralFormat; 40 PluralFormat plfmtEn = new PluralFormat(locEn, patEn); in PluralFormatExample() 41 PluralFormat plfmtSl = new PluralFormat(locSl, patSl); in PluralFormatExample()
|
/external/icu/icu4c/source/samples/plurfmtsample/ |
D | plurfmtsample.cpp | 39 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status); in PluralFormatExample() 40 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status); in PluralFormatExample()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatHandler.java | 36 import android.icu.text.PluralFormat; 2223 PluralFormat[] plfmts = new PluralFormat[locales.length]; in getTestObjects() 2227 plfmts[i] = new PluralFormat(uloc, "one{1 foo} other{# foo}"); in getTestObjects() 2236 PluralFormat pfa = (PluralFormat)a; in hasSameBehavior() 2237 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 35 import com.ibm.icu.text.PluralFormat; 2220 PluralFormat[] plfmts = new PluralFormat[locales.length]; in getTestObjects() 2224 plfmts[i] = new PluralFormat(uloc, "one{1 foo} other{# foo}"); in getTestObjects() 2233 PluralFormat pfa = (PluralFormat)a; in hasSameBehavior() 2234 PluralFormat pfb = (PluralFormat)b; in hasSameBehavior()
|