Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp932 struct Cache { struct
933 Cache() { in Cache() function
937 ~Cache() { flush(); } in ~Cache() argument
987 cache = std::make_unique<Cache>(); in NetConfig() argument
993 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 …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java51 private final Cache mCache;
60 mCache = new Cache(maxCacheSizeInBytes); in ThumbnailCache()
294 private final class Cache extends LruCache<Pair<Uri, Point>, Entry> { class in ThumbnailCache
296 private Cache(int maxSizeBytes) { in Cache() method in ThumbnailCache.Cache