Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dquantityformatter.cpp82 int32_t pluralIndex = StandardPlural::indexFromString(variant, status); in addIfAbsent() local
86 if (formatters[pluralIndex] != NULL) { in addIfAbsent()
98 formatters[pluralIndex] = newFmt; in addIfAbsent()
109 int32_t pluralIndex = StandardPlural::indexOrOtherIndexFromString(variant); in getByVariant() local
110 const SimpleFormatter *pattern = formatters[pluralIndex]; in getByVariant()
Dreldatefmt.cpp511 int32_t pluralIndex = StandardPlural::indexOrNegativeFromString(key); in consumeTimeDetail() local
512 if (pluralIndex >= 0) { in consumeTimeDetail()
517 if (patterns[pluralIndex] == nullptr) { in consumeTimeDetail()
518 patterns[pluralIndex] = new SimpleFormatter( in consumeTimeDetail()
520 if (patterns[pluralIndex] == nullptr) { in consumeTimeDetail()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java1051 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
1057 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
1058 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
1351 int pluralIndex = StandardPlural.indexFromString(key.toString()); in consumeTimeDetail() local
1352 if (patterns[pastFutureIndex][pluralIndex] == null) { in consumeTimeDetail()
1353 patterns[pastFutureIndex][pluralIndex] = in consumeTimeDetail()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java1131 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
1137 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
1138 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
1431 int pluralIndex = StandardPlural.indexFromString(key.toString()); in consumeTimeDetail() local
1432 if (patterns[pastFutureIndex][pluralIndex] == null) { in consumeTimeDetail()
1433 patterns[pastFutureIndex][pluralIndex] = in consumeTimeDetail()