Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp89 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in set()
90 if (index == mCacheEntries.end() || cacheEntry < *index) { in set()
109 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set()
149 auto index = std::lower_bound(mCacheEntries.begin(), mCacheEntries.end(), cacheEntry); in get()
150 if (index == mCacheEntries.end() || cacheEntry < *index) { in get()
176 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
194 header->mNumEntries = mCacheEntries.size(); in flatten()
202 for (const CacheEntry& e : mCacheEntries) { in flatten()
305 size_t i = size_t(blob_random() % (mCacheEntries.size())); in clean()
306 const CacheEntry& entry(mCacheEntries[i]); in clean()
[all …]
DBlobCache.h121 mCacheEntries.clear(); in clear()
265 std::vector<CacheEntry> mCacheEntries; variable