Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp245 cachedFormatters(NULL), in MessageFormat()
267 cachedFormatters(NULL), in MessageFormat()
290 cachedFormatters(NULL), in MessageFormat()
312 cachedFormatters(NULL), in MessageFormat()
327 uhash_close(cachedFormatters); in ~MessageFormat()
427 const Format* format = (const Format*)uhash_iget(cachedFormatters, cur->key.integer); in operator ==()
428 … const Format* rhs_format = (const Format*)uhash_iget(that.cachedFormatters, rhs_cur->key.integer); in operator ==()
502 uhash_close(cachedFormatters); in resetPattern()
503 cachedFormatters = NULL; in resetPattern()
557 if (cachedFormatters == NULL) { in setArgStartFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java782 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
810 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
835 if (cachedFormatters == null) { in getFormatByArgumentName()
844 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1263 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1275 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1403 if (cachedFormatters != null) { in clone()
1404 other.cachedFormatters = new HashMap<>(); in clone()
1405 Iterator<Map.Entry<Integer, Format>> it = cachedFormatters.entrySet().iterator(); in clone()
1408 other.cachedFormatters.put(entry.getKey(), entry.getValue()); in clone()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java803 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
832 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
859 if (cachedFormatters == null) { in getFormatByArgumentName()
868 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1297 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1309 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1440 if (cachedFormatters != null) { in clone()
1441 other.cachedFormatters = new HashMap<>(); in clone()
1442 Iterator<Map.Entry<Integer, Format>> it = cachedFormatters.entrySet().iterator(); in clone()
1445 other.cachedFormatters.put(entry.getKey(), entry.getValue()); in clone()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h925 UHashtable* cachedFormatters; variable