Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp80 int32_t pluralIndex = StandardPlural::indexFromString(variant, status); in addIfAbsent() local
84 if (formatters[pluralIndex] != NULL) { in addIfAbsent()
96 formatters[pluralIndex] = newFmt; in addIfAbsent()
107 int32_t pluralIndex = StandardPlural::indexOrOtherIndexFromString(variant); in getByVariant() local
108 const SimpleFormatter *pattern = formatters[pluralIndex]; in getByVariant()
Dreldatefmt.cpp458 int32_t pluralIndex = StandardPlural::indexOrNegativeFromString(key); in consumeTimeDetail() local
459 if (pluralIndex >= 0) { in consumeTimeDetail()
464 if (patterns[pluralIndex] == NULL) { in consumeTimeDetail()
465 patterns[pluralIndex] = new SimpleFormatter( in consumeTimeDetail()
467 if (patterns[pluralIndex] == NULL) { in consumeTimeDetail()
807 StandardPlural::Form pluralIndex = QuantityFormatter::selectPlural( in format() local
812 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralIndex); in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java816 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
822 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
823 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
1115 int pluralIndex = StandardPlural.indexFromString(key.toString()); in consumeTimeDetail() local
1116 if (patterns[pastFutureIndex][pluralIndex] == null) { in consumeTimeDetail()
1117 patterns[pastFutureIndex][pluralIndex] = in consumeTimeDetail()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java753 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
759 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
760 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
1052 int pluralIndex = StandardPlural.indexFromString(key.toString()); in consumeTimeDetail() local
1053 if (patterns[pastFutureIndex][pluralIndex] == null) { in consumeTimeDetail()
1054 patterns[pastFutureIndex][pluralIndex] = in consumeTimeDetail()