Lines Matching refs:cache
36 // Number of recent GetFontRenderParams() results to cache.
39 // A cache and the lock that must be held while accessing it.
43 SynchronizedCache() : cache(kCacheSize) {}
46 Cache cache;
159 // cache key.
173 // can only return a value from the cache if it wasn't requested.
176 Cache::const_iterator it = synchronized_cache->cache.Get(hash);
177 if (it != synchronized_cache->cache.end()) {
223 synchronized_cache->cache.Put(hash, params);
231 synchronized_cache->cache.Clear();