/external/valgrind/main/cachegrind/ |
cg-arch.c | 2 /*--- Cachegrind: cache configuration. ---*/ 9 This file is part of Cachegrind, a Valgrind tool for cache 41 // Checks cache config is ok. Returns NULL if ok, or a pointer to an error 43 static Char* check_cache(cache_t* cache) 46 if ((cache->size % (cache->line_size * cache->assoc) != 0) || 47 (-1 == VG_(log2)(cache->size/cache->line_size/cache->assoc)) [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
ClearCacheRequest.java | 19 import com.android.volley.Cache; 28 * A synthetic request used for clearing the cache. 31 private final Cache mCache; 35 * Creates a synthetic request for clearing the cache. 36 * @param cache Cache to clear 37 * @param callback Callback to make on the main thread once the cache is clear, 40 public ClearCacheRequest(Cache cache, Runnable callback) { 42 mCache = cache; [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
DiskLruCacheTest.java | 49 private DiskLruCache cache; field in class:DiskLruCacheTest 59 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 63 cache.close(); 67 cache.close(); 72 DiskLruCache.Editor creator = cache.edit("k1"); 81 DiskLruCache.Snapshot snapshot = cache.get("k1"); 87 DiskLruCache.Editor creator = cache.edit("k1"); 91 cache.close(); 93 cache = DiskLruCache.open(cacheDir, appVersion, 2, Integer.MAX_VALUE); 94 DiskLruCache.Snapshot snapshot = cache.get("k1") [all...] |
/external/freetype/src/cache/ |
ftcmanag.h | 5 /* FreeType Cache Manager (specification). */ 21 /* A cache manager is in charge of the following: */ 25 /* callback. However, the manager maintains a small cache of FT_Face */ 28 /* - Manage one or more cache objects. Each cache is in charge of */ 29 /* holding a varying number of `cache nodes'. Each cache node */ 31 /* data. For example, a cache node can be an FT_Glyph image */ 35 /* Each cache node has a certain size in bytes that is added to the */ 36 /* total amount of `cache memory' within the manager. * [all...] |
ftcglyph.h | 5 /* FreeType abstract glyph cache (specification). */ 21 * FTC_GCache is an _abstract_ cache object optimized to store glyph 44 * flags. For more details see the file `src/cache/ftcbasic.c'. 71 * - FTC_GQuery sub-class, e.g. MyQuery, to hold cache-specific query 82 * - Search for the corresponding family in the cache, or create 95 /* implement an abstract glyph cache class. You need to */ 96 /* provide additional logic to implement a complete cache. */ 139 FTC_Cache cache; member in struct:FTC_FamilyRec_ 173 /* user-provided cache classes; otherwise, they are really part of the */ 174 /* cache sub-system internals. * 214 FTC_CacheRec cache; member in struct:FTC_GCacheRec_ [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
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/bluetooth/bluedroid/bta/include/ |
bta_gattc_co.h | 34 ** cache is ready to be sent. 36 ** Parameter server_bda: server bd address of this cache belongs to 37 ** evt: call in event to be passed in when cache open is done. 38 ** conn_id: connection ID of this cache operation attach to. 39 ** to_save: open cache to save or to load. 52 ** cache is written completely. 54 ** Parameter server_bda: server bd address of this cache belongs to 55 ** conn_id: connection ID of this cache operation attach to. 66 ** Description This callout function is executed by GATT when a server cache 69 ** Parameter server_bda: server bd address of this cache belongs t [all...] |
/external/skia/tests/ |
HashCacheTest.cpp | 68 GrTHashTable<HashElement, HashKey, 4> cache; local 97 cache.insert(HashKey(i), &negHashElements[i]); 100 REPORTER_ASSERT(reporter, 10 == cache.count()); 104 HashElement* found = cache.find(i); 108 // look for something not in the cache 110 HashElement* found = cache.find(10); 116 cache.insert(i, &posHashElements[i]); 119 REPORTER_ASSERT(reporter, 20 == cache.count()); 125 HashElement* found = cache.find(0, findPos); 129 found = cache.find(i, findPos) [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...] |
/frameworks/base/core/java/android/net/http/ |
HttpResponseCache.java | 41 * {@link HttpsURLConnection}; there is no platform-provided cache for {@link 44 * <h3>Installing an HTTP response cache</h3> 46 * cache at application startup. For example, this code installs a 10 MiB cache 47 * in the {@link Context#getCacheDir() application-specific cache directory} of 57 * Log.i(TAG, "HTTP response cache installation failed:" + e); 64 * HttpResponseCache cache = HttpResponseCache.getInstalled(); 65 * if (cache != null) { 66 * cache.flush(); 69 * This cache will evict entries as necessary to keep its size from exceedin [all...] |
/external/e2fsprogs/lib/blkid/ |
save.c | 2 * save.c - write the cache struct to disk 55 * Write out the cache struct to the cache file on disk. 57 int blkid_flush_cache(blkid_cache cache) 67 if (!cache) 70 if (list_empty(&cache->bic_devs) || 71 !(cache->bic_flags & BLKID_BIC_FL_CHANGED)) { 72 DBG(DEBUG_SAVE, printf("skipping cache file write\n")); 76 filename = cache->bic_filename ? cache->bic_filename: BLKID_CACHE_FILE 163 blkid_cache cache = NULL; local [all...] |
/external/oprofile/events/x86-64/family12h/ |
unit_masks | 18 0x01 (I)nvalid cache state 19 0x02 (S)hared cache state 20 0x04 (E)xclusive cache state 21 0x08 (O)wner cache state 22 0x10 (M)odified cache state 23 0x1f All cache states 30 0x1e All cache states except refill from northbridge
|
/external/oprofile/events/x86-64/family14h/ |
unit_masks | 18 0x01 (I)nvalid cache state 19 0x02 (S)hared cache state 20 0x04 (E)xclusive cache state 21 0x08 (O)wner cache state 22 0x10 (M)odified cache state 23 0x1f All cache states 30 0x1e All cache states except refill from northbridge
|
/external/valgrind/main/callgrind/tests/ |
filter_stderr | 8 sed "/^Callgrind, a call-graph generating cache profiler/ , /./ d" | 26 sed "/warning: Pentium 4 with 12 KB micro-op instruction trace cache/d" | 27 sed "/Simulating a 16 KB I-cache with 32 B lines/d" | 28 sed "/warning: L3 cache found, using its data for the LL simulation./d" | 29 sed "/Warning: Cannot auto-detect cache config on PPC.., using one or more defaults/d" | 30 sed "/Warning: Cannot auto-detect cache config on ARM, using one or more defaults/d" | 31 sed "/Warning: Cannot auto-detect cache config on s390x, using one or more defaults/d" | 32 sed "/Warning: Cannot auto-detect cache config on MIPS.., using one or more defaults/d" | 33 sed "/warning: pretending that LL cache has associativity .*$/d"
|
/external/webkit/LayoutTests/http/tests/appcache/ |
update-cache.html | 32 log("Updating cache group..."); 38 log((applicationCache.status == applicationCache.UPDATEREADY) ? "Cache status is UPDATEREADY" : ("FAIL: Incorrect cache status, " + applicationCache.status)); 43 log("Updating cache group once more..."); 49 log((applicationCache.status == applicationCache.UPDATEREADY) ? "Cache status is UPDATEREADY" : ("FAIL: Incorrect cache status, " + applicationCache.status)); 51 log("Associating document with the newest cache version..."); 54 log((applicationCache.status == applicationCache.IDLE) ? "Cache status is IDLE" : ("FAIL: Incorrect cache status, " + applicationCache.status));
|
/frameworks/base/libs/hwui/ |
FboCache.h | 28 // Cache 37 * Returns an FBO from the cache. If no FBO is available, a new one 40 * When an FBO is obtained from the cache, it is removed and the 41 * total number of FBOs available in the cache decreases. 48 * Adds the specified FBO to the cache. 50 * @param fbo The FBO to add to the cache. 57 * Clears the cache. This causes all FBOs to be deleted. 62 * Returns the current size of the cache. 67 * Returns the maximum number of FBOs that the cache can hold.
|
/external/kernel-headers/original/asm-mips/ |
cpu-info.h | 15 #include <asm/cache.h> 18 * Descriptor for a cache 25 unsigned char waybit; /* Bits to select in a cache set */ 26 unsigned char flags; /* Flags describing cache properties */ 33 #define MIPS_CACHE_VTAG 0x00000002 /* Virtually tagged cache */ 34 #define MIPS_CACHE_ALIASES 0x00000004 /* Cache could have aliases */ 35 #define MIPS_CACHE_IC_F_DC 0x00000008 /* Ic can refill from D-cache */ 37 #define MIPS_CACHE_PINDEX 0x00000020 /* Physically indexed cache */ 53 struct cache_desc icache; /* Primary I-cache */ 54 struct cache_desc dcache; /* Primary D or combined I/D cache */ [all...] |
/external/skia/legacy/src/core/ |
SkTypefaceCache.h | 18 * Provide std way to cache name+requestedStyle aliases to the same typeface. 28 * for the given context. The passed typeface is owned by the cache and is 40 * Add a typeface to the cache. This ref()s the typeface, so that the 41 * cache is also an owner. Later, if we need to purge the cache, typefaces 42 * whose refcnt is 1 (meaning only the cache is an owner) will be 48 * Search the cache for a typeface with the specified fontID (uniqueID). 56 * Iterate through the cache, calling proc(typeface, ctx) with each 63 * This will unref all of the typefaces in the cache for which the cache [all...] |
/external/skia/src/core/ |
SkTypefaceCache.h | 18 * Provide std way to cache name+requestedStyle aliases to the same typeface. 28 * for the given context. The passed typeface is owned by the cache and is 40 * Add a typeface to the cache. This ref()s the typeface, so that the 41 * cache is also an owner. Later, if we need to purge the cache, typefaces 42 * whose refcnt is 1 (meaning only the cache is an owner) will be 50 * Search the cache for a typeface with the specified fontID (uniqueID). 58 * Iterate through the cache, calling proc(typeface, ctx) with each 65 * This will unref all of the typefaces in the cache for which the cache [all...] |
/external/webkit/LayoutTests/http/tests/appcache/resources/ |
counter.php | 18 header("Cache-Control: no-cache, must-revalidate"); 19 header("Pragma: no-cache");
|
uncacheable-resource.php | 5 header("Cache-Control: no-cache, no-store"); 6 header("Pragma: no-cache");
|
/external/webkit/LayoutTests/http/tests/resources/ |
slow-script.pl | 17 print "Cache-Control: no-store, no-cache, must-revalidate\n"; 18 print "Pragma: no-cache\n";
|
/external/webkit/Source/WebCore/svg/properties/ |
SVGAnimatedProperty.h | 49 typedef HashMap<SVGAnimatedPropertyDescription, RefPtr<SVGAnimatedProperty>, SVGAnimatedPropertyDescriptionHash, SVGAnimatedPropertyDescriptionHashTraits> Cache; 53 // Remove wrapper from cache. 54 Cache* cache = animatedPropertyCache(); local 55 const Cache::const_iterator end = cache->end(); 56 for (Cache::const_iterator it = cache->begin(); it != end; ++it) { 58 cache->remove(it->first); 92 static Cache* animatedPropertyCache( [all...] |
/frameworks/volley/src/com/android/volley/ |
CacheDispatcher.java | 24 * Provides a thread for performing cache triage on a queue of requests. 26 * Requests added to the specified cache queue are resolved from cache. 28 * {@link ResponseDelivery}. Cache misses and responses that require 43 /** The cache to read from. */ 44 private final Cache mCache; 53 * Creates a new cache triage dispatcher thread. You must call {@link #start()} 58 * @param cache Cache interface to use for resolution 63 Cache cache, ResponseDelivery delivery) [all...] |
/external/chromium/net/http/ |
http_auth_cache_unittest.cc | 74 // Test adding and looking-up cache entries (both by realm and by path). 77 HttpAuthCache cache; local 80 // Add cache entries for 4 realms: "Realm1", "Realm2", "Realm3" and 87 cache.Add(origin, realm1_handler->realm(), realm1_handler->auth_scheme(), 95 cache.Add(origin, realm2_handler->realm(), realm2_handler->auth_scheme(), 103 cache.Add(origin, realm3_basic_handler->realm(), 112 cache.Add(origin, realm3_digest_handler->realm(), 121 cache.Add(origin, realm4_basic_handler->realm(), 127 entry = cache.Lookup(origin, kRealm5, HttpAuth::AUTH_SCHEME_BASIC); 131 entry = cache.Lookup(GURL("https://www.google.com"), kRealm3 263 HttpAuthCache cache; local 309 HttpAuthCache cache; local 372 HttpAuthCache cache; local [all...] |