Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dpluralmap.cpp17 PluralMapBase::toCategory(const char *pluralForm) { in toCategory() argument
19 if (uprv_strcmp(pluralForm, gPluralForms[i]) == 0) { in toCategory()
27 PluralMapBase::toCategory(const UnicodeString &pluralForm) { in toCategory() argument
30 cCategory.appendInvariantChars(pluralForm, status); in toCategory()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java408 StandardPlural pluralForm = QuantityFormatter.selectPlural(quantity, in format() local
411 … String formatter = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in format()
570 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
571 if (pluralForm != StandardPlural.OTHER) { in getRelativeUnitPluralPattern()
572 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
581 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
582 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern()
DMeasureFormat.java1034 StandardPlural pluralForm = QuantityFormatter.selectPlural( in formatMeasure() local
1036 String formatter = getPluralFormatter(unit, formatWidth, pluralForm.ordinal()); in formatMeasure()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java368 StandardPlural pluralForm = QuantityFormatter.selectPlural(quantity, in format() local
371 … String formatter = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in format()
523 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
524 if (pluralForm != StandardPlural.OTHER) { in getRelativeUnitPluralPattern()
525 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
534 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
535 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern()
DMeasureFormat.java1007 StandardPlural pluralForm = QuantityFormatter.selectPlural( in formatMeasure() local
1009 String formatter = getPluralFormatter(unit, formatWidth, pluralForm.ordinal()); in formatMeasure()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp901 StandardPlural::Form pluralForm = QuantityFormatter::selectPlural( in formatMeasure() local
903 … const SimplePatternFormatter *formatter = getPluralFormatter(amtUnit, width, pluralForm, status); in formatMeasure()