/prebuilts/gdb/darwin-x86/lib/python2.7/ |
dircache.py | 1 """Read and cache directory listings. 4 using a cache to avoid reading the directory more often than necessary. 14 cache = {} variable 17 """Reset the cache completely.""" 18 global cache 19 cache = {} 22 """List directory contents, using cache.""" 24 cached_mtime, list = cache[path] 25 del cache[path] 32 cache[path] = mtime, lis [all...] |
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/ |
dircache.py | 1 """Read and cache directory listings. 4 using a cache to avoid reading the directory more often than necessary. 14 cache = {} variable 17 """Reset the cache completely.""" 18 global cache 19 cache = {} 22 """List directory contents, using cache.""" 24 cached_mtime, list = cache[path] 25 del cache[path] 32 cache[path] = mtime, lis [all...] |
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/ |
dircache.py | 1 """Read and cache directory listings. 4 using a cache to avoid reading the directory more often than necessary. 14 cache = {} variable 17 """Reset the cache completely.""" 18 global cache 19 cache = {} 22 """List directory contents, using cache.""" 24 cached_mtime, list = cache[path] 25 del cache[path] 32 cache[path] = mtime, lis [all...] |
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/ |
dircache.py | 1 """Read and cache directory listings. 4 using a cache to avoid reading the directory more often than necessary. 14 cache = {} variable 17 """Reset the cache completely.""" 18 global cache 19 cache = {} 22 """List directory contents, using cache.""" 24 cached_mtime, list = cache[path] 25 del cache[path] 32 cache[path] = mtime, lis [all...] |
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...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
mipsr6@cache.d | 2 #name: MIPS CACHE instruction 3 #source: cache.s 6 # Check MIPS CACHE instruction assembly. 11 [0-9a-f]+ <[^>]*> 7c457fa5 cache 0x5,255\(v0\) 12 [0-9a-f]+ <[^>]*> 7c658025 cache 0x5,-256\(v1\)
|
/external/libunwind/src/x86_64/ |
Gtrace.c | 56 /* Free memory for a thread's trace cache. */ 60 unw_trace_cache_t *cache = arg; local 61 if (++cache->dtor_count < PTHREAD_DESTRUCTOR_ITERATIONS) 64 pthread_setspecific(trace_cache_key, cache); 65 Debug(5, "delayed freeing cache %p (%zx to go)\n", cache, 66 PTHREAD_DESTRUCTOR_ITERATIONS - cache->dtor_count); 71 munmap (cache->frames, (1u << cache->log_size) * sizeof(unw_tdep_frame_t)); 72 mempool_free (&trace_cache_pool, cache); 105 unw_trace_cache_t *cache; local 163 unw_trace_cache_t *cache; local 182 unw_trace_cache_t *cache; local 401 unw_trace_cache_t *cache; local [all...] |
/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 | 49 struct gl_program_cache *cache); 52 _mesa_search_program_cache(struct gl_program_cache *cache, 57 struct gl_program_cache *cache, 63 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 | 76 TestServicesCache cache = new TestServicesCache(); local 77 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)); 78 cache.addServiceForQuerying(U0, r2, newServiceInfo(t2, UID2)); 79 assertEquals(2, cache.getAllServicesSize(U0)); 80 assertEquals(2, cache.getPersistentServicesSize(U0)); 81 assertNotEmptyFileCreated(cache, U0); 83 cache = new TestServicesCache(); 84 assertEquals(2, cache.getPersistentServicesSize(U0)); 88 TestServicesCache cache = new TestServicesCache(); local 89 cache.addServiceForQuerying(U0, r1, newServiceInfo(t1, UID1)) 110 TestServicesCache cache = new TestServicesCache(); local 125 TestServicesCache cache = new TestServicesCache(); local 143 TestServicesCache cache = new TestServicesCache(); local 170 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/mesa3d/src/gallium/drivers/svga/ |
svga_screen_cache.c | 53 * against the cache size limit, so view them as zero-sized. 87 * Search the cache for a surface that matches the key. If a match is 88 * found, remove it from the cache and return the surface pointer. 95 struct svga_host_surface_cache *cache = &svgascreen->cache; local 107 pipe_mutex_lock(cache->mutex); 109 curr = cache->bucket[bucket].next; 111 while (curr != &cache->bucket[bucket]) { 131 LIST_ADD(&entry->head, &cache->empty); 133 /* update the cache size * 168 struct svga_host_surface_cache *cache = &svgascreen->cache; local 205 struct svga_host_surface_cache *cache = &svgascreen->cache; local 300 struct svga_host_surface_cache *cache = &svgascreen->cache; local 341 struct svga_host_surface_cache *cache = &svgascreen->cache; local 366 struct svga_host_surface_cache *cache = &svgascreen->cache; local [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...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
Post.java | 22 public transient String cache; field in class:Post 27 cache = "Q34598723SDW234";
|