/external/freetype/src/cache/ |
ftccback.h | 32 FTC_Cache cache ); 37 FTC_Cache cache ); 41 FTC_Cache cache ); 46 FTC_Cache cache ); 51 FTC_Cache cache ); 55 FTC_Cache cache ); 60 FTC_Cache cache, 67 FTC_Cache cache, 72 ftc_gcache_init( FTC_Cache cache ); variable 75 ftc_gcache_done( FTC_Cache cache ); variable 79 ftc_cache_init( FTC_Cache cache ); variable 82 ftc_cache_done( FTC_Cache cache ); variable [all...] |
/external/guava/guava/src/com/google/common/cache/ |
package-info.java | 20 * <p>The core interface used to represent caches is {@link com.google.common.cache.Cache}. 22 * {@link com.google.common.cache.CacheBuilder}, with cache entries being loaded by 23 * {@link com.google.common.cache.CacheLoader}. Statistics about cache performance are exposed using 24 * {@link com.google.common.cache.CacheStats}. 32 package com.google.common.cache;
|
RemovalListener.java | 17 package com.google.common.cache; 22 * An object that can receive a notification when an entry is removed from a cache. The removal
|
RemovalListeners.java | 17 package com.google.common.cache;
|
Weigher.java | 17 package com.google.common.cache; 22 * Calculates the weights of cache entries. 31 * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
|
/external/chromium/net/ftp/ |
ftp_auth_cache_unittest.cc | 32 FtpAuthCache cache; local 38 EXPECT_TRUE(cache.Lookup(origin1) == NULL); 41 cache.Add(origin1, kUsername1, kPassword1); 42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); 49 cache.Add(origin2, kUsername2, kPassword2); 50 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2); 57 EXPECT_EQ(entry1, cache.Lookup(origin1)); 60 cache.Add(origin1, kUsername3, kPassword3); 61 FtpAuthCache::Entry* entry3 = cache.Lookup(origin1); 68 cache.Remove(origin1, kUsername3, kPassword3) 79 FtpAuthCache cache; local 95 FtpAuthCache cache; local 120 FtpAuthCache cache; local 135 FtpAuthCache cache; local [all...] |
/external/chromium_org/net/ftp/ |
ftp_auth_cache_unittest.cc | 33 FtpAuthCache cache; local 39 EXPECT_TRUE(cache.Lookup(origin1) == NULL); 42 cache.Add(origin1, net::AuthCredentials(kUsername1, kPassword1)); 43 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); 50 cache.Add(origin2, net::AuthCredentials(kUsername2, kPassword2)); 51 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2); 58 EXPECT_EQ(entry1, cache.Lookup(origin1)); 61 cache.Add(origin1, net::AuthCredentials(kUsername3, kPassword3)); 62 FtpAuthCache::Entry* entry3 = cache.Lookup(origin1); 69 cache.Remove(origin1, net::AuthCredentials(kUsername3, kPassword3)) 80 FtpAuthCache cache; local 96 FtpAuthCache cache; local 122 FtpAuthCache cache; local 137 FtpAuthCache cache; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
anytrans.h | 38 * Cache mapping UScriptCode values to Transliterator*. 40 UHashtable* cache; member in class:AnyTransliterator
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheManualTest.java | 15 package com.google.common.cache; 30 Cache<Object, Object> cache = CacheBuilder.newBuilder().build(); local 31 CacheStats stats = cache.stats(); 40 assertNull(cache.getIfPresent(one)); 41 stats = cache.stats(); 46 assertNull(cache.asMap().get(one)); 47 assertFalse(cache.asMap().containsKey(one)); 48 assertFalse(cache.asMap().containsValue(two)); 50 assertNull(cache.getIfPresent(two)) 106 Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); local [all...] |
CacheRefreshTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.TestingCacheLoaders.incrementingLoader; 20 import com.google.common.cache.TestingCacheLoaders.IncrementingLoader; 26 * Tests relating to automatic cache refreshing. 34 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 43 assertEquals(Integer.valueOf(i), cache.getUnchecked(i)); 50 assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); 51 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); 52 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); 58 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)) [all...] |
AbstractLoadingCacheTest.java | 17 package com.google.common.cache; 37 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { local 54 cache.getUnchecked(new Object()); 62 assertSame(newValue, cache.getUnchecked(new Object())); 68 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { local 85 cache.getUnchecked(new Object()); 93 assertSame(newValue, cache.getUnchecked(new Object())); 99 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { local 116 cache.getUnchecked(new Object()); 124 assertSame(newValue, cache.getUnchecked(new Object())) 130 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { local [all...] |
NullCacheTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.CacheTesting.checkEmpty; 18 import static com.google.common.cache.TestingCacheLoaders.constantLoader; 19 import static com.google.common.cache.TestingCacheLoaders.exceptionLoader; 20 import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; 23 import com.google.common.cache.CacheLoader.InvalidCacheLoadException; 24 import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener; 44 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 50 assertSame(computed, cache.getUnchecked(key)); 56 checkEmpty(cache); 61 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 78 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 94 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local [all...] |
/external/icu4c/i18n/ |
anytrans.h | 38 * Cache mapping UScriptCode values to Transliterator*. 40 UHashtable* cache; member in class:AnyTransliterator
|
/libcore/luni/src/main/java/java/net/ |
AddressCache.java | 22 * Implements caching for {@code InetAddress}. We use a unified cache for both positive and negative 23 * cache entries. 31 * When the cache contains more entries than this, we start dropping the oldest ones. 36 // The TTL for the Java-level cache is short, just 2s. 39 // The actual cache. 40 private final BasicLruCache<String, AddressCacheEntry> cache field in class:AddressCache 63 * Removes all entries from the cache. 66 cache.evictAll(); 75 AddressCacheEntry entry = cache.get(hostname); 76 // Do we have a valid cache entry [all...] |
/external/chromium/net/base/ |
ssl_client_auth_cache_unittest.cc | 14 SSLClientAuthCache cache; local 34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); 37 cache.Add(server1, cert1); 39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 43 cache.Add(server2, cert2); 45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 48 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)); 52 cache.Add(server1, cert3); 54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 57 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)) 80 SSLClientAuthCache cache; local 106 SSLClientAuthCache cache; local 142 SSLClientAuthCache cache; local [all...] |
/external/chromium_org/net/ssl/ |
ssl_client_auth_cache_unittest.cc | 14 SSLClientAuthCache cache; local 34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); 37 cache.Add(server1, cert1.get()); 39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 43 cache.Add(server2, cert2.get()); 45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 48 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)); 52 cache.Add(server1, cert3.get()); 54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); 57 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)) 80 SSLClientAuthCache cache; local 106 SSLClientAuthCache cache; local 142 SSLClientAuthCache cache; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
pcy_map.c | 65 /* Set policy mapping entries in cache. 73 X509_POLICY_CACHE *cache = x->policy_cache; local 93 data = policy_cache_find_data(cache, map->issuerDomainPolicy); 95 if (!data && !cache->anyPolicy) 102 cache->anyPolicy->flags 106 data->qualifier_set = cache->anyPolicy->qualifier_set; 110 if (!sk_X509_POLICY_DATA_push(cache->data, data))
|
/external/chromium_org/v8/test/mjsunit/ |
substr.js | 113 var cache = []; variable 117 cache.push(z); 132 var cache = []; variable 136 cache.push(z); 140 var cache = []; variable 146 cache.push(z); 150 var z = cache.pop();
|
/external/openssl/crypto/x509v3/ |
pcy_map.c | 65 /* Set policy mapping entries in cache. 73 X509_POLICY_CACHE *cache = x->policy_cache; local 93 data = policy_cache_find_data(cache, map->issuerDomainPolicy); 95 if (!data && !cache->anyPolicy) 102 cache->anyPolicy->flags 106 data->qualifier_set = cache->anyPolicy->qualifier_set; 110 if (!sk_X509_POLICY_DATA_push(cache->data, data))
|
/external/v8/test/mjsunit/ |
substr.js | 113 var cache = []; variable 117 cache.push(z); 132 var cache = []; variable 136 cache.push(z); 140 var cache = []; variable 146 cache.push(z); 150 var z = cache.pop();
|
/external/wpa_supplicant_8/src/ap/ |
vlan_util.c | 36 struct nl_cache *cache = NULL; local 66 if (rtnl_link_alloc_cache(handle, AF_UNSPEC, &cache) < 0) { 67 cache = NULL; 68 wpa_printf(MSG_ERROR, "VLAN: failed to alloc cache"); 72 if (!(if_idx = rtnl_link_name2i(cache, if_name))) { 79 if ((rlink = rtnl_link_get_by_name(cache, vlan_if_name))) { 120 if (cache) 121 nl_cache_free(cache); 132 struct nl_cache *cache = NULL; local 148 if (rtnl_link_alloc_cache(handle, AF_UNSPEC, &cache) < 0) [all...] |
/libcore/luni/src/test/java/libcore/util/ |
BasicLruCacheTest.java | 28 BasicLruCache<String, String> cache = newCreatingCache(); local 29 String created = cache.get("aa"); 34 BasicLruCache<String, String> cache = newCreatingCache(); local 35 cache.put("aa", "put-aa"); 36 assertEquals("put-aa", cache.get("aa")); 48 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3); local 50 cache.put(null, "A"); 57 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3); local 59 cache.put("a", null); 66 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(1) local 75 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3) { local 98 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(3) { local 114 BasicLruCache<String, String> cache = new BasicLruCache<String, String>(10) { local [all...] |
/external/chromium_org/chrome/browser/profiles/ |
avatar_menu_model_browsertest.cc | 38 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local 39 size_t index = cache.GetIndexOfProfileWithPath(current_profile->GetPath()); 41 AvatarMenuModel model(&cache, NULL, browser()); 50 EXPECT_FALSE(cache.ProfileIsSigninRequiredAtIndex(index)); 53 EXPECT_TRUE(cache.ProfileIsSigninRequiredAtIndex(index)); 71 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); local 73 base::FilePath user_dir = cache.GetUserDataDir(); 85 ASSERT_EQ(cache.GetNumberOfProfiles(), 2U); 87 AvatarMenuModel model(&cache, NULL, browser()); 94 model.SwitchToProfile(cache.GetIndexOfProfileWithPath(path_profile1), false) [all...] |
/external/chromium_org/chrome/browser/task_manager/ |
task_manager_util.cc | 51 ProfileInfoCache& cache = local 53 size_t index = cache.GetIndexOfProfileWithPath( 58 return cache.GetNameOfProfileAtIndex(index);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
SVGAnimatedProperty.cpp | 39 // Remove wrapper from cache. 40 Cache* cache = animatedPropertyCache(); local 41 const Cache::const_iterator end = cache->end(); 42 for (Cache::const_iterator it = cache->begin(); it != end; ++it) { 44 cache->remove(it->key); 61 SVGAnimatedProperty::Cache* SVGAnimatedProperty::animatedPropertyCache() 63 static Cache* s_cache = new Cache [all...] |