Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/source/i18n/
Dmsgfmt.cpp245 cachedFormatters(nullptr), in MessageFormat()
267 cachedFormatters(nullptr), in MessageFormat()
290 cachedFormatters(nullptr), in MessageFormat()
312 cachedFormatters(nullptr), 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 = nullptr; in resetPattern()
558 if (cachedFormatters == nullptr) { in setArgStartFormat()
[all …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMessageFormat.java810 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
838 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
863 if (cachedFormatters == null) { in getFormatByArgumentName()
872 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1291 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1303 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1431 if (cachedFormatters != null) { in clone()
1432 other.cachedFormatters = new HashMap<>(); 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 …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java828 list.set(argNumber, cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormatsByArgumentIndex()
857 list.add(cachedFormatters == null ? null : cachedFormatters.get(partIndex)); in getFormats()
884 if (cachedFormatters == null) { in getFormatByArgumentName()
893 return cachedFormatters.get(partIndex); in getFormatByArgumentName()
1322 if(cachedFormatters!=null && (formatter=cachedFormatters.get(i - 2))!=null) { in parse()
1334 (cachedFormatters!=null && cachedFormatters.containsKey(i - 2))) { in parse()
1465 if (cachedFormatters != null) { in clone()
1466 other.cachedFormatters = new HashMap<>(); in clone()
1467 Iterator<Map.Entry<Integer, Format>> it = cachedFormatters.entrySet().iterator(); in clone()
1470 other.cachedFormatters.put(entry.getKey(), entry.getValue()); in clone()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
DMessageFormat2Test.java202 private final Map<String, LocalizedNumberFormatter> cachedFormatters = field in MessageFormat2Test.TemperatureFormatterFactory.TemperatureFormatterImpl
224 LocalizedNumberFormatter realNf = cachedFormatters.get(unit); in format()
239 cachedFormatters.put(unit, realNf); in format()
/third_party/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h942 UHashtable* cachedFormatters; variable
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dmsgfmt.h942 UHashtable* cachedFormatters; variable
/third_party/node/deps/icu-small/source/i18n/unicode/
Dmsgfmt.h942 UHashtable* cachedFormatters; variable