/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
HttpBootClient.h | 39 // Structure for a cache item
55 // Cache info.
57 HTTP_BOOT_CACHE_CONTENT *Cache;
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
android_prebuilt_profiler_helper.py | 20 @decorators.Cache
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
MachineLoopRanges.h | 92 CacheMap Cache;
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
HttpHeaderParser.java | 19 import com.android.volley.Cache; 34 * Extracts a {@link Cache.Entry} from a {@link NetworkResponse}. 37 * @return a cache entry for the given response, or null if the response is not cacheable. 39 public static Cache.Entry parseCacheHeaders(NetworkResponse response) { 62 headerValue = headers.get("Cache-Control"); 68 if (token.equals("no-cache") || token.equals("no-store")) { 98 // Cache-Control takes precedence over an Expires header, even if both exist and Expires 111 Cache.Entry entry = new Cache.Entry();
|
/external/llvm/lib/Support/ |
SourceMgr.cpp | 40 // Delete the line # cache if allocated. 41 if (LineNoCacheTy *Cache = getCache(LineNoCache)) 42 delete Cache; 91 // If we have a line number cache, and if the query is to a later point in the 94 if (LineNoCacheTy *Cache = getCache(LineNoCache)) 95 if (Cache->LastQueryBufferID == BufferID && 96 Cache->LastQuery <= Loc.getPointer()) { 97 Ptr = Cache->LastQuery; 98 LineNo = Cache->LineNoOfQuery; 106 // Allocate the line number cache if it doesn't exist [all...] |
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
MapMakerComparisonBenchmark.java | 17 package com.google.common.cache; 47 private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); field in class:MapMakerComparisonBenchmark 48 private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build(); 53 cache.put(TEST_KEY, TEST_VALUE); 83 cache.getIfPresent(TEST_KEY);
|
/external/volley/src/main/java/com/android/volley/ |
RequestQueue.java | 37 * resolving from either cache or network on a worker thread, and then delivering 55 * <li>containsKey(cacheKey) indicates that there is a request in flight for the given cache 57 * <li>get(cacheKey) returns waiting requests for the given cache key. The in flight request 71 /** The cache triage queue. */ 82 /** Cache interface for retrieving and storing responses. */ 83 private final Cache mCache; 94 /** The cache dispatcher. */ 103 * @param cache A Cache to use for persisting responses to disk 108 public RequestQueue(Cache cache, Network network, int threadPoolSize [all...] |
NetworkDispatcher.java | 31 * specified {@link Network} interface. Responses are committed to cache, if 32 * eligible, using a specified {@link Cache} interface. Valid responses and 40 /** The cache to write to. */ 41 private final Cache mCache; 53 * @param cache Cache interface to use for writing responses to cache 57 Network network, Cache cache, 61 mCache = cache; [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
X509CertificatePair.java | 39 import sun.security.util.Cache; 82 private static final Cache<Object, X509CertificatePair> cache field in class:X509CertificatePair 83 = Cache.newSoftMemoryCache(750); 129 * Clear the cache for debugging. 132 cache.clear(); 136 * Create a X509CertificatePair from its encoding. Uses cache lookup 141 Object key = new Cache.EqualByteArray(encoded); 142 X509CertificatePair pair = cache.get(key); 147 key = new Cache.EqualByteArray(pair.encoded) [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/ArmV7/ |
ArmLibSupportV7.S | 99 mcr p15,2,r0,c0,c0,0 @ Write Cache Size Selection Register (CSSELR)
101 mrc p15,1,r0,c0,c0,0 @ Read current CP15 Cache Size ID Register (CCSIDR)
109 mrc p15,1,r0,c0,c0,1 @ Read CP15 Cache Level ID Register
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
GenderInfo.java | 225 private static class Cache { 226 private final ICUCache<ULocale, GenderInfo> cache = field in class:GenderInfo.Cache 230 GenderInfo result = cache.get(locale); 236 // We call get() recursively so that we can leverage the cache 241 cache.put(locale, result); 261 private static Cache genderInfoCache = new Cache();
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
GenderInfo.java | 223 private static class Cache { 224 private final ICUCache<ULocale, GenderInfo> cache = field in class:GenderInfo.Cache 228 GenderInfo result = cache.get(locale); 234 // We call get() recursively so that we can leverage the cache 239 cache.put(locale, result); 259 private static Cache genderInfoCache = new Cache();
|
/external/llvm/include/llvm/ADT/ |
ImmutableList.h | 144 CacheTy Cache; 167 // Profile the new list to see if it already exists in our cache. 173 ListTy* L = Cache.FindNodeOrInsertPos(ID, InsertPos); 176 // The list does not exist in our cache. Create it. 181 // Insert the new list into the cache. 182 Cache.InsertNode(L, InsertPos);
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
Crawler.java | 18 import com.squareup.okhttp.Cache; 95 : "(cache)"; 116 System.out.println("Usage: Crawler <cache dir> <root>"); 124 Cache cache = new Cache(new File(args[0]), cacheByteCount); local 125 client.setCache(cache);
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
ImmutableList.h | 145 CacheTy Cache; 168 // Profile the new list to see if it already exists in our cache. 174 ListTy* L = Cache.FindNodeOrInsertPos(ID, InsertPos); 177 // The list does not exist in our cache. Create it. 182 // Insert the new list into the cache. 183 Cache.InsertNode(L, InsertPos);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Route.c | 76 Allocate and initialize an IP4 route cache entry.
81 @param[in] Tag The tag from the caller. This marks all the cache
84 @return NULL if failed to allocate memory for the cache, other point
85 to the created route cache entry.
117 Free the route cache entry. It is reference counted.
119 @param RtCacheEntry The route cache entry to free.
136 Initialize an empty route cache table.
138 @param[in, out] RtCache The rotue cache table to initialize.
155 Clean up a route cache, that is free all the route cache
[all...] |
Ip4Route.h | 2 EFI IP4 route table and route cache table defintions.
23 #define IP4_ROUTE_CACHE_MAX 64 // Max NO. of cache entry per hash bucket
44 /// The route cache entry. The route cache entry is optional.
48 /// The cache entry field Tag is used to tag all the route
49 /// cache entry spawned from a route table entry. This makes
50 /// it simple to delete all the route cache entries from a
63 /// The route cache table is organized as a hash table. Each
64 /// IP4 route table has a embedded route cache. For now the
65 /// route cache and route table are binded togehter. But keep [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
PtrState.h | 172 bool InitBottomUp(ARCMDKindCache &Cache, Instruction *I); 198 bool MatchWithRelease(ARCMDKindCache &Cache, Instruction *Release);
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
HttpResponseCache.java | 19 import com.squareup.okhttp.Cache; 53 * there is no cache installed or it is not a {@code HttpResponseCache}. 64 * Creates a new HTTP response cache and sets it as the system default cache. 66 * @param directory the directory to hold cache data. 67 * @param maxSize the maximum size of the cache in bytes. 68 * @return the newly-installed cache 69 * @throws java.io.IOException if {@code directory} cannot be used for this cache. 79 // don't close and reopen if an equivalent cache is already installed 107 * this cache. This may be greater than the {@link #maxSize} if a backgroun [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
InterferenceCache.h | 36 /// Entry - A cache entry containing interference information for all aliases 42 /// Tag - Cache tag is changed when any of the underlying LiveIntervalUnions 77 assert(!hasRefs() && "Cannot clear cache entry with references"); 108 // We don't keep a cache entry for every physical register, that would use too 109 // much memory. Instead, a fixed number of cache entries are used in a round- 120 // The actual cache entries. 129 /// init - Prepare cache for a new function. 137 /// Cursor - The primary query interface for the block interference cache. 169 void setPhysReg(InterferenceCache &Cache, unsigned PhysReg) { 174 setEntry(Cache.get(PhysReg)) [all...] |
/frameworks/base/core/java/android/net/http/ |
HttpResponseCache.java | 19 import com.android.okhttp.Cache; 38 * there is no platform-provided cache for {@code DefaultHttpClient} or 42 * <h3>Installing an HTTP response cache</h3> 44 * cache at application startup. For example, this code installs a 10 MiB cache 46 * cache directory} of the filesystem}: <pre> {@code 55 * Log.i(TAG, "HTTP response cache installation failed:" + e); 62 * HttpResponseCache cache = HttpResponseCache.getInstalled(); 63 * if (cache != null) { 64 * cache.flush() [all...] |
/external/ImageMagick/MagickCore/ |
cache.c | 13 % MagickCore Pixel Cache Methods % 47 #include "MagickCore/cache.h" 48 #include "MagickCore/cache-private.h" 52 #include "MagickCore/distribute-cache-private.h" 108 static Cache 179 % AcquirePixelCache() acquires a pixel cache. 183 % Cache AcquirePixelCache(const size_t number_threads) 190 MagickPrivate Cache AcquirePixelCache(const size_t number_threads) 228 return((Cache ) cache_info); 303 % o length: the pixel cache length [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Cache.java | 53 * <h3>Cache Optimization</h3> 54 * To measure cache effectiveness, this class tracks three statistics: 57 * requests issued since this cache was created. 61 * responses were served by the cache. 64 * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of 69 * <p>The best way to improve the cache hit rate is by configuring the web server to return 71 * href="http://tools.ietf.org/html/rfc7234">HTTP/1.1 (RFC 7234)</a> cache headers, it doesn't cache 76 * the cache, and fetch data directly from the server. To force a full refresh, add the {@cod 158 private final DiskLruCache cache; field in class:Cache [all...] |
/external/doclava/src/com/google/doclava/ |
Converter.java | 275 private static Cache mClasses = new Cache() { 395 private static Cache mMethods = new Cache() { 496 private static Cache mFields = new Cache() { 514 private static Cache mPackagees = new Cache() { 526 private static Cache mTypes = new Cache() { [all...] |
/device/linaro/bootloader/edk2/IntelFspPkg/Library/SecFspSecPlatformLibNull/Ia32/ |
SecCarInit.s | 22 # Description: This function initializes the Cache for Data, Stack, and Code
|