Home
last modified time | relevance | path

Searched refs:pluralForm (Results 1 – 18 of 18) 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/icu4c/source/i18n/
Dnumber_longnames.cpp340 StandardPlural::Form pluralForm, in getUnitPattern() argument
352 return (!(simpleFormats[pluralForm]).isBogus())? simpleFormats[pluralForm]: in getUnitPattern()
406 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, rules, quantity, status); in processQuantity() local
407 micros.modOuter = &fModifiers[pluralForm]; in processQuantity()
503 StandardPlural::Form pluralForm = utils::getStandardPlural(rules, fdec); in getMixedUnitModifier() local
506 getWithPlural(&fMixedUnitData[i * ARRAY_LENGTH], pluralForm, status); in getMixedUnitModifier()
Dnumber_patternmodifier.cpp141 … StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, rules, quantity, status); in applyToMicros() local
142 micros.modMiddle = pm->getModifier(quantity.signum(), pluralForm); in applyToMicros()
176 StandardPlural::Form pluralForm = utils::getPluralSafe(micros.rounder, fRules, fq, status); in processQuantity() local
177 nonConstThis->setNumberProperties(fq.signum(), pluralForm); in processQuantity()
Dquantityformatter.cpp184 StandardPlural::Form& pluralForm, in formatAndSelect() argument
214 pluralForm = StandardPlural::orOtherFromString(pluralKeyword); in formatAndSelect()
Dquantityformatter.h143 StandardPlural::Form& pluralForm,
Dreldatefmt.cpp953 StandardPlural::Form pluralForm; in formatImpl() local
959 pluralForm, in formatImpl()
966 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralForm); in formatImpl()
1021 StandardPlural::Form pluralForm; in formatNumericImpl() local
1027 pluralForm, in formatNumericImpl()
1034 fCache->getRelativeDateTimeUnitFormatter(fStyle, unit, bFuture, pluralForm); in formatNumericImpl()
Dnumber_longnames.h31 StandardPlural::Form pluralForm,
Dmeasfmt.cpp695 StandardPlural::Form pluralForm = QuantityFormatter::selectPlural( in formatMeasure() local
698 amtUnit, getUnitWidth(fWidth), pluralForm, status); in formatMeasure()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMutablePatternModifier.java253 … StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in applyToMicros() local
254 micros.modMiddle = pm.getModifier(quantity.signum(), pluralForm); in applyToMicros()
286 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, fq); in processQuantity() local
287 setNumberProperties(fq.signum(), pluralForm); in processQuantity() local
DLongNameHandler.java330 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in processQuantity() local
331 micros.modOuter = modifiers.get(pluralForm); in processQuantity()
344 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in processQuantityWithMicros() local
345 micros.modOuter = modifiers.get(pluralForm); in processQuantityWithMicros()
DMixedUnitLongNameHandler.java180 StandardPlural pluralForm = fdec.getStandardPlural(rules); in getMixedUnitModifier() local
182 … String simpleFormat = LongNameHandler.getWithPlural(this.fMixedUnitData.get(i), pluralForm); in getMixedUnitModifier()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMutablePatternModifier.java248 … StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in applyToMicros() local
249 micros.modMiddle = pm.getModifier(quantity.signum(), pluralForm); in applyToMicros()
281 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, fq); in processQuantity() local
282 setNumberProperties(fq.signum(), pluralForm); in processQuantity() local
DLongNameHandler.java326 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in processQuantity() local
327 micros.modOuter = modifiers.get(pluralForm); in processQuantity()
340 StandardPlural pluralForm = RoundingUtils.getPluralSafe(micros.rounder, rules, quantity); in processQuantityWithMicros() local
341 micros.modOuter = modifiers.get(pluralForm); in processQuantityWithMicros()
DMixedUnitLongNameHandler.java178 StandardPlural pluralForm = fdec.getStandardPlural(rules); in getMixedUnitModifier() local
180 … String simpleFormat = LongNameHandler.getWithPlural(this.fMixedUnitData.get(i), pluralForm); in getMixedUnitModifier()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java701 StandardPlural pluralForm = StandardPlural.orOtherFromString(pluralKeyword); in formatImpl() local
703 … String compiledPattern = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in formatImpl()
1092 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
1093 if (pluralForm != StandardPlural.OTHER) { in getRelativeUnitPluralPattern()
1094 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
1103 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
1104 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java621 StandardPlural pluralForm = StandardPlural.orOtherFromString(pluralKeyword); in formatImpl() local
623 … String compiledPattern = getRelativeUnitPluralPattern(style, unit, pastFutureIndex, pluralForm); in formatImpl()
1002 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPluralPattern() argument
1003 if (pluralForm != StandardPlural.OTHER) { in getRelativeUnitPluralPattern()
1004 String formatter = getRelativeUnitPattern(style, unit, pastFutureIndex, pluralForm); in getRelativeUnitPluralPattern()
1013 Style style, RelativeUnit unit, int pastFutureIndex, StandardPlural pluralForm) { in getRelativeUnitPattern() argument
1014 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern()
/external/icu/libicu/cts_headers/
Dquantityformatter.h143 StandardPlural::Form& pluralForm,
Dnumber_longnames.h31 StandardPlural::Form pluralForm,