Home
last modified time | relevance | path

Searched refs:countToPatterns (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java401 Map<String, Object[]> countToPatterns = timeUnitToCountToPatterns.get(timeUnit); in put() local
402 if (countToPatterns == null) { in put()
403 countToPatterns = new TreeMap<>(); in put()
404 timeUnitToCountToPatterns.put(timeUnit, countToPatterns); in put()
416 Object[] pair = countToPatterns.get(pluralCount); in put()
419 countToPatterns.put(pluralCount, pair); in put()
468 Map<String, Object[]> countToPatterns = timeUnitToCountToPatterns.get(timeUnit); in setup() local
469 if (countToPatterns == null) { in setup()
470 countToPatterns = new TreeMap<>(); in setup()
471 timeUnitToCountToPatterns.put(timeUnit, countToPatterns); in setup()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java403 Map<String, Object[]> countToPatterns = timeUnitToCountToPatterns.get(timeUnit); in put() local
404 if (countToPatterns == null) { in put()
405 countToPatterns = new TreeMap<>(); in put()
406 timeUnitToCountToPatterns.put(timeUnit, countToPatterns); in put()
418 Object[] pair = countToPatterns.get(pluralCount); in put()
421 countToPatterns.put(pluralCount, pair); in put()
470 Map<String, Object[]> countToPatterns = timeUnitToCountToPatterns.get(timeUnit); in setup() local
471 if (countToPatterns == null) { in setup()
472 countToPatterns = new TreeMap<>(); in setup()
473 timeUnitToCountToPatterns.put(timeUnit, countToPatterns); in setup()
[all …]
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp194 Hashtable* countToPatterns = fTimeUnitToCountToPatterns[i]; in parseObject() local
197 while ((elem = countToPatterns->nextElement(elemPos)) != NULL){ in parseObject()
401 Hashtable *countToPatterns = in put() local
403 if (countToPatterns == NULL) { in put()
406 countToPatterns = localCountToPatterns.getAlias(); in put()
432 (MessageFormat**)countToPatterns->get(pluralCountUniStr); in put()
442 countToPatterns->put(pluralCountUniStr, localFormatters.getAlias(), errorCode); in put()
514 Hashtable* countToPatterns = fTimeUnitToCountToPatterns[i]; in checkConsistency() local
515 if ( countToPatterns == NULL ) { in checkConsistency()
516 fTimeUnitToCountToPatterns[i] = countToPatterns = initHash(err); in checkConsistency()
[all …]