Home
last modified time | relevance | path

Searched refs:mCacheEntries (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp85 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in set()
86 if (index == mCacheEntries.end() || cacheEntry < *index) { in set()
104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set()
143 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in get()
144 if (index == mCacheEntries.end() || cacheEntry < *index) { in get()
169 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
187 header->mNumEntries = mCacheEntries.size(); in flatten()
195 for (const CacheEntry& e : mCacheEntries) { in flatten()
229 mCacheEntries.clear(); in unflatten()
257 mCacheEntries.clear(); in unflatten()
[all …]
DBlobCache.h102 void clear() { mCacheEntries.clear(); } in clear()
245 std::vector<CacheEntry> mCacheEntries; variable
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache.cpp109 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 …]
DBlobCache.h348 std::vector<CacheEntry> mCacheEntries; variable