Searched refs:Cache (Results 1 - 25 of 263) sorted by relevance

1234567891011

/external/compiler-rt/test/tsan/
H A Dstatic_init2.cc6 struct Cache { struct
8 explicit Cache(int x) function in struct:Cache
13 void foo(Cache *my) {
14 static Cache *c = my ? my : new Cache(rand());
20 foo(new Cache(rand()));
H A Dstatic_init3.cc7 struct Cache { struct
11 Cache g_cache;
13 Cache *CreateCache() {
18 _Atomic(Cache*) queue;
21 static Cache *c = CreateCache();
27 Cache *c = 0;
H A Dstatic_init5.cc7 struct Cache { struct
9 explicit Cache(int x) function in struct:Cache
15 return new Cache((int)(long)p);
18 Cache *CreateCache() {
23 return (Cache*)res;
27 static Cache *c = CreateCache();
H A Dstatic_init6.cc7 struct Cache { struct
9 explicit Cache(int x) function in struct:Cache
15 return new Cache((int)(long)p);
18 Cache *CreateCache() {
23 return (Cache*)res;
27 static Cache *c = CreateCache();
H A Dstatic_init4.cc7 struct Cache { struct
9 explicit Cache(int x) function in struct:Cache
16 Cache *CreateCache() {
18 return new Cache(rand());
22 static Cache *c = CreateCache();
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dcache.h5 // A Cache is an interface that maps keys to values. It has internal
26 class Cache;
29 // of Cache uses a least-recently-used eviction policy.
30 extern Cache* NewLRUCache(size_t capacity);
32 class Cache { class in namespace:leveldb
34 Cache() { } function in class:leveldb::Cache
38 virtual ~Cache();
93 Cache(const Cache&);
94 void operator=(const Cache
[all...]
H A Doptions.h12 class Cache;
98 Cache* block_cache;
/external/llvm/lib/IR/
H A DLeaksContext.h37 Cache(nullptr), Name(name) { }
40 Cache = nullptr;
55 if (Cache) {
56 assert(Cache != o && "Object already in set!");
57 Ts.insert(Cache);
59 Cache = o;
63 if (o == Cache)
64 Cache = nullptr; // Cache hit
70 addGarbage(nullptr); // Flush the Cache
92 const T* Cache; member in struct:llvm::LeakDetectorImpl
[all...]
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITObjectCacheTest.cpp135 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache);
142 TheJIT->setObjectCache(Cache.get());
145 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer);
151 EXPECT_TRUE(Cache->wasModuleLookedUp(SavedModulePointer));
154 ObjBuffer = Cache->getObjectInternal(SavedModulePointer);
158 EXPECT_FALSE(Cache->wereDuplicatesInserted());
164 std::unique_ptr<TestObjectCache> Cache(new TestObjectCache);
168 TheJIT->setObjectCache(Cache.get());
185 TheJIT->setObjectCache(Cache.get());
189 EXPECT_TRUE(Cache
[all...]
/external/chromium_org/base/containers/
H A Dmru_cache_unittest.cc36 typedef base::MRUCache<int, CachedItem> Cache; typedef
37 Cache cache(Cache::NO_AUTO_EVICT);
48 Cache::iterator inserted_item = cache.Put(kItem1Key, item1);
53 Cache::iterator found = cache.Get(kItem1Key);
71 Cache::reverse_iterator oldest = cache.rbegin();
79 Cache::iterator test_item = cache.Get(kItem1Key);
87 Cache::reverse_iterator oldest = cache.rbegin();
95 Cache::reverse_iterator next = cache.Erase(cache.rbegin());
116 typedef base::MRUCache<int, CachedItem> Cache; typedef
151 typedef base::MRUCache<int, CachedItem> Cache; typedef
189 typedef base::OwningMRUCache<int, CachedItem*> Cache; typedef
232 typedef base::OwningMRUCache<int, CachedItem*> Cache; typedef
257 typedef base::HashingMRUCache<std::string, CachedItem> Cache; typedef
[all...]
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cc26 typedef Alloc::Cache Cache; typedef
31 Cache cache;
/external/chromium_org/components/omnibox/
H A Danswers_cache.h21 // Cache for the most-recently seen answer for Answers in Suggest.
40 typedef std::list<AnswersQueryData> Cache; typedef in class:AnswersCache
41 Cache cache_;
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DCache.cpp6 #include "modules/serviceworkers/Cache.h"
48 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
74 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
100 m_resolver->reject(Cache::domExceptionForCacheError(*reason));
110 return ScriptPromise::rejectWithDOMException(scriptState, Cache::domExceptionForCacheError(error));
115 return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError, "Cache is not implemented"));
120 Cache* Cache::create(WebServiceWorkerCache* webCache)
122 return new Cache(webCache);
125 ScriptPromise Cache
268 Cache::Cache(WebServiceWorkerCache* webCache) function in class:blink::Cache
[all...]
H A DCache.h26 class Cache FINAL : public GarbageCollectedFinalized<Cache>, public ScriptWrappable {
28 WTF_MAKE_NONCOPYABLE(Cache);
30 static Cache* create(WebServiceWorkerCache*);
32 // From Cache.idl:
53 explicit Cache(WebServiceWorkerCache*);
H A DCacheStorage.h17 class Cache;
46 HeapHashMap<String, Member<Cache> > m_nameToCacheMap;
/external/chromium_org/ui/file_manager/image_loader/
H A Dcache.js11 function Cache() { class
21 * Cache database name.
25 Cache.DB_NAME = 'image-loader';
28 * Cache database version.
32 Cache.DB_VERSION = 11;
40 Cache.MEMORY_LIMIT = 250 * 1024 * 1024; // 250 MB.
49 Cache.EVICTION_CHUNK_SIZE = 50 * 1024 * 1024; // 50 MB.
55 * @return {string} Cache key.
57 Cache.createKey = function(request) {
71 Cache
[all...]
H A Dimage_loader_client.js33 * @type {ImageLoaderClient.Cache}
36 this.cache_ = new ImageLoaderClient.Cache();
136 ImageLoaderClient.recordPercentage('Cache.Usage', this.cache_.getUsage());
158 var cacheKey = ImageLoaderClient.Cache.createKey(url, opt_options);
164 ImageLoaderClient.recordBinary('Cache.HitMiss', 1);
168 ImageLoaderClient.recordBinary('Cache.HitMiss', 0);
212 ImageLoaderClient.Cache = function() {
223 ImageLoaderClient.Cache.MEMORY_LIMIT = 20 * 1024 * 1024; // 20 MB.
230 * @return {string} Cache key.
232 ImageLoaderClient.Cache
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h39 typedef DenseSlabAllocCache Cache; typedef in class:__tsan::DenseSlabAlloc
40 typedef typename Cache::IndexT IndexT;
61 IndexT Alloc(Cache *c) {
67 void Free(Cache *c, IndexT idx) {
68 if (c->pos == Cache::kSize)
79 void FlushCache(Cache *c) {
88 void InitCache(Cache *c) {
99 void Refill(Cache *c) {
117 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) {
124 void Drain(Cache *
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontDataCache.h92 typedef HashMap<FontPlatformData, pair<RefPtr<SimpleFontData>, unsigned>, FontDataCacheKeyHash, FontDataCacheKeyTraits> Cache; typedef in class:blink::FontDataCache
93 Cache m_cache;
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dtable_cache.h54 Cache* cache_;
56 Status FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle**);
/external/skia/include/core/
H A DSkImageFilter.h51 class SK_API Cache : public SkRefCnt { class in class:SkImageFilter
54 static Cache* Create(int minChildren = 2);
55 virtual ~Cache() {}
64 Context(const SkMatrix& ctm, const SkIRect& clipBounds, Cache* cache) :
69 Cache* cache() const { return fCache; }
73 Cache* fCache;
191 static void SetExternalCache(Cache* cache);
196 static Cache* GetExternalCache();
/external/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp610 static void AssertSorted(MemoryDependenceAnalysis::NonLocalDepInfo &Cache, argument
612 if (Count == -1) Count = Cache.size();
616 assert(!(Cache[i] < Cache[i-1]) && "Cache isn't sorted!");
637 NonLocalDepInfo &Cache = CacheP.first; local
645 if (!Cache.empty()) {
650 return Cache;
655 for (NonLocalDepInfo::iterator I = Cache.begin(), E = Cache
799 GetNonLocalInfoForBlock(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *BB, NonLocalDepInfo *Cache, unsigned NumSortedEntries) argument
868 SortNonLocalDepInfoCache(MemoryDependenceAnalysis::NonLocalDepInfo &Cache, unsigned NumSortedEntries) argument
978 NonLocalDepInfo *Cache = &CacheInfo->NonLocalDeps; local
[all...]
/external/openssl/crypto/des/times/
H A Daix.cc6 Data/Instr Cache : 16 K
7 L2 Cache : 256 K
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DMatchedPropertiesCache.h79 typedef HeapHashMap<unsigned, Member<CachedMatchedProperties>, DefaultHash<unsigned>::Hash, HashTraits<unsigned>, CachedMatchedPropertiesHashTraits > Cache; typedef in class:blink::MatchedPropertiesCache
87 typedef HashMap<unsigned, OwnPtr<CachedMatchedProperties> > Cache; typedef in class:blink::MatchedPropertiesCache
90 Cache m_cache;
/external/guava/guava/src/com/google/common/cache/
H A DForwardingCache.java39 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() {

Completed in 738 milliseconds

1234567891011