Home
last modified time | relevance | path

Searched refs:pluralType (Results 1 – 17 of 17) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/
DFindPluralDifferences.java65 for (PluralType pluralType : PluralType.values()) { in diff()
66 Set<String> oldLocales = supplementalOld.getPluralLocales(pluralType); in diff()
67 Set<String> newLocales = supplementalNew.getPluralLocales(pluralType); in diff()
77 …System.out.println("\nNew locales for " + pluralType + "s:\t" + justNewLocales.size() + "\t" + jus… in diff()
82 PluralInfo oldPluralInfo = supplementalOld.getPlurals(pluralType, locale); in diff()
84 PluralInfo newPluralInfo = supplementalNew.getPlurals(pluralType, locale); in diff()
113 System.out.println(pluralType in diff()
DShowPlurals.java129 for (PluralType pluralType : PluralType.values()) { in printPluralTable()
130 if (pluralType == PluralType.ordinal && !ordinalLocales.contains(locale) in printPluralTable()
131 || pluralType == PluralType.cardinal && !cardinalLocales.contains(locale)) { in printPluralTable()
134 final PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); in printPluralTable()
169 …String samplePattern = samplePatterns.get(pluralType.standardType, Count.valueOf(keyword)); // Cld… in printPluralTable()
182 .addCell(pluralType.toString()) in printPluralTable()
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralSnapshot.java77 private SnapshotInfo(PluralType pluralType, Integral integral) { in SnapshotInfo() argument
81 for (String locale : supplementalDataInfo.getPluralLocales(pluralType)) { in SnapshotInfo()
82 PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); in SnapshotInfo()
138 public static SnapshotInfo getInstance(PluralType pluralType, Integral integral) { in getInstance() argument
139 EnumMap<Integral, SnapshotInfo> temp = SINGLETONS.get(pluralType); in getInstance()
142 temp.put(integral, result = new SnapshotInfo(pluralType, integral)); in getInstance()
284 for (PluralType pluralType : PluralType.values()) { in writeTables()
286 if (pluralType == PluralType.ordinal && integral == Integral.fraction) { in writeTables()
289 SnapshotInfo info = PluralSnapshot.getInstance(pluralType, integral); in writeTables()
294 String title = UCharacter.toTitleCase(pluralType.toString(), null) in writeTables()
DLogicalGrouping.java198 String pluralType = parts.getAttributeValue(-1, "count"); in isOptional()
199 switch (pluralType) { in isOptional()
230 pluralRules, pluralType, 0, explicits, true); in isOptional()
DSupplementalDataInfo.java3196 PluralType pluralType = type == null ? PluralType.cardinal : PluralType.valueOf(type);
3198 addPluralInfo(pluralType);
3210 lastPluralWasOrdinal = pluralType;
3229 private void addPluralInfo(PluralType pluralType) {
3231 PluralInfo info = new PluralInfo(lastPluralMap, pluralType);
3232 Map<String, PluralInfo> localeToInfo = localeToPluralInfo2.get(pluralType);
3352 CountSampleList(PluralRules pluralRules, Set<Count> keywords, PluralType pluralType) {
3382 if (pluralType == PluralType.cardinal) {
3485 private PluralInfo(Map<Count, String> countToRule, PluralType pluralType) {
3527 countSampleList = new CountSampleList(pluralRules, keywords, pluralType);
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DPluralsMapper.java143 private static CldrData filterByType(CldrData data, String pluralType) { in filterByType() argument
145 PathMatcher.of("//supplementalData/plurals[@type=\"" + pluralType + "\"]"); in filterByType()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java435 PluralRules.PluralType pluralType; in extractSubstitutions() local
437 pluralType = PluralRules.PluralType.CARDINAL; in extractSubstitutions()
440 pluralType = PluralRules.PluralType.ORDINAL; in extractSubstitutions()
445 rulePatternFormat = formatter.createPluralFormat(pluralType, in extractSubstitutions()
DRuleBasedNumberFormat.java1620 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat() argument
1621 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java436 PluralRules.PluralType pluralType; in extractSubstitutions() local
438 pluralType = PluralRules.PluralType.CARDINAL; in extractSubstitutions()
441 pluralType = PluralRules.PluralType.ORDINAL; in extractSubstitutions()
446 rulePatternFormat = formatter.createPluralFormat(pluralType, in extractSubstitutions()
DRuleBasedNumberFormat.java1581 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat() argument
1582 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
/external/icu/icu4c/source/i18n/
Dnfrule.cpp439 UPluralType pluralType; in extractSubstitutions() local
441 pluralType = UPLURAL_TYPE_CARDINAL; in extractSubstitutions()
444 pluralType = UPLURAL_TYPE_ORDINAL; in extractSubstitutions()
450 rulePatternFormat = formatter->createPluralFormat(pluralType, in extractSubstitutions()
Drbnf.cpp1960 RuleBasedNumberFormat::createPluralFormat(UPluralType pluralType, in createPluralFormat() argument
1964 auto *pf = new PluralFormat(locale, pluralType, pattern, status); in createPluralFormat()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCurrencyData.java169 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCurrencyData.java143 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument
/external/icu/libicu/cts_headers/unicode/
Drbnf.h1071 …PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode&…
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h1071 …PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode&…
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...