/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | FindPluralDifferences.java | 65 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()
|
D | ShowPlurals.java | 129 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/ |
D | PluralSnapshot.java | 77 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() 137 public static SnapshotInfo getInstance(PluralType pluralType, Integral integral) { in getInstance() argument 138 EnumMap<Integral, SnapshotInfo> temp = SINGLETONS.get(pluralType); in getInstance() 141 temp.put(integral, result = new SnapshotInfo(pluralType, integral)); in getInstance() 280 for (PluralType pluralType : PluralType.values()) { in writeTables() 282 if (pluralType == PluralType.ordinal && integral == Integral.fraction) { in writeTables() 285 SnapshotInfo info = PluralSnapshot.getInstance(pluralType, integral); in writeTables() 290 String title = UCharacter.toTitleCase(pluralType.toString(), null) in writeTables()
|
D | LogicalGrouping.java | 207 String pluralType = parts.getAttributeValue(-1, "count"); in isOptional() 208 if (pluralType.equals("0") || pluralType.equals("1")) return true; in isOptional() 209 if (!pluralType.equals("zero") && !pluralType.equals("one")) return false; in isOptional() 225 pluralRules, pluralType, 0, explicits, true); in isOptional()
|
D | SupplementalDataInfo.java | 3052 PluralType pluralType = type == null ? PluralType.cardinal : PluralType.valueOf(type); 3054 addPluralInfo(pluralType); 3066 lastPluralWasOrdinal = pluralType; 3085 private void addPluralInfo(PluralType pluralType) { 3087 PluralInfo info = new PluralInfo(lastPluralMap, pluralType); 3088 Map<String, PluralInfo> localeToInfo = localeToPluralInfo2.get(pluralType); 3209 CountSampleList(PluralRules pluralRules, Set<Count> keywords, PluralType pluralType) { 3239 if (pluralType == PluralType.cardinal) { 3342 private PluralInfo(Map<Count, String> countToRule, PluralType pluralType) { 3384 countSampleList = new CountSampleList(pluralRules, keywords, pluralType);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NFRule.java | 436 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()
|
D | RuleBasedNumberFormat.java | 1581 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat() argument 1582 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRule.java | 435 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()
|
D | RuleBasedNumberFormat.java | 1620 PluralFormat createPluralFormat(PluralRules.PluralType pluralType, String pattern) { in createPluralFormat() argument 1621 return new PluralFormat(locale, pluralType, pattern, getDecimalFormat()); in createPluralFormat()
|
/external/icu/icu4c/source/i18n/ |
D | nfrule.cpp | 439 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()
|
D | rbnf.cpp | 1993 RuleBasedNumberFormat::createPluralFormat(UPluralType pluralType, in createPluralFormat() argument 1997 auto *pf = new PluralFormat(locale, pluralType, pattern, status); in createPluralFormat()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CurrencyData.java | 169 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CurrencyData.java | 143 public String getPluralName(String isoCode, String pluralType) { in getPluralName() argument
|
/external/icu/icu4c/source/i18n/unicode/ |
D | rbnf.h | 1091 …PluralFormat *createPluralFormat(UPluralType pluralType, const UnicodeString &pattern, UErrorCode&…
|