Home
last modified time | relevance | path

Searched refs:pluralForm (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/common/
Dpluralmap.cpp19 PluralMapBase::toCategory(const char *pluralForm) { in toCategory() argument
21 if (uprv_strcmp(pluralForm, gPluralForms[i]) == 0) { in toCategory()
29 PluralMapBase::toCategory(const UnicodeString &pluralForm) { in toCategory() argument
32 cCategory.appendInvariantChars(pluralForm, status); in toCategory()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java525 StandardPlural pluralForm = QuantityFormatter.selectPlural(quantity, in format() local
528 … String formatter = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in format()
804 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
805 if (pluralForm != StandardPlural.OTHER) { in getRelativeUnitPluralPattern()
806 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
815 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
816 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern()
DMeasureFormat.java1088 StandardPlural pluralForm = QuantityFormatter.selectPlural( in formatMeasure() local
1090 String formatter = getPluralFormatter(unit, formatWidth, pluralForm.ordinal()); in formatMeasure()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java469 StandardPlural pluralForm = QuantityFormatter.selectPlural(quantity, in format() local
472 … String formatter = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in format()
741 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
742 if (pluralForm != StandardPlural.OTHER) { in getRelativeUnitPluralPattern()
743 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
752 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
753 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern()
DMeasureFormat.java1060 StandardPlural pluralForm = QuantityFormatter.selectPlural( in formatMeasure() local
1062 String formatter = getPluralFormatter(unit, formatWidth, pluralForm.ordinal()); in formatMeasure()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp957 StandardPlural::Form pluralForm = QuantityFormatter::selectPlural( in formatMeasure() local
959 const SimpleFormatter *formatter = getPluralFormatter(amtUnit, width, pluralForm, status); in formatMeasure()