Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp78 int32_t pluralIndex = StandardPlural::indexFromString(variant, status); in addIfAbsent() local
82 if (formatters[pluralIndex] != NULL) { in addIfAbsent()
94 formatters[pluralIndex] = newFmt; in addIfAbsent()
105 int32_t pluralIndex = StandardPlural::indexOrOtherIndexFromString(variant); in getByVariant() local
106 const SimplePatternFormatter *pattern = formatters[pluralIndex]; in getByVariant()
Dtmutfmt.cpp421 for ( int32_t pluralIndex = 0; pluralIndex < count; ++pluralIndex) { in readFromCurrentLocale() local
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java399 for (int pluralIndex = 0; pluralIndex < count; ++pluralIndex) { in setup()
400 String pluralCount = oneUnitRes.get(pluralIndex).getKey(); in setup()
403 String pattern = oneUnitRes.get(pluralIndex).getString(); in setup()
DRelativeDateTimeFormatter.java582 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
588 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
589 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
870 int pluralIndex = StandardPlural.indexFromString(key.toString()); in put() local
871 if (patterns[pastFutureIndex][pluralIndex] == null) { in put()
872 patterns[pastFutureIndex][pluralIndex] = in put()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java401 for (int pluralIndex = 0; pluralIndex < count; ++pluralIndex) { in setup()
402 String pluralCount = oneUnitRes.get(pluralIndex).getKey(); in setup()
405 String pattern = oneUnitRes.get(pluralIndex).getString(); in setup()
DRelativeDateTimeFormatter.java535 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
541 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
542 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
823 int pluralIndex = StandardPlural.indexFromString(key.toString()); in put() local
824 if (patterns[pastFutureIndex][pluralIndex] == null) { in put()
825 patterns[pastFutureIndex][pluralIndex] = in put()