/external/iptables/ |
autogen.sh | 4 rm -Rf autom4te*.cache;
|
/system/core/libnl_2/ |
cache.c | 19 #include "netlink/cache.h" 22 void nl_cache_free(struct nl_cache *cache) 27 void nl_cache_clear(struct nl_cache *cache)
|
/frameworks/base/core/tests/coretests/src/android/util/ |
LruCacheTest.java | 34 LruCache<String, String> cache = new LruCache<String, String>(3); local 35 assertStatistics(cache); 37 assertEquals(null, cache.put("a", "A")); 39 assertStatistics(cache); 40 assertHit(cache, "a", "A"); 41 assertSnapshot(cache, "a", "A"); 43 assertEquals(null, cache.put("b", "B")); 45 assertStatistics(cache); 46 assertHit(cache, "a", "A"); 47 assertHit(cache, "b", "B") 83 LruCache<String, String> cache = newCreatingCache(); local 107 LruCache<String, String> cache = newCreatingCache(); local 113 LruCache<String, String> cache = newCreatingCache(); local 127 LruCache<String, String> cache = new LruCache<String, String>(3); local 136 LruCache<String, String> cache = new LruCache<String, String>(3); local 145 LruCache<String, String> cache = new LruCache<String, String>(3); local 163 LruCache<String, String> cache = new LruCache<String, String>(1); local 171 LruCache<String, String> cache = newRemovalLogCache(log); local 188 LruCache<String, String> cache = newRemovalLogCache(log); local 199 LruCache<String, String> cache = new LruCache<String, String>(10) { local 215 LruCache<String, String> cache = new LruCache<String, String>(4) { local 244 LruCache<String, int[]> cache = new LruCache<String, int[]>(4) { local 266 LruCache<String, String> cache = new LruCache<String, String>(4) { local 285 LruCache<String, String> cache = new LruCache<String, String>(10) { local 303 LruCache<String, String> cache = newRemovalLogCache(log); local 313 LruCache<String, String> cache = new LruCache<String, String>(10) { local 326 LruCache<String, String> cache = new LruCache<String, String>(10) { local 338 LruCache<String, String> cache = new LruCache<String, String>(10); local 346 LruCache<String, String> cache = new LruCache<String, String>(10); local 356 LruCache<String, String> cache = newRemovalLogCache(log); local 364 LruCache<String, String> cache = newRemovalLogCache(log); local 371 LruCache<String, String> cache = new LruCache<String, String>(3) { local 388 LruCache<String, String> cache = new LruCache<String, String>(3) { local 405 LruCache<String, String> cache = new LruCache<String, String>(3) { local 427 LruCache<String, Integer> cache = new LruCache<String, Integer>(3) { local [all...] |
/external/chromium/chrome/browser/notifications/ |
notifications_prefs_cache_unittest.cc | 13 scoped_refptr<NotificationsPrefsCache> cache(new NotificationsPrefsCache()); 23 cache->SetCacheAllowedOrigins(allowed_origins); 24 cache->SetCacheDeniedOrigins(denied_origins); 25 cache->SetCacheDefaultContentSetting(CONTENT_SETTING_DEFAULT); 28 cache->set_is_initialized(true); 34 cache->CacheAllowedOrigin(GURL("http://allowed2.com")); 35 cache->CacheDeniedOrigin(GURL("http://denied2.com")); 37 EXPECT_EQ(cache->HasPermission(GURL("http://allowed.com")), 39 EXPECT_EQ(cache->HasPermission(GURL("http://allowed2.com")), 42 EXPECT_EQ(cache->HasPermission(GURL("http://denied.com")) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheEvictionTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.TestingCacheLoaders.identityLoader; 18 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener; 19 import static com.google.common.cache.TestingWeighers.constantWeigher; 20 import static com.google.common.cache.TestingWeighers.intKeyWeigher; 24 import com.google.common.cache.CacheTesting.Receiver; 25 import com.google.common.cache.LocalCache.ReferenceEntry; 26 import com.google.common.cache.TestingCacheLoaders.IdentityLoader; 27 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; 35 * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happen 46 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 56 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() local 66 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 81 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 98 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 117 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 136 final LoadingCache<Integer, Integer> cache = local 149 final LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 166 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 198 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 241 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 264 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local [all...] |
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...] |
EmptyCachesTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.CacheTesting.checkEmpty; 18 import static com.google.common.cache.TestingCacheLoaders.identityLoader; 24 import com.google.common.cache.CacheBuilderFactory.DurationSpec; 25 import com.google.common.cache.LocalCache.Strength; 45 for (LoadingCache<Object, Object> cache : caches()) { 46 checkEmpty(cache); 51 for (LoadingCache<Object, Object> cache : caches()) { 52 cache.getUnchecked("a"); 53 cache.getUnchecked("b") [all...] |
CacheReferencesTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.LocalCache.Strength.STRONG; 18 import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener; 23 import com.google.common.cache.LocalCache.Strength; 24 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; 64 for (LoadingCache<Key, String> cache : caches()) { 65 // maintain strong refs so these won't be collected, regardless of cache's key/value strength 68 assertSame(value, cache.getUnchecked(key)); 69 assertTrue(cache.asMap().containsKey(key)); 70 assertTrue(cache.asMap().containsValue(value)) [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...] |
/bionic/libc/kernel/arch-mips/asm/ |
dma-mapping.h | 22 #include <asm/cache.h>
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
dma-mapping.h | 22 #include <asm/cache.h>
|
/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;
|
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/asm/ |
dma-mapping.h | 22 #include <asm/cache.h>
|
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/asm/ |
dma-mapping.h | 22 #include <asm/cache.h>
|
/external/freetype/src/cache/ |
ftccache.c | 5 /* The FreeType internal cache interface (body). */ 43 /***** CACHE NODE DEFINITIONS *****/ 88 /* get a top bucket for specified hash from cache, 89 * body for FTC_NODE__TOP_FOR_HASH( cache, hash ) 92 ftc_get_top_node_for_hash( FTC_Cache cache, 99 idx = (FT_UInt)( hash & cache->mask ); 100 if ( idx < cache->p ) 101 idx = (FT_UInt)( hash & ( 2 * cache->mask + 1 ) ); 102 pnode = cache->buckets + idx; 114 ftc_cache_resize( FTC_Cache cache ) 281 FTC_Cache cache; local [all...] |
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...] |
ftcglyph.c | 5 /* FreeType Glyph Image (FT_Glyph) cache (body). */ 29 /* create a new chunk node, setting its cache index and ref count */ 43 FTC_Cache cache ) 50 FTC_FAMILY_FREE( family, cache ); 56 FTC_Cache cache ) 61 FTC_GNode_UnselectFamily( gnode, cache ); 68 FTC_Cache cache, 73 FT_UNUSED( cache ); 88 FTC_Cache cache, 92 cache, list_changed ) 121 FTC_GCache cache = (FTC_GCache)ftccache; local 155 FTC_GCache cache = (FTC_GCache)ftccache; local [all...] |
/external/chromium/net/base/ |
host_cache_unittest.cc | 30 HostCache cache(kMaxCacheEntries, kSuccessEntryTTL, kFailureEntryTTL); 38 EXPECT_EQ(0U, cache.size()); 41 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), base::TimeTicks()) == NULL); 42 cache.Set(Key("foobar.com"), OK, AddressList(), now); 43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); 45 EXPECT_EQ(1U, cache.size()); 51 EXPECT_TRUE(cache.Lookup(Key("foobar2.com"), base::TimeTicks()) == NULL); 52 cache.Set(Key("foobar2.com"), OK, AddressList(), now); 53 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks()); 55 EXPECT_EQ(2U, cache.size()) [all...] |
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/webkit/Source/WebKit/chromium/src/ |
WebCache.cpp | 59 MemoryCache* cache = WebCore::memoryCache(); local 60 if (cache) 61 cache->setCapacities(static_cast<unsigned int>(minDeadCapacity), 68 MemoryCache* cache = WebCore::memoryCache(); local 69 if (cache && !cache->disabled()) { 70 cache->setDisabled(true); 71 cache->setDisabled(false); 79 MemoryCache* cache = WebCore::memoryCache(); local 80 if (cache) { 92 MemoryCache* cache = WebCore::memoryCache(); local [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/openssl/crypto/x509v3/ |
pcy_cache.c | 69 /* Set cache entry according to CertificatePolicies extension. 78 X509_POLICY_CACHE *cache = x->policy_cache; local 83 cache->data = sk_X509_POLICY_DATA_new(policy_data_cmp); 84 if (!cache->data) 97 if (cache->anyPolicy) 102 cache->anyPolicy = data; 104 else if (sk_X509_POLICY_DATA_find(cache->data, data) != -1) 109 else if (!sk_X509_POLICY_DATA_push(cache->data, data)) 122 sk_X509_POLICY_DATA_pop_free(cache->data, policy_data_free); 123 cache->data = NULL 131 X509_POLICY_CACHE *cache; local [all...] |
/external/e2fsprogs/lib/blkid/ |
cache.c | 2 * cache.c - allocation/initialization/free routines for cache 59 static blkid_debug_dump_cache(int mask, blkid_cache cache) 63 if (!cache) { 64 printf("cache: NULL\n"); 68 printf("cache: time = %lu\n", cache->bic_time); 69 printf("cache: flags = 0x%08X\n", cache->bic_flags); 71 list_for_each(p, &cache->bic_devs) 80 blkid_cache cache; local 182 blkid_cache cache = NULL; local [all...] |
/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/net/http/ |
http_cache_unittest.cc | 67 // mock disk cache (a very basic memory cache implementation) 490 // returns number of times a cache entry was successfully opened 493 // returns number of times a cache entry was successfully created 571 // Helper function for reading response info from the disk cache. 588 // Helper function for writing response info into the disk cache. 626 // This version of the disk cache doesn't invoke CreateEntry callbacks. 693 explicit DeleteCacheCompletionCallback(MockHttpCache* cache) 694 : cache_(cache) {} 718 void RunTransactionTestWithRequestAndLog(net::HttpCache* cache, 1042 MockHttpCache cache; local 1061 MockHttpCache cache; local 1072 MockHttpCache cache; local 1122 MockHttpCache cache; local 1144 MockHttpCache cache; local 1181 MockHttpCache cache; local 1203 MockHttpCache cache; local 1271 MockHttpCache cache; local 1298 MockHttpCache cache; local 1315 MockHttpCache cache; local 1329 MockHttpCache cache; local 1373 MockHttpCache cache; local 1390 MockHttpCache cache; local 1407 MockHttpCache cache; local 1427 MockHttpCache cache; local 1456 MockHttpCache cache; local 1476 MockHttpCache cache; local 1496 MockHttpCache cache; local 1561 MockHttpCache cache; local 1691 MockHttpCache cache; local 1740 MockHttpCache cache; local 1799 MockHttpCache cache; local 1854 MockHttpCache cache; local 1877 MockHttpCache cache; local 1921 MockHttpCache cache; local 2122 MockHttpCache* cache = new MockHttpCache(factory); local 2160 MockHttpCache cache; local 2191 MockHttpCache cache; local 2226 MockHttpCache cache; local 2258 MockHttpCache cache; local 2283 MockHttpCache cache; local 2472 MockHttpCache cache; local 2516 MockHttpCache cache; local 2731 MockHttpCache cache; local 2755 MockHttpCache cache; local 2785 MockHttpCache cache; local 2815 MockHttpCache cache; local 2847 MockHttpCache cache; local 2881 MockHttpCache cache; local 2905 MockHttpCache cache; local 2935 MockHttpCache cache; local 2990 MockHttpCache cache; local 3044 MockHttpCache cache; local 3085 MockHttpCache cache; local 3117 MockHttpCache cache; local 3147 MockHttpCache cache; local 3184 MockHttpCache cache; local 3219 MockHttpCache cache; local 3257 MockHttpCache cache; local 3285 MockHttpCache cache; local 3316 MockHttpCache cache; local 3356 MockHttpCache cache; local 3397 MockHttpCache cache; local 3440 MockHttpCache cache; local 3482 MockHttpCache cache; local 3525 MockHttpCache cache; local 3595 MockHttpCache cache; local 3635 MockHttpCache cache; local 3668 MockHttpCache cache; local 3705 MockHttpCache cache; local 3750 MockHttpCache cache; local 3809 MockHttpCache cache; local 3837 MockHttpCache cache; local 3866 MockHttpCache cache; local 3960 MockHttpCache cache; local 3982 MockHttpCache cache; local 4009 MockHttpCache cache; local 4049 MockHttpCache cache; local 4087 MockHttpCache cache; local 4139 MockHttpCache cache; local 4169 MockHttpCache cache; local 4205 MockHttpCache cache; local 4249 MockHttpCache cache; local 4309 MockHttpCache cache; local 4355 MockHttpCache cache; local 4392 MockHttpCache cache; local 4428 MockHttpCache cache; local 4467 MockHttpCache cache; local 4517 MockHttpCache cache; local 4542 MockHttpCache cache; local 4580 MockHttpCache cache; local 4598 MockHttpCache cache; local 4665 MockHttpCache cache; local 4692 MockHttpCache cache; local 4720 MockHttpCache cache; local 4747 MockHttpCache cache; local 4775 MockHttpCache* cache = new MockHttpCache; local 4787 MockHttpCache cache; local 4811 MockHttpCache cache; local 4881 MockHttpCache cache; local 4918 MockHttpCache cache; local 4950 MockHttpCache cache; local [all...] |