Home
last modified time | relevance | path

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

/hardware/google/aemu/base/include/aemu/base/
DMruCache.h71 auto iter = std::find(mMostRecents.begin(), mMostRecents.end(), cacheKey); in put()
72 mMostRecents.splice(mMostRecents.begin(), mMostRecents, iter); in put()
75 mMostRecents.push_front(cacheKey); in put()
102 auto iter = std::find(mMostRecents.begin(), mMostRecents.end(), cacheKey); in get()
103 mMostRecents.splice(mMostRecents.begin(), mMostRecents, iter); in get()
115 auto entryCount = mMostRecents.size(); in evictIfNecessary()
119 for (int i = mMostRecents.size(); i > threshold; i--) { in evictIfNecessary()
120 EntryWithSize<K> key = mMostRecents.front(); in evictIfNecessary()
121 mMostRecents.pop_front(); in evictIfNecessary()
128 MostRecentList mMostRecents; variable