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.cpp495 int32_t pluralIndex = StandardPlural::indexOrNegativeFromString(key); in consumeTimeDetail() local
496 if (pluralIndex >= 0) { in consumeTimeDetail()
501 if (patterns[pluralIndex] == nullptr) { in consumeTimeDetail()
502 patterns[pluralIndex] = new SimpleFormatter( in consumeTimeDetail()
504 if (patterns[pluralIndex] == nullptr) { in consumeTimeDetail()
853 StandardPlural::Form pluralIndex = QuantityFormatter::selectPlural( in format() local
858 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralIndex); in format()
890 StandardPlural::Form pluralIndex = QuantityFormatter::selectPlural( in formatNumeric() local
895 fCache->getRelativeDateTimeUnitFormatter(fStyle, unit, bFuture, pluralIndex); in formatNumeric()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java741 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
747 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
748 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
1041 int pluralIndex = StandardPlural.indexFromString(key.toString()); in consumeTimeDetail() local
1042 if (patterns[pastFutureIndex][pluralIndex] == null) { in consumeTimeDetail()
1043 patterns[pastFutureIndex][pluralIndex] = in consumeTimeDetail()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java804 int pluralIndex = pluralForm.ordinal(); in getRelativeUnitPattern() local
810 if (spfCompiledPatterns[pastFutureIndex][pluralIndex] != null) { in getRelativeUnitPattern()
811 return spfCompiledPatterns[pastFutureIndex][pluralIndex]; in getRelativeUnitPattern()
1104 int pluralIndex = StandardPlural.indexFromString(key.toString()); in consumeTimeDetail() local
1105 if (patterns[pastFutureIndex][pluralIndex] == null) { in consumeTimeDetail()
1106 patterns[pastFutureIndex][pluralIndex] = in consumeTimeDetail()