Home
last modified time | relevance | path

Searched refs:mCache (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12CachingTests.cpp45 EXPECT_TRUE(mCache.insert({keyStr, std::move(entry_value)}).second); in StoreData()
54 auto entry = mCache.find(keyStr); in LoadData()
55 if (entry == mCache.end()) { in LoadData()
68 FakeCache mCache; member in FakePersistentCache
124 EXPECT_EQ(mPersistentCache.mCache.size(), 0u); in TEST_P()
137 EXPECT_EQ(mPersistentCache.mCache.size(), 0u); in TEST_P()
165 EXPECT_EQ(mPersistentCache.mCache.size(), 2u); in TEST_P()
180 EXPECT_EQ(mPersistentCache.mCache.size(), 2u); in TEST_P()
204 EXPECT_EQ(mPersistentCache.mCache.size(), 4u); in TEST_P()
237 EXPECT_EQ(mPersistentCache.mCache.size(), 2u); in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPersistentCache.cpp24 : mDevice(device), mCache(GetPlatformCache()) { in PersistentCache()
29 if (mCache == nullptr) { in LoadData()
33 blob.bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), nullptr, 0); in LoadData()
36 const size_t bufferSize = mCache->LoadData(ToAPI(mDevice), key.data(), key.size(), in LoadData()
45 if (mCache == nullptr) { in StoreData()
51 mCache->StoreData(ToAPI(mDevice), key.data(), key.size(), value, size); in StoreData()
DPersistentCache.h88 dawn_platform::CachingInterface* mCache = nullptr; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSamplerHeapCacheD3D12.cpp40 mCache(cache) { in SamplerHeapCacheEntry()
41 ASSERT(mCache != nullptr); in SamplerHeapCacheEntry()
53 mCache->RemoveCacheEntry(this); in ~SamplerHeapCacheEntry()
114 auto iter = mCache.find(&blueprint); in GetOrCreate()
115 if (iter != mCache.end()) { in GetOrCreate()
137 mCache.insert(entry.Get()); in GetOrCreate()
145 ASSERT(mCache.empty()); in ~SamplerHeapCache()
150 size_t removedCount = mCache.erase(entry); in RemoveCacheEntry()
DD3D11on12Util.cpp125 auto iter = mCache.find(&blueprint); in GetOrCreateD3D11on12Resource()
126 if (iter != mCache.end()) { in GetOrCreateD3D11on12Resource()
153 if (mCache.size() > kMaxD3D11on12ResourceCacheSize) { in GetOrCreateD3D11on12Resource()
154 mCache.clear(); in GetOrCreateD3D11on12Resource()
159 mCache.insert(entry); in GetOrCreateD3D11on12Resource()
DSamplerHeapCacheD3D12.h79 SamplerHeapCache* mCache = nullptr; variable
102 Cache mCache; variable
DD3D11on12Util.h84 Cache mCache; variable
/third_party/skia/third_party/externals/dawn/src/common/
DConcurrentCache.h31 auto iter = mCache.find(object); in Find()
32 if (iter == mCache.end()) { in Find()
40 auto insertion = mCache.insert(object); in Insert()
46 return mCache.erase(object); in Erase()
51 std::unordered_set<T*, typename T::HashFunc, typename T::EqualityFunc> mCache; variable
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DVulkanPipelineCachePerf.cpp30 GraphicsPipelineCache mCache; member in __anon3e1f402c0111::VulkanPipelineCachePerfTest
47 mCache.destroy(VK_NULL_HANDLE); in ~VulkanPipelineCachePerfTest()
63 mCache.populate(desc, std::move(pipeline)); in SetUp()
105 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, dbm, ssm, in step()
114 (void)mCache.getPipeline(VK_NULL_HANDLE, pc, rp, pl, am, ctm, dbm, ssm, defaultSpecConsts, in step()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DConcurrentCacheTests.cpp59 ConcurrentCache<SimpleCachedObject> mCache; member in ConcurrentCacheTest
71 ConcurrentCache<SimpleCachedObject>* cachePtr = &mCache; in TEST_F()
93 ConcurrentCache<SimpleCachedObject>* cachePtr = &mCache; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPassCache.cpp89 for (auto it : mCache) { in ~RenderPassCache()
93 mCache.clear(); in ~RenderPassCache()
98 auto it = mCache.find(query); in GetRenderPass()
99 if (it != mCache.end()) { in GetRenderPass()
105 mCache.emplace(query, renderPass); in GetRenderPass()
DRenderPassCache.h101 Cache mCache; variable
/third_party/skia/third_party/externals/angle2/doc/
DBufferImplementation.md68 StaticVertexBuffer::mCache vector.
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp153088 , mCache(aCache) in xpcObjectHelper()
153090 if (!mCache) { in xpcObjectHelper()
153092 CallQueryInterface(aObject, &mCache); in xpcObjectHelper()
153094 mCache = nullptr; in xpcObjectHelper()
153164 return mCache; in GetWrapperCache()
153172 , mCache(aCache) in xpcObjectHelper()
153174 if (!mCache && aObject) in xpcObjectHelper()
153175 CallQueryInterface(aObject, &mCache); in xpcObjectHelper()
153189 nsWrapperCache* mCache; member in xpcObjectHelper
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi6761 …<var-decl name='mCache' type-id='0185cb3d' visibility='default' filepath='frameworks/base/libs/and…