Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp242 cachedFormatters(NULL), in MessageFormat()
264 cachedFormatters(NULL), in MessageFormat()
287 cachedFormatters(NULL), in MessageFormat()
309 cachedFormatters(NULL), in MessageFormat()
324 uhash_close(cachedFormatters); in ~MessageFormat()
424 const Format* format = (const Format*)uhash_iget(cachedFormatters, cur->key.integer); in operator ==()
425 … const Format* rhs_format = (const Format*)uhash_iget(that.cachedFormatters, rhs_cur->key.integer); in operator ==()
499 uhash_close(cachedFormatters); in resetPattern()
500 cachedFormatters = NULL; in resetPattern()
554 if (cachedFormatters == NULL) { in setArgStartFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java797 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
826 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
853 if (cachedFormatters == null) { in getFormatByArgumentName()
862 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1289 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1301 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1431 if (cachedFormatters != null) { in clone()
1432 other.cachedFormatters = new HashMap<Integer, Format>(); in clone()
1433 Iterator<Map.Entry<Integer, Format>> it = cachedFormatters.entrySet().iterator(); in clone()
1436 other.cachedFormatters.put(entry.getKey(), entry.getValue()); in clone()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java779 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
807 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
832 if (cachedFormatters == null) { in getFormatByArgumentName()
841 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1258 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1270 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1397 if (cachedFormatters != null) { in clone()
1398 other.cachedFormatters = new HashMap<Integer, Format>(); in clone()
1399 Iterator<Map.Entry<Integer, Format>> it = cachedFormatters.entrySet().iterator(); in clone()
1402 other.cachedFormatters.put(entry.getKey(), entry.getValue()); in clone()
[all …]
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java754 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
783 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
810 if (cachedFormatters == null) { in getFormatByArgumentName()
819 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1246 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1258 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1472 private transient Map<Integer, Format> cachedFormatters; field in MessageFormat
1606 } else if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in format()
1613 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in format()
2008 if(context.numberArgIndex > 0 && msgFormat.cachedFormatters != null) { in select()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h920 UHashtable* cachedFormatters; variable