Home
last modified time | relevance | path

Searched refs:pluralCategory (Results 1 – 19 of 19) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DDisplayOptions.java31 private final PluralCategory pluralCategory; field in DisplayOptions
40 this.pluralCategory = builder.pluralCategory; in DisplayOptions()
94 return this.pluralCategory; in getPluralCategory()
146 private PluralCategory pluralCategory; field in DisplayOptions.Builder
160 this.pluralCategory = PluralCategory.UNDEFINED; in Builder()
176 this.pluralCategory = displayOptions.pluralCategory; in Builder()
214 public Builder setPluralCategory(PluralCategory pluralCategory) { in setPluralCategory() argument
215 this.pluralCategory = pluralCategory; in setPluralCategory()
615 for (PluralCategory pluralCategory : VALUES) { in fromIdentifier()
616 if (identifier.equals(pluralCategory.getIdentifier())) { in fromIdentifier()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDisplayOptions.java29 private final PluralCategory pluralCategory; field in DisplayOptions
38 this.pluralCategory = builder.pluralCategory; in DisplayOptions()
92 return this.pluralCategory; in getPluralCategory()
143 private PluralCategory pluralCategory; field in DisplayOptions.Builder
157 this.pluralCategory = PluralCategory.UNDEFINED; in Builder()
173 this.pluralCategory = displayOptions.pluralCategory; in Builder()
211 public Builder setPluralCategory(PluralCategory pluralCategory) { in setPluralCategory() argument
212 this.pluralCategory = pluralCategory; in setPluralCategory()
606 for (PluralCategory pluralCategory : VALUES) { in fromIdentifier()
607 if (identifier.equals(pluralCategory.getIdentifier())) { in fromIdentifier()
[all …]
/external/icu/icu4c/source/i18n/
Ddisplayoptions.cpp21 pluralCategory = builder.pluralCategory; in DisplayOptions()
32 pluralCategory = UDISPOPT_PLURAL_CATEGORY_UNDEFINED; in Builder()
42 pluralCategory = displayOptions.pluralCategory; in Builder()
112 udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory) { in udispopt_getPluralCategoryIdentifier() argument
113 if (pluralCategory >= 0 && pluralCategory < UPRV_LENGTHOF(pluralCategoryIds)) { in udispopt_getPluralCategoryIdentifier()
114 return pluralCategoryIds[pluralCategory]; in udispopt_getPluralCategoryIdentifier()
Dnumber_longnames.cpp1166 const char *pluralCategory = ""; in processPatternTimes() local
1181 singlePluralCategory = derivedTimesPlurals.value0(pluralCategory); in processPatternTimes()
1183 pluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
1186 singlePluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
/external/cronet/third_party/icu/source/i18n/
Ddisplayoptions.cpp21 pluralCategory = builder.pluralCategory; in DisplayOptions()
32 pluralCategory = UDISPOPT_PLURAL_CATEGORY_UNDEFINED; in Builder()
42 pluralCategory = displayOptions.pluralCategory; in Builder()
112 udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory) { in udispopt_getPluralCategoryIdentifier() argument
113 if (pluralCategory >= 0 && pluralCategory < UPRV_LENGTHOF(pluralCategoryIds)) { in udispopt_getPluralCategoryIdentifier()
114 return pluralCategoryIds[pluralCategory]; in udispopt_getPluralCategoryIdentifier()
Dnumber_longnames.cpp1166 const char *pluralCategory = ""; in processPatternTimes() local
1181 singlePluralCategory = derivedTimesPlurals.value0(pluralCategory); in processPatternTimes()
1183 pluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
1186 singlePluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
/external/icu/icu4c/source/i18n/unicode/
Ddisplayoptions.h85 Builder &setPluralCategory(UDisplayOptionsPluralCategory pluralCategory) { in setPluralCategory() argument
86 this->pluralCategory = pluralCategory; in setPluralCategory()
154 UDisplayOptionsPluralCategory pluralCategory; variable
197 UDisplayOptionsPluralCategory getPluralCategory() const { return pluralCategory; } in getPluralCategory()
259 UDisplayOptionsPluralCategory pluralCategory; variable
Dudisplayoptions.h119 udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory);
/external/cronet/third_party/icu/source/i18n/unicode/
Ddisplayoptions.h85 Builder &setPluralCategory(UDisplayOptionsPluralCategory pluralCategory) { in setPluralCategory() argument
86 this->pluralCategory = pluralCategory; in setPluralCategory()
154 UDisplayOptionsPluralCategory pluralCategory; variable
197 UDisplayOptionsPluralCategory getPluralCategory() const { return pluralCategory; } in getPluralCategory()
259 UDisplayOptionsPluralCategory pluralCategory; variable
Dudisplayoptions.h119 udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory);
/external/icu/libicu/cts_headers/unicode/
Ddisplayoptions.h85 Builder &setPluralCategory(UDisplayOptionsPluralCategory pluralCategory) { in setPluralCategory() argument
86 this->pluralCategory = pluralCategory; in setPluralCategory()
154 UDisplayOptionsPluralCategory pluralCategory; variable
197 UDisplayOptionsPluralCategory getPluralCategory() const { return pluralCategory; } in getPluralCategory()
259 UDisplayOptionsPluralCategory pluralCategory; variable
Dudisplayoptions.h119 udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory pluralCategory);
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DUnitPathType.java98 …ionPath(LocaleStringProvider resolvedFile, String width, String shortUnitId, String pluralCategory, in getTranslationPath() argument
118 …s = GrammarInfo.getGrammaticalInfoAttributes(grammarInfo1, pathType, pluralCategory, genderVariant… in getTranslationPath()
123 …s = GrammarInfo.getGrammaticalInfoAttributes(grammarInfo1, pathType, pluralCategory, genderVariant… in getTranslationPath()
145 …tringProvider resolvedFile, String width, String shortUnitId, String pluralCategory, String caseVa… in getTrans() argument
147 …String path = pathType.getTranslationPath(resolvedFile, width, shortUnitId, pluralCategory, caseVa… in getTrans()
DUnitConverter.java863 … String pluralCategory = unitsLeft == 0 && positivePass ? _pluralCategory : singularPluralCategory; in toString() local
892 … unitPattern = UnitPathType.unit.getTrans(resolvedFile, width, unit, pluralCategory, caseVariant, … in toString()
915 …Pattern = UnitPathType.power.getTrans(resolvedFile, width, "power2", pluralCategory, caseVariant, … in toString()
918 …Pattern = UnitPathType.power.getTrans(resolvedFile, width, "power3", pluralCategory, caseVariant, … in toString()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLongNameHandler.java1027 String pluralCategory = null; in processPatternTimes() local
1042 singlePluralCategory = derivedTimesPlurals.value0(pluralCategory); in processPatternTimes()
1044 pluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
1047 singlePluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java1025 String pluralCategory = null; in processPatternTimes() local
1040 singlePluralCategory = derivedTimesPlurals.value0(pluralCategory); in processPatternTimes()
1042 pluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
1045 singlePluralCategory = derivedTimesPlurals.value1(pluralCategory); in processPatternTimes()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DChartGrammaticalForms.java753 String pluralCategory = ENGLISH_PLURAL_RULES.select(bestDoubleFactor); in getBestBaseUnit() local
755 + "\"]/unitPattern[@count=\"" + pluralCategory in getBestBaseUnit()
760 … unitPattern = unitId.toString(ENGLISH, "long", pluralCategory, null, null, false); in getBestBaseUnit()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestUnits.java2021 String pluralCategory = row[2]; in TestFallbackNames() local
2028 …final String actual = unitId.toString(resolvedFile, "long", pluralCategory, caseVariant, partsUsed… in TestFallbackNames()
2067 for (String pluralCategory : pluralRules.getKeywords()) { in TestFileFallbackNames()
2071 …composedName = unitId.toString(resolvedFile, width, pluralCategory, caseVariant, partsUsed, false); in TestFileFallbackNames()
2079 …sName = UnitPathType.unit.getTrans(resolvedFile, width, shortUnitId, pluralCategory, caseVariant, … in TestFileFallbackNames()
2086 + "\t" + pluralCategory in TestFileFallbackNames()
/external/cldr/docs/ldml/
Dtr35-general.md1239 **pattern(unitId, locale, length, pluralCategory, caseVariant)**
1243 3. Set result to be getValue(unitId with length, pluralCategory, caseVariant)
1247 6. Set numeratorUnitString to patternTimes(numerator, length, per0(pluralCategory), per0(caseVaria…
1248 7. Set denominatorUnitString to patternTimes(denominator, length, per1(pluralCategory), per1(caseV…
1253 **patternTimes(product_unit, locale, length, pluralCategory, caseVariant)**
1261 1. Set singlePluralCategory to be times0(pluralCategory)
1263 3. Set pluralCategory to be times1(pluralCategory)
1266 1. Set coreUnit to be the formatted currency according to the pluralCategory
2867 …nflectedName = getUnitName(locale, "kilogram-meter-per-square-second", pluralCategory, caseValue)`.
2895 …he `attributeValues` of `value0` and `value1` are: `compound` (=the `pluralCategory` of the compou…