Home
last modified time | relevance | path

Searched refs:Cache (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITObjectCacheTest.cpp124 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
131 TheJIT->setObjectCache(Cache.get()); in TEST_F()
134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
140 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer)); in TEST_F()
143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
147 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()
153 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
157 TheJIT->setObjectCache(Cache.get()); in TEST_F()
174 TheJIT->setObjectCache(Cache.get()); in TEST_F()
178 EXPECT_TRUE(Cache->wasModuleLookedUp(SecondModulePointer)); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITObjectCacheTest.cpp124 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
131 TheJIT->setObjectCache(Cache.get()); in TEST_F()
134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
140 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer)); in TEST_F()
143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
147 EXPECT_FALSE(Cache->wereDuplicatesInserted()); in TEST_F()
153 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache); in TEST_F() local
157 TheJIT->setObjectCache(Cache.get()); in TEST_F()
174 TheJIT->setObjectCache(Cache.get()); in TEST_F()
178 EXPECT_TRUE(Cache->wasModuleLookedUp(SecondModulePointer)); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp567 static void AssertSorted(MemoryDependenceAnalysis::NonLocalDepInfo &Cache, in AssertSorted() argument
569 if (Count == -1) Count = Cache.size(); in AssertSorted()
573 assert(!(Cache[i] < Cache[i-1]) && "Cache isn't sorted!"); in AssertSorted()
594 NonLocalDepInfo &Cache = CacheP.first; in getNonLocalCallDependency() local
602 if (!Cache.empty()) { in getNonLocalCallDependency()
607 return Cache; in getNonLocalCallDependency()
612 for (NonLocalDepInfo::iterator I = Cache.begin(), E = Cache.end(); in getNonLocalCallDependency()
618 std::sort(Cache.begin(), Cache.end()); in getNonLocalCallDependency()
636 unsigned NumSortedEntries = Cache.size(); in getNonLocalCallDependency()
637 DEBUG(AssertSorted(Cache)); in getNonLocalCallDependency()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DLeaksContext.h33 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
68 assert(Cache == 0 && "No value should be cached anymore!");
88 const T* Cache;
/external/ImageMagick/MagickCore/
Dcache-private.h34 *Cache; typedef
231 extern MagickPrivate Cache
233 ClonePixelCache(const Cache),
234 DestroyPixelCache(Cache),
235 ReferencePixelCache(Cache);
238 GetPixelCacheStorageClass(const Cache);
241 GetPixelCacheColorspace(const Cache);
247 *GetVirtualPixelsNexus(const Cache,NexusInfo *magick_restrict);
250 *GetVirtualMetacontentFromNexus(const Cache,NexusInfo *magick_restrict);
259 GetPixelCacheNexusExtent(const Cache,NexusInfo *magick_restrict);
[all …]
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp737 static void AssertSorted(MemoryDependenceResults::NonLocalDepInfo &Cache, in AssertSorted() argument
740 Count = Cache.size(); in AssertSorted()
741 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && in AssertSorted()
752 NonLocalDepInfo &Cache = CacheP.first; in getNonLocalCallDependency() local
759 if (!Cache.empty()) { in getNonLocalCallDependency()
764 return Cache; in getNonLocalCallDependency()
769 for (auto &Entry : Cache) in getNonLocalCallDependency()
774 std::sort(Cache.begin(), Cache.end()); in getNonLocalCallDependency()
792 unsigned NumSortedEntries = Cache.size(); in getNonLocalCallDependency()
793 DEBUG(AssertSorted(Cache)); in getNonLocalCallDependency()
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DCacheTest.java21 import com.android.volley.Cache;
32 assertNotNull(Cache.class.getMethod("get", String.class)); in publicMethods()
33 assertNotNull(Cache.class.getMethod("put", String.class, Cache.Entry.class)); in publicMethods()
34 assertNotNull(Cache.class.getMethod("initialize")); in publicMethods()
35 assertNotNull(Cache.class.getMethod("invalidate", String.class, boolean.class)); in publicMethods()
36 assertNotNull(Cache.class.getMethod("remove", String.class)); in publicMethods()
37 assertNotNull(Cache.class.getMethod("clear")); in publicMethods()
DDiskBasedCacheTest.java35 import com.android.volley.Cache;
67 private Cache cache;
92 Cache.Entry entry = new Cache.Entry(); in testPutGetZeroBytes()
110 Cache.Entry entry = randomData(511); in testPutRemoveGet()
122 Cache.Entry entry = randomData(511); in testPutClearGet()
134 Cache.Entry entry = randomData(1023); in testReinitialize()
137 Cache copy = new DiskBasedCache(temporaryFolder.getRoot(), MAX_SIZE); in testReinitialize()
145 Cache.Entry entry = randomData(32); in testInvalidate()
157 Cache.Entry entry = randomData(32); in testInvalidateFullExpire()
170 Cache.Entry entry = randomData(MAX_SIZE - getEntrySizeOnDisk("oversize")); in testTooLargeEntry()
[all …]
DHttpHeaderParserTest.java24 import com.android.volley.Cache;
59 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders()
73 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet()
85 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag()
98 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire()
114 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast()
132 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative()
145 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires()
164 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate()
179 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlNoCache()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp773 static void AssertSorted(MemoryDependenceResults::NonLocalDepInfo &Cache, in AssertSorted() argument
776 Count = Cache.size(); in AssertSorted()
777 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && in AssertSorted()
788 NonLocalDepInfo &Cache = CacheP.first; in getNonLocalCallDependency() local
795 if (!Cache.empty()) { in getNonLocalCallDependency()
800 return Cache; in getNonLocalCallDependency()
805 for (auto &Entry : Cache) in getNonLocalCallDependency()
810 llvm::sort(Cache.begin(), Cache.end()); in getNonLocalCallDependency()
828 unsigned NumSortedEntries = Cache.size(); in getNonLocalCallDependency()
829 LLVM_DEBUG(AssertSorted(Cache)); in getNonLocalCallDependency()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_dense_alloc.h39 typedef DenseSlabAllocCache Cache; typedef
40 typedef typename Cache::IndexT IndexT;
61 IndexT Alloc(Cache *c) { in Alloc()
67 void Free(Cache *c, IndexT idx) { in Free()
69 if (c->pos == Cache::kSize) in Free()
80 void FlushCache(Cache *c) { in FlushCache()
89 void InitCache(Cache *c) { in InitCache()
100 void Refill(Cache *c) { in Refill()
118 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
125 void Drain(Cache *c) { in Drain()
[all …]
/external/honggfuzz/examples/apache-httpd/corpus_http2/
Dff3c5558ffc3b9fcefc9db2de5dac176.0000040a.honggfuzz.cov4 Cache-Control: 3j���eT-alive
5 Cache-Control: p�-alive
6 Cache-Control: mvSat- 29 O�t 2994 nWUSache-Control: p�-alive
7 Cache-Control: mvSat- 29 O�t 2994 nWUS,em;q=0.8,no-cache994 nWUS,em;q=0.8,no-cachep��e��r����7���…
8 Cache-Control: 3j���eT-alive
9 Cache-Control: p�-alive
10 Cache-Control: mvSat- 29 O�t 2994 nWUSache-Control: p�-alive
11 Cache-Control: mvSat- 29 O�t 2994 nWUS,em;q=0.8,no-cachep��e��r����7�����8��?>�c�AAAAAAnE>>>>>>>>…
/external/honggfuzz/examples/apache-httpd/corpus_http1/
Dff3c5558ffc3b9fcefc9db2de5dac176.0000040a.honggfuzz.cov4 Cache-Control: 3j���eT-alive
5 Cache-Control: p�-alive
6 Cache-Control: mvSat- 29 O�t 2994 nWUSache-Control: p�-alive
7 Cache-Control: mvSat- 29 O�t 2994 nWUS,em;q=0.8,no-cache994 nWUS,em;q=0.8,no-cachep��e��r����7���…
8 Cache-Control: 3j���eT-alive
9 Cache-Control: p�-alive
10 Cache-Control: mvSat- 29 O�t 2994 nWUSache-Control: p�-alive
11 Cache-Control: mvSat- 29 O�t 2994 nWUS,em;q=0.8,no-cachep��e��r����7�����8��?>�c�AAAAAAnE>>>>>>>>…
/external/compiler-rt/test/tsan/
Dstatic_init2.cc6 struct Cache { struct
8 explicit Cache(int x) in Cache() argument
13 void foo(Cache *my) { in foo()
14 static Cache *c = my ? my : new Cache(rand()); in foo()
20 foo(new Cache(rand())); in Thread()
Dstatic_init3.cc7 struct Cache { struct
11 Cache g_cache; argument
13 Cache *CreateCache() { in CreateCache()
18 _Atomic(Cache*) queue;
21 static Cache *c = CreateCache(); in Thread1()
27 Cache *c = 0; in Thread2()
Dstatic_init6.cc7 struct Cache { struct
9 explicit Cache(int x) in Cache() argument
15 return new Cache((int)(long)p); in AsyncInit()
18 Cache *CreateCache() { in CreateCache()
23 return (Cache*)res; in CreateCache()
27 static Cache *c = CreateCache(); in Thread1()
Dstatic_init5.cc7 struct Cache { struct
9 explicit Cache(int x) in Cache() function
15 return new Cache((int)(long)p); in AsyncInit()
18 Cache *CreateCache() { in CreateCache()
23 return (Cache*)res; in CreateCache()
27 static Cache *c = CreateCache(); in Thread1()
Dstatic_init4.cc7 struct Cache { struct
9 explicit Cache(int x) in Cache() function
16 Cache *CreateCache() { in CreateCache()
18 return new Cache(rand()); in CreateCache()
22 static Cache *c = CreateCache(); in Thread1()
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp39 if (LineNoCacheTy *Cache = getCache(LineNoCache)) in ~SourceMgr() local
40 delete Cache; in ~SourceMgr()
99 if (LineNoCacheTy *Cache = getCache(LineNoCache)) in FindLineNumber() local
100 if (Cache->LastQueryBufferID == BufferID && in FindLineNumber()
101 Cache->LastQuery <= Loc.getPointer()) { in FindLineNumber()
102 Ptr = Cache->LastQuery; in FindLineNumber()
103 LineNo = Cache->LineNoOfQuery; in FindLineNumber()
117 LineNoCacheTy &Cache = *getCache(LineNoCache); in FindLineNumber() local
118 Cache.LastQueryBufferID = BufferID; in FindLineNumber()
119 Cache.LastQuery = Ptr; in FindLineNumber()
[all …]
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/
DHasCacheHolder.java20 import com.android.okhttp.Cache;
46 private final Cache okHttpCache;
48 private CacheHolder(Cache okHttpCache) { in CacheHolder()
64 public Cache getCache() { in getCache()
76 Cache cache = new Cache(directory, maxSizeBytes); in create()
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/
DHasCacheHolder.java19 import com.squareup.okhttp.Cache;
44 private final Cache okHttpCache;
46 private CacheHolder(Cache okHttpCache) { in CacheHolder()
62 public Cache getCache() { in getCache()
74 Cache cache = new Cache(directory, maxSizeBytes); in create()
/external/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java19 import com.android.volley.Cache;
31 public static Cache.Entry makeRandomCacheEntry( in makeRandomCacheEntry()
34 Cache.Entry entry = new Cache.Entry(); in makeRandomCacheEntry()
51 public static Cache.Entry makeRandomCacheEntry(byte[] data) { in makeRandomCacheEntry()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheTesting.java65 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) { in simulateValueReclamation()
84 static <K, V> void simulateKeyReclamation(Cache<K, V> cache, K key) { in simulateKeyReclamation()
94 static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) { in getReferenceEntry()
105 static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) { in forceExpandSegment()
118 static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) { in toLocalCache()
130 static boolean hasLocalCache(Cache<?, ?> cache) { in hasLocalCache() argument
134 static void drainRecencyQueues(Cache<?, ?> cache) { in drainRecencyQueues() argument
152 static void drainReferenceQueues(Cache<?, ?> cache) { in drainReferenceQueues() argument
173 static int getTotalSegmentSize(Cache<?, ?> cache) { in getTotalSegmentSize() argument
188 static void checkValidState(Cache<?, ?> cache) { in checkValidState() argument
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DVMState.java50 private static class Cache { class in VMState
55 private Cache cache = null; // synchronized (this)
56 private static final Cache markerCache = new Cache();
70 private Cache getCache() { in getCache()
73 cache = new Cache(); in getCache()
194 Cache local = getCache(); in allThreads()
221 Cache local = getCache(); in topLevelThreadGroups()
DThreadGroupReferenceImpl.java40 private static class Cache extends ObjectReferenceImpl.Cache { class in ThreadGroupReferenceImpl
44 protected ObjectReferenceImpl.Cache newCache() { in newCache()
45 return new Cache(); in newCache()
111 Cache local = (Cache)getCache(); in kids()

12345678910>>...20