Searched refs:Cache (Results 1 – 2 of 2) sorted by relevance
932 struct Cache { struct933 Cache() { in Cache() function937 ~Cache() { flush(); } in ~Cache() argument987 cache = std::make_unique<Cache>(); in NetConfig() argument993 std::unique_ptr<Cache> cache;1013 static Cache* find_named_cache_locked(unsigned netid) REQUIRES(cache_mutex);1018 static bool cache_has_pending_request_locked(Cache* cache, const Entry* key, in cache_has_pending_request_locked()1022 Cache::pending_req_info* ri = cache->pending_requests.next; in cache_has_pending_request_locked()1023 Cache::pending_req_info* prev = &cache->pending_requests; in cache_has_pending_request_locked()1033 ri = (Cache::pending_req_info*)calloc(1, sizeof(Cache::pending_req_info)); in cache_has_pending_request_locked()[all …]
51 private final Cache mCache;60 mCache = new Cache(maxCacheSizeInBytes); in ThumbnailCache()294 private final class Cache extends LruCache<Pair<Uri, Point>, Entry> { class in ThumbnailCache296 private Cache(int maxSizeBytes) { in Cache() method in ThumbnailCache.Cache