Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DShaderCache.cpp28 class CacheObserver : android::base::MruCache<K, V>::MruCacheObserver {
31 CacheObserver(android::base::MruCache<K, V>* cacheReference) { in CacheObserver()
41 android::base::MruCache<K, V>* mCacheRef;
45 class CacheFlattener : public android::base::MruCache<K, V>::CacheFlattener {
46 using MruCache = std::map<typename android::base::MruCache<K, V>::template EntryWithSize<K>, typedef in __anon3b31819e0111::CacheFlattener
47 typename android::base::MruCache<K, V>::template EntryWithSize<V>>;
50 void handleFlatten(MruCache &mCache, void* buf, size_t bufSize) { in handleFlatten()
57 android::base::MruCache<BlobCacheType, BlobCacheType> mruCache(3200, &testFlattener);
/hardware/google/aemu/base/include/aemu/base/
DMruCache.h29 class MruCache {
60 MruCache(size_t maxEntries, CacheFlattener* cacheFlattener) in MruCache() function