Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 37) sorted by relevance

12

/libcore/luni/src/test/java/libcore/libcore/util/
DBasicLruCacheTest.java30 BasicLruCache<String, String> cache = newCreatingCache(); in testCreateOnCacheMiss() local
36 BasicLruCache<String, String> cache = newCreatingCache(); in testNoCreateOnCacheHit() local
50 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3); in testCannotPutNullKey() local
59 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3); in testCannotPutNullValue() local
68 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(1); in testEvictionWithSingletonCache() local
77 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3) { in testEntryEvictedWhenFull() local
100 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3) { in testPutDoesNotCauseEviction() local
116 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(10) { in testEvictAll() local
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/
DX509Factory.java49 sun.security.util.Cache<K, V> cache, byte[] encoding) { in getFromCache()
55 sun.security.util.Cache<java.lang.Object, V> cache, byte[] encoding, V value) { in addToCache()
/libcore/ojluni/src/main/java/java/lang/
DClassValue.java102 Entry<?>[] cache; in get() local
208 private T getFromBackup(Entry<?>[] cache, Class<?> type) { in getFromBackup()
552 static Entry<?> loadFromCache(Entry<?>[] cache, int i) { in loadFromCache()
560 static <T> Entry<T> probeHomeLocation(Entry<?>[] cache, ClassValue<T> classValue) { in probeHomeLocation()
565 static <T> Entry<T> probeBackupLocations(Entry<?>[] cache, ClassValue<T> classValue) { in probeBackupLocations()
601 private static int entryDislocation(Entry<?>[] cache, int pos, Entry<?> e) { in entryDislocation()
643 private void removeStaleEntries(Entry<?>[] cache, int begin, int count) { in removeStaleEntries()
667 private Entry<?> findReplacement(Entry<?>[] cache, int home1) { in findReplacement()
712 Entry<?>[] cache = getCache(); in removeStaleEntries() local
748 private Entry<?> placeInCache(Entry<?>[] cache, int pos, Entry<?> e, boolean gently) { in placeInCache()
DShort.java249 static final Short[] cache; field in Short.ShortCache
DByte.java126 static final Byte[] cache; field in Byte.ByteCache
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java213 int[] cache = getLookupCache(name); in findResource() local
237 int[] cache = getLookupCache(name); in getResource() local
258 private int[] cache = getLookupCache(name); in findResources() local
306 private int[] cache = getLookupCache(name); in getResources() local
/libcore/ojluni/src/main/java/sun/security/provider/
DX509Factory.java216 private static synchronized <K,V> V getFromCache(Cache<K,V> cache, in getFromCache()
225 private static synchronized <V> void addToCache(Cache<Object, V> cache, in addToCache()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUtil.java224 BufferCache cache = bufferCache.get(); in getTemporaryDirectBuffer() local
261 BufferCache cache = bufferCache.get(); in offerFirstTemporaryDirectBuffer() local
283 BufferCache cache = bufferCache.get(); in offerLastTemporaryDirectBuffer() local
/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java45 private final BasicLruCache<String, ZoneRules> cache = new ZoneRulesCache(8); field in IcuZoneRulesProvider
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java333 private static void cache(String charsetName, Charset cs) { in cache() method in Charset
/libcore/ojluni/annotations/hiddenapi/sun/nio/cs/
DThreadLocalCoders.java69 private java.lang.ThreadLocal<java.lang.Object[]> cache; field in ThreadLocalCoders.Cache
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DCertStoreHelper.java63 private static Cache<String, CertStoreHelper> cache field in CertStoreHelper
DX509CertificatePair.java82 private static final Cache<Object, X509CertificatePair> cache field in X509CertificatePair
/libcore/support/src/test/java/tests/support/
DSupport_GetLocal.java35 static Hashtable<String, File> cache = new Hashtable<String, File>(20); field in Support_GetLocal
/libcore/ojluni/src/main/java/sun/nio/cs/
DThreadLocalCoders.java43 private ThreadLocal<Object[]> cache = new ThreadLocal<>(); field in ThreadLocalCoders.Cache
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertificatePair.java102 cache; field in X509CertificatePair
/libcore/luni/src/main/java/java/net/
DAddressCache.java42 private final BasicLruCache<AddressCacheKey, AddressCacheEntry> cache field in AddressCache
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java51 private static final transient Map<Class<? extends Annotation>, AnnotationMember[]> cache = field in AnnotationFactory
/libcore/ojluni/annotations/hiddenapi/java/lang/
DShort.java167 static final java.lang.Short[] cache; field in Short.ShortCache
DByte.java180 static final java.lang.Byte[] cache; field in Byte.ByteCache
/libcore/ojluni/src/main/java/java/util/
DSimpleTimeZone.java551 Cache cache = this.cache; in getOffsets() local
673 Cache cache = this.cache; in getOffset() local
1201 private transient volatile Cache cache; field in SimpleTimeZone
/libcore/ojluni/src/main/java/sun/util/calendar/
DJulianCalendar.java148 public long getFixedDate(int jyear, int month, int dayOfMonth, BaseCalendar.Date cache) { in getFixedDate()
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java46 private static void cache(java.lang.String charsetName, java.nio.charset.Charset cs) { in cache() method in Charset
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java76 int year, int month, int dayOfMonth, sun.util.calendar.BaseCalendar.Date cache) { in getFixedDate()
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java177 private ExpiringCache cache = new ExpiringCache(); field in UnixFileSystem

12