/external/guava/guava-gwt/test/com/google/common/cache/ |
TestModuleEntryPoint.java | 17 package com.google.common.cache;
|
/external/libnl/include/netlink/route/cls/ |
police.h | 16 #include <netlink/cache.h>
|
/external/libnl/src/lib/ |
rule.c | 35 struct nl_cache *cache; local 38 if ((err = rtnl_rule_alloc_cache(sk, AF_UNSPEC, &cache)) < 0) 39 nl_cli_fatal(err, "Unable to allocate routing rule cache: %s\n", 42 nl_cache_mngt_provide(cache); 44 return cache;
|
/external/mesa3d/src/mesa/program/ |
prog_cache.h | 55 struct gl_program_cache *cache); 58 _mesa_search_program_cache(struct gl_program_cache *cache, 63 struct gl_program_cache *cache, 69 struct gl_program_cache *cache,
|
/external/zopfli/src/zopfli/ |
cache.c | 20 #include "cache.h" 36 that this cache value is not filled in yet. */ 54 unsigned char* cache; local 60 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3]; 64 cache[j * 3] = i - 3; 65 cache[j * 3 + 1] = sublen[i] % 256; 66 cache[j * 3 + 2] = (sublen[i] >> 8) % 256; 74 cache[(ZOPFLI_CACHE_LENGTH - 1) * 3] = bestlength - 3; 87 unsigned char* cache; local 92 cache = &lmc->sublen[ZOPFLI_CACHE_LENGTH * pos * 3] 109 unsigned char* cache; local [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
TextureCacheTests.cpp | 27 TextureCache cache; local 28 ASSERT_EQ(cache.getSize(), 0u); 35 cache.get(hwBitmap.get()); 37 cache.clear();
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
LruCacheUnitTests.java | 9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); local 12 cache.put(key, value); 13 assertEquals(value, cache.get(key)); 17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); local 20 cache.put(key, value); 22 cache.put(i + 10, i * i); 25 assertEquals(value, cache.get(key)); 29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); local 30 cache.put(0, new Integer(0)); 32 cache.put(i + 1, i * i) 60 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(4); local [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
RegisteredServicesCacheTest.java | 78 TestServicesCache cache = new TestServicesCache(); local 79 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); 80 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); 81 assertEquals(2, cache.getAllServicesSize(U0)); 82 assertEquals(2, cache.getPersistentServicesSize(U0)); 83 assertNotEmptyFileCreated(cache, U0); 85 cache = new TestServicesCache(); 86 assertEquals(2, cache.getPersistentServicesSize(U0)); 90 TestServicesCache cache = new TestServicesCache(); local 91 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)) 112 TestServicesCache cache = new TestServicesCache(); local 127 TestServicesCache cache = new TestServicesCache(); local 145 TestServicesCache cache = new TestServicesCache(); local 172 TestServicesCache cache = new TestServicesCache(); local [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
PopulatedCachesTest.java | 15 package com.google.common.cache; 17 import static com.google.common.cache.CacheTesting.checkEmpty; 18 import static com.google.common.cache.CacheTesting.checkValidState; 19 import static com.google.common.cache.TestingCacheLoaders.identityLoader; 25 import com.google.common.cache.CacheBuilderFactory.DurationSpec; 26 import com.google.common.cache.LocalCache.Strength; 57 for (LoadingCache<Object, Object> cache : caches()) { 59 List<Entry<Object, Object>> warmed = warmUp(cache); 60 assertEquals(WARMUP_SIZE, cache.size()); 61 assertMapSize(cache.asMap(), WARMUP_SIZE) [all...] |
CacheExpirationTest.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; 23 import com.google.common.cache.TestingCacheLoaders.IdentityLoader; 24 import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; 37 * Tests relating to cache expiration: make sure entries expire at the right times, make sure 53 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 58 checkExpiration(cache, loader, ticker, removalListener); 65 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 70 checkExpiration(cache, loader, ticker, removalListener) 102 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 114 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 195 LoadingCache<Integer, AtomicInteger> cache = CacheBuilder.newBuilder() local 216 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 228 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 240 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() local 253 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 305 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local 352 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
linecache.py | 0 """Cache lines from files.
21 # The cache
23 cache = {} # The cache
variable 27 """Clear the cache entirely."""
29 global cache
30 cache = {}
34 """Get the lines for a file from the cache.
35 Update the cache if it doesn't contain an entry for this file already."""
37 if filename in cache: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
linecache.py | 0 """Cache lines from files.
21 # The cache
23 cache = {} # The cache
variable 27 """Clear the cache entirely."""
29 global cache
30 cache = {}
34 """Get the lines for a file from the cache.
35 Update the cache if it doesn't contain an entry for this file already."""
37 if filename in cache: [all...] |
/external/python/cpython2/Lib/ |
linecache.py | 0 """Cache lines from files. 21 # The cache 23 cache = {} # The cache variable 27 """Clear the cache entirely.""" 29 global cache 30 cache = {} 34 """Get the lines for a file from the cache. 35 Update the cache if it doesn't contain an entry for this file already.""" 37 if filename in cache [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
linecache.py | 0 """Cache lines from files. 21 # The cache 23 cache = {} # The cache variable 27 """Clear the cache entirely.""" 29 global cache 30 cache = {} 34 """Get the lines for a file from the cache. 35 Update the cache if it doesn't contain an entry for this file already.""" 37 if filename in cache [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
linecache.py | 0 """Cache lines from files. 21 # The cache 23 cache = {} # The cache variable 27 """Clear the cache entirely.""" 29 global cache 30 cache = {} 34 """Get the lines for a file from the cache. 35 Update the cache if it doesn't contain an entry for this file already.""" 37 if filename in cache [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
linecache.py | 0 """Cache lines from files. 21 # The cache 23 cache = {} # The cache variable 27 """Clear the cache entirely.""" 29 global cache 30 cache = {} 34 """Get the lines for a file from the cache. 35 Update the cache if it doesn't contain an entry for this file already.""" 37 if filename in cache [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
linecache.py | 0 """Cache lines from files. 21 # The cache 23 cache = {} # The cache variable 27 """Clear the cache entirely.""" 29 global cache 30 cache = {} 34 """Get the lines for a file from the cache. 35 Update the cache if it doesn't contain an entry for this file already.""" 37 if filename in cache [all...] |
/external/e2fsprogs/lib/blkid/ |
blkid.h | 37 * in the cache. 43 * cache or by probing the device. 50 /* cache.c */ 51 extern void blkid_put_cache(blkid_cache cache); 52 extern int blkid_get_cache(blkid_cache *cache, const char *filename); 53 extern void blkid_gc_cache(blkid_cache cache); 58 extern blkid_dev_iterate blkid_dev_iterate_begin(blkid_cache cache); 68 extern int blkid_probe_all(blkid_cache cache); 69 extern int blkid_probe_all_new(blkid_cache cache); 70 extern blkid_dev blkid_get_dev(blkid_cache cache, const char *devname [all...] |
resolve.c | 28 char *blkid_get_tag_value(blkid_cache cache, const char *tagname, 33 blkid_cache c = cache; 41 if (!cache) { 50 if (!cache) 62 char *blkid_get_devname(blkid_cache cache, const char *token, 66 blkid_cache c = cache; 73 if (!cache) { 80 value ? value : "", cache ? "in cache" : "from disk")); 103 if (!cache) { 113 blkid_cache cache; local [all...] |
/external/python/cpython3/Lib/ |
linecache.py | 0 """Cache lines from Python source files. 23 # The cache 25 # The cache. Maps filenames to either a thunk which will provide source code, 27 cache = {} variable 31 """Clear the cache entirely.""" 33 global cache 34 cache = {} 38 """Get the lines for a Python source file from the cache. 39 Update the cache if it doesn't contain an entry for this file already.""" 41 if filename in cache [all...] |
/external/capstone/ |
utils.c | 13 // create a cache for fast id lookup 20 unsigned short *cache = (unsigned short *)cs_mem_malloc(sizeof(*cache) * (max_id + 1)); local 23 cache[insns[i].id] = i; 25 return cache; 28 // look for @id in @insns, given its size in @max. first time call will update @cache. 30 unsigned short insn_find(insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache) 35 if (*cache == NULL) 36 *cache = make_id2insn(insns, max); 38 return (*cache)[id] [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
Post.java | 22 public transient String cache; field in class:Post 27 cache = "Q34598723SDW234";
|
/frameworks/base/core/java/android/net/ |
SSLSessionCache.java | 33 * File-based cache of established SSL sessions. When re-establishing a 34 * connection to the same server, using an SSL session cache can save some time, 36 * This is a persistent cache which can span executions of the application. 45 * Installs a {@link SSLSessionCache} on a {@link SSLContext}. The cache will 49 * @param cache the cache instance to install, or {@code null} to uninstall any 50 * existing cache. 53 * cache. 57 public static void install(SSLSessionCache cache, SSLContext context) { 61 cache == null ? null : cache.mSessionCache) 98 SSLClientSessionCache cache = null; local [all...] |
/frameworks/base/libs/hwui/font/ |
FontUtil.h | 39 #define GET_METRICS(cache, glyph) cache->getGlyphIDMetrics(glyph)
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_dense_alloc_test.cc | 26 typedef Alloc::Cache Cache; 31 Cache cache; local 32 alloc.InitCache(&cache); 37 IndexT idx = alloc.Alloc(&cache); 48 alloc.Free(&cache, idx); 51 alloc.FlushCache(&cache);
|