Lines Matching refs:CachedResource
86 bool MemoryCache::add(CachedResource* resource)
100 void MemoryCache::revalidationSucceeded(CachedResource* revalidatingResource, const ResourceResponse& response)
102 CachedResource* resource = revalidatingResource->resourceToRevalidate();
126 void MemoryCache::revalidationFailed(CachedResource* revalidatingResource)
133 CachedResource* MemoryCache::resourceForURL(const KURL& resourceURL)
136 CachedResource* resource = m_resources.get(url);
186 CachedResource* current = m_liveDecodedResources.m_tail;
188 CachedResource* prev = current->m_prevInLiveResourcesList;
223 CachedResource* current = m_allResources[i].m_tail;
225 CachedResource* prev = current->m_prevInAllResourcesList;
242 CachedResource* current = m_allResources[i].m_tail;
246 CachedResource* prev = current->m_prevInAllResourcesList;
264 CachedResource* prev = current->m_prevInAllResourcesList;
302 bool MemoryCache::makeResourcePurgeable(CachedResource* resource)
324 void MemoryCache::evict(CachedResource* resource)
368 MemoryCache::LRUList* MemoryCache::lruListFor(CachedResource* resource)
380 void MemoryCache::removeFromLRUList(CachedResource* resource)
398 for (CachedResource* current = list->m_head; current; current = current->m_nextInAllResourcesList) {
407 CachedResource* next = resource->m_nextInAllResourcesList;
408 CachedResource* prev = resource->m_prevInAllResourcesList;
427 void MemoryCache::insertInLRUList(CachedResource* resource)
448 for (CachedResource* current = list->m_head; current; current = current->m_nextInAllResourcesList) {
459 void MemoryCache::resourceAccessed(CachedResource* resource)
480 Vector<CachedResource*> resourcesWithOrigin;
484 CachedResource* resource = it->second;
503 void MemoryCache::removeFromLiveDecodedResourcesList(CachedResource* resource)
513 for (CachedResource* current = m_liveDecodedResources.m_head; current; current = current->m_nextInLiveResourcesList) {
522 CachedResource* next = resource->m_nextInLiveResourcesList;
523 CachedResource* prev = resource->m_prevInLiveResourcesList;
542 void MemoryCache::insertInLiveDecodedResourcesList(CachedResource* resource)
559 for (CachedResource* current = m_liveDecodedResources.m_head; current; current = current->m_nextInLiveResourcesList) {
570 void MemoryCache::addToLiveResourcesSize(CachedResource* resource)
576 void MemoryCache::removeFromLiveResourcesSize(CachedResource* resource)
593 void MemoryCache::TypeStatistic::addResource(CachedResource* o)
611 CachedResource* resource = i->second;
613 case CachedResource::ImageResource:
616 case CachedResource::CSSStyleSheet:
619 case CachedResource::Script:
623 case CachedResource::XSLStyleSheet:
627 case CachedResource::FontResource:
683 CachedResource* current = m_allResources[i].m_tail;
685 CachedResource* prev = current->m_prevInAllResourcesList;