HomeSort by relevance Sort by last modified time
    Searched refs:Cache (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/llvm/lib/VMCore/
LeaksContext.h 33 Cache(0), Name(name) { }
36 Cache = 0;
51 if (Cache) {
52 assert(Cache != o && "Object already in set!");
53 Ts.insert(Cache);
55 Cache = o;
59 if (o == Cache)
60 Cache = 0; // Cache hit
66 addGarbage(0); // Flush the Cache
    [all...]
  /frameworks/support/volley/tests/src/com/android/volley/utils/
CacheTestUtils.java 5 import com.android.volley.Cache;
12 * Makes a random cache entry.
17 public static Cache.Entry makeRandomCacheEntry(
20 Cache.Entry entry = new Cache.Entry();
37 public static Cache.Entry makeRandomCacheEntry(byte[] data) {
  /frameworks/support/volley/src/com/android/volley/toolbox/
NoCache.java 19 import com.android.volley.Cache;
22 * A cache that doesn't.
24 public class NoCache implements Cache {
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...]
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) {
58 headerValue = headers.get("Cache-Control");
64 if (token.equals("no-cache") || token.equals("no-store")) {
84 // Cache-Control takes precedence over an Expires header, even if both exist and Expires
93 Cache.Entry entry = new Cache.Entry();
  /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/support/volley/src/com/android/volley/
Response.java 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) {
57 /** Cache metadata for this response, or null in the case of error. */
58 public final Cache.Entry cacheEntry;
74 private Response(T result, Cache.Entry cacheEntry) {
Cache.java 20 * An interface for a cache keyed by a String with a byte array as data.
22 public interface Cache {
24 * Retrieves an entry from the cache.
25 * @param key Cache key
26 * @return An {@link Entry} or null in the event of a cache miss
31 * Adds or replaces an entry to the cache.
32 * @param key Cache key
33 * @param entry Data to store and metadata for cache coherency, TTL, etc.
38 * Performs any potentially long-running actions needed to initialize the cache;
44 * Invalidates an entry in the cache
    [all...]
CacheDispatcher.java 22 * Provides a thread for performing cache triage on a queue of requests.
24 * Requests added to the specified cache queue are resolved from cache.
26 * {@link ResponseDelivery}. Cache misses and responses that require
41 /** The cache to read from. */
42 private final Cache mCache;
51 * Creates a new cache triage dispatcher thread. You must call {@link #start()}
56 * @param cache Cache interface to use for resolution
61 Cache cache, ResponseDelivery delivery)
    [all...]
NetworkDispatcher.java 25 * specified {@link Network} interface. Responses are committed to cache, if
26 * eligible, using a specified {@link Cache} interface. Valid responses and
35 /** The cache to write to. */
36 private final Cache mCache;
48 * @param cache Cache interface to use for writing responses to cache
52 Network network, Cache cache,
56 mCache = cache;
    [all...]
  /frameworks/support/volley/tests/src/com/android/volley/mock/
MockCache.java 19 import com.android.volley.Cache;
21 public class MockCache implements Cache {
  /external/llvm/lib/Analysis/
MemoryDependenceAnalysis.cpp 654 /// cache arrays are properly kept sorted.
655 static void AssertSorted(MemoryDependenceAnalysis::NonLocalDepInfo &Cache,
657 if (Count == -1) Count = Cache.size();
661 assert(!(Cache[i] < Cache[i-1]) && "Cache isn't sorted!");
682 NonLocalDepInfo &Cache = CacheP.first;
690 if (!Cache.empty()) {
691 // Okay, we have a cache entry. If we know it is not dirty, just return it
695 return Cache;
    [all...]
  /external/openssl/crypto/des/times/
aix.cc 6 Data/Instr Cache : 16 K
7 L2 Cache : 256 K
  /external/clang/include/clang/Basic/
FileSystemStatCache.h 25 /// \brief Abstract interface for introducing a FileManager cache for 'stat'
42 /// path, using the cache to accellerate it if possible. This returns true if
51 FileSystemStatCache *Cache);
54 /// \brief Sets the next stat call cache in the chain of stat caches.
55 /// Takes ownership of the given stat cache.
56 void setNextStatCache(FileSystemStatCache *Cache) {
57 NextStatCache.reset(Cache);
60 /// \brief Retrieve the next stat call cache in the chain.
63 /// \brief Retrieve the next stat call cache in the chain, transferring
64 /// ownership of this cache (and, transitively, all of the remaining caches
    [all...]
  /external/clang/lib/Basic/
FileSystemStatCache.cpp 34 /// path, using the cache to accelerate it if possible. This returns true if
43 int *FileDescriptor, FileSystemStatCache *Cache) {
47 // If we have a cache, use it to resolve the stat query.
48 if (Cache)
49 R = Cache->getStat(Path, StatBuf, FileDescriptor);
51 // If this is a directory and we have no cache, just go to the file system.
110 // Do not cache failed stats, it is easy to construct common inconsistent
117 // Cache file 'stat' results and directories with absolutely paths.
  /external/guava/guava/src/com/google/common/cache/
ForwardingCache.java 17 package com.google.common.cache;
31 * A cache which forwards all its method calls to another cache. Subclasses should override one or
32 * more methods to modify the behavior of the backing cache as desired per the
39 public abstract class ForwardingCache<K, V> extends ForwardingObject implements Cache<K, V> {
45 protected abstract Cache<K, V> delegate();
138 * constructed {@link Cache} as the delegete.
144 private final Cache<K, V> delegate;
146 protected SimpleForwardingCache(Cache<K, V> delegate) {
151 protected final Cache<K, V> delegate()
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
ForwardingCacheTest.java 17 package com.google.common.cache;
37 private Cache<String, Boolean> forward;
38 private Cache<String, Boolean> mock;
48 mock = createMock(Cache.class);
50 @Override protected Cache<String, Boolean> delegate() {
126 protected Cache<K, V> delegate() {
CacheTesting.java 15 package com.google.common.cache;
26 import com.google.common.cache.LocalCache.LocalLoadingCache;
27 import com.google.common.cache.LocalCache.ReferenceEntry;
28 import com.google.common.cache.LocalCache.Segment;
29 import com.google.common.cache.LocalCache.ValueReference;
51 * A collection of utilities for {@link Cache} testing.
58 * Poke into the Cache internals to simulate garbage collection of the value associated with the
64 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) {
65 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key)
    [all...]
  /frameworks/support/volley/tests/src/com/android/volley/toolbox/
HttpHeaderParserTest.java 21 import com.android.volley.Cache;
49 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
61 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
72 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
86 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
103 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
113 headers.put("Cache-Control", "public, max-age=86400");
115 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
127 headers.put("Cache-Control", "no-cache");
    [all...]
  /external/llvm/lib/Support/
SourceMgr.cpp 38 // Delete the line # cache if allocated.
39 if (LineNoCacheTy *Cache = getCache(LineNoCache))
40 delete Cache;
96 // If we have a line number cache, and if the query is to a later point in the
99 if (LineNoCacheTy *Cache = getCache(LineNoCache))
100 if (Cache->LastQueryBufferID == BufferID &&
101 Cache->LastQuery <= Loc.getPointer()) {
102 Ptr = Cache->LastQuery;
103 LineNo = Cache->LineNoOfQuery;
112 // Allocate the line number cache if it doesn't exist
    [all...]
  /external/webkit/Source/WebCore/platform/text/
AtomicStringKeyedMRUCache.h 67 typedef Vector<Entry, capacity> Cache;
68 Cache m_cache;
  /external/llvm/lib/CodeGen/
MachineLoopRanges.cpp 45 DeleteContainerSeconds(Cache);
46 Cache.clear();
50 MachineLoopRange *&Range = Cache[Loop];
  /frameworks/support/volley/tests/src/com/android/volley/
CacheDispatcherTest.java 72 // A cache miss does not post a response and puts the request on the network queue.
82 // A non-expired cache hit posts a response and does not queue to the network.
84 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false);
92 // A soft-expired cache hit posts a response and queues to the network.
94 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, true);
105 // An expired cache hit does not post a response and queues to the network.
107 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, true, true);
  /packages/apps/Mms/src/com/android/mms/data/
Conversation.java 140 Conversation conv = Cache.get(threadId);
146 Cache.put(conv);
148 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId): " + conv);
149 if (!Cache.replace(conv)) {
150 LogTag.error("get by threadId cache.replace failed on " + conv);
169 Conversation conv = Cache.get(recipients);
183 Cache.put(conv);
185 LogTag.error("Tried to add duplicate Conversation to Cache (from recipients): " + conv);
186 if (!Cache.replace(conv)) {
187 LogTag.error("get by recipients cache.replace failed on " + conv)
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineLoopRanges.h 92 CacheMap Cache;

Completed in 624 milliseconds

1 2 3 4