Searched refs:mCacheEntries (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 85 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), dummyEntry); in set() 86 if (index == mCacheEntries.end() || dummyEntry < *index) { in set() 104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set() 143 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), dummyEntry); in get() 144 if (index == mCacheEntries.end() || dummyEntry < *index) { in get() 170 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize() 188 header->mNumEntries = mCacheEntries.size(); in flatten() 196 for (const CacheEntry& e : mCacheEntries) { in flatten() 230 mCacheEntries.clear(); in unflatten() 257 mCacheEntries.clear(); in unflatten() [all …]
|
D | BlobCache.h | 102 void clear() { mCacheEntries.clear(); } in clear() 245 std::vector<CacheEntry> mCacheEntries; variable
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 109 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), dummyEntry); in set() 110 if (index == mCacheEntries.end() || dummyEntry < *index) { in set() 136 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount)); in set() 149 index - mCacheEntries.begin())) { in set() 193 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), dummyEntry); in get() 194 if (index == mCacheEntries.end() || dummyEntry < *index) { in get() 222 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize() 240 header->mNumEntries = mCacheEntries.size(); in flatten() 248 for (const CacheEntry& e : mCacheEntries) { in flatten() 282 mCacheEntries.clear(); in unflatten() [all …]
|
D | BlobCache.h | 348 std::vector<CacheEntry> mCacheEntries; variable
|