Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/nio/charset/
DCharset.java156 private static final HashMap<String, Charset> CACHED_CHARSETS = new HashMap<String, Charset>(); field in Charset
245 synchronized (CACHED_CHARSETS) { in cacheCharset()
248 Charset canonicalCharset = CACHED_CHARSETS.get(canonicalName); in cacheCharset()
254 CACHED_CHARSETS.put(canonicalName, canonicalCharset); in cacheCharset()
260 CACHED_CHARSETS.put(charsetName, canonicalCharset); in cacheCharset()
264 CACHED_CHARSETS.put(alias, canonicalCharset); in cacheCharset()
283 synchronized (CACHED_CHARSETS) { in forName()
284 cs = CACHED_CHARSETS.get(charsetName); in forName()