Home | History | Annotate | Download | only in cache

Lines Matching refs:memoryCache

24 #include "MemoryCache.h"
54 MemoryCache* memoryCache()
56 static MemoryCache* staticCache = new MemoryCache;
60 MemoryCache::MemoryCache()
73 KURL MemoryCache::removeFragmentIdentifierIfNeeded(const KURL& originalURL)
86 bool MemoryCache::add(CachedResource* resource)
96 LOG(ResourceLoading, "MemoryCache::add Added '%s', resource %p\n", resource->url().latin1().data(), resource);
100 void MemoryCache::revalidationSucceeded(CachedResource* revalidatingResource, const ResourceResponse& response)
126 void MemoryCache::revalidationFailed(CachedResource* revalidatingResource)
133 CachedResource* MemoryCache::resourceForURL(const KURL& resourceURL)
137 bool wasPurgeable = MemoryCache::shouldMakeResourcePurgeableOnEviction() && resource && resource->isPurgeable();
149 unsigned MemoryCache::deadCapacity() const
158 unsigned MemoryCache::liveCapacity() const
164 void MemoryCache::pruneLiveResources()
208 void MemoryCache::pruneDeadResources()
292 void MemoryCache::setCapacities(unsigned minDeadBytes, unsigned maxDeadBytes, unsigned totalBytes)
302 bool MemoryCache::makeResourcePurgeable(CachedResource* resource)
304 if (!MemoryCache::shouldMakeResourcePurgeableOnEviction())
324 void MemoryCache::evict(CachedResource* resource)
341 if (!MemoryCache::shouldMakeResourcePurgeableOnEviction() || !resource->isPurgeable())
368 MemoryCache::LRUList* MemoryCache::lruListFor(CachedResource* resource)
380 void MemoryCache::removeFromLRUList(CachedResource* resource)
427 void MemoryCache::insertInLRUList(CachedResource* resource)
459 void MemoryCache::resourceAccessed(CachedResource* resource)
478 void MemoryCache::removeResourcesWithOrigin(SecurityOrigin* origin)
496 void MemoryCache::getOriginsWithCache(SecurityOriginSet& origins)
503 void MemoryCache::removeFromLiveDecodedResourcesList(CachedResource* resource)
542 void MemoryCache::insertInLiveDecodedResourcesList(CachedResource* resource)
570 void MemoryCache::addToLiveResourcesSize(CachedResource* resource)
576 void MemoryCache::removeFromLiveResourcesSize(CachedResource* resource)
582 void MemoryCache::adjustSize(bool live, int delta)
593 void MemoryCache::TypeStatistic::addResource(CachedResource* o)
606 MemoryCache::Statistics MemoryCache::getStatistics()
637 void MemoryCache::setDisabled(bool disabled)
651 void MemoryCache::evictResources()
661 void MemoryCache::dumpStats()
676 void MemoryCache::dumpLRULists(bool includeLive) const