Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/ch/
DIOVecWrapper.java82 private static final ThreadLocal<IOVecWrapper> cached = field in IOVecWrapper
96 IOVecWrapper wrapper = cached.get(); in get()
105 cached.set(wrapper); in get()
/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeWalker.java209 BasicFileAttributes cached = ((BasicFileAttributesHolder)file).get(); in getAttributes() local
210 if (cached != null && (!followLinks || !cached.isSymbolicLink())) { in getAttributes()
211 return cached; in getAttributes()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java494 final Map.Entry<String, Charset> cached = cache1;
495 if (cached != null && charsetName.equals(cached.getKey()))
496 return cached.getValue();
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java444 Map<K,V> cached = getCachedEntries(); in accept() local
446 visitor.visit(cached); in accept()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3781 Map<Locale, Entry<Integer, SoftReference<PrefixTree>>> cached = in getTree() local
3787 if ((entry = cached.get(locale)) == null || in getTree()
3853cached.put(locale, new SimpleImmutableEntry<>(regionIdsSize, new SoftReference<>(tree))); in getTree()
3892 Entry<Integer, PrefixTree> cached = context.isCaseSensitive() in getTree() local
3894 if (cached == null || cached.getKey() != regionIdsSize) { in getTree()
3896 cached = context.isCaseSensitive() ? cachedPrefixTree : cachedPrefixTreeCI; in getTree()
3897 if (cached == null || cached.getKey() != regionIdsSize) { in getTree()
3898cached = new SimpleImmutableEntry<>(regionIdsSize, PrefixTree.newTree(regionIds, context)); in getTree()
3900 cachedPrefixTree = cached; in getTree()
3902 cachedPrefixTreeCI = cached; in getTree()
[all …]