Searched refs:memoryCache (Results 1 – 15 of 15) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | MemoryCacheTest.cpp | 83 m_globalMemoryCache = adoptPtr(memoryCache()); in SetUp() 93 m_testingMemoryCache = adoptPtr(memoryCache()); in TearDown() 109 memoryCache()->setCapacities(minDeadCapacity, maxDeadCapacity, totalCapacity); in TEST_F() 110 ASSERT_EQ(totalCapacity, memoryCache()->capacity()); in TEST_F() 111 ASSERT_EQ(minDeadCapacity, memoryCache()->minDeadCapacity()); in TEST_F() 112 ASSERT_EQ(maxDeadCapacity, memoryCache()->maxDeadCapacity()); in TEST_F() 123 memoryCache()->setCapacities(minDeadCapacity, maxDeadCapacity, totalCapacity); in TEST_F() 128 ASSERT_EQ(0u, memoryCache()->deadSize()); in TEST_F() 129 ASSERT_EQ(0u, memoryCache()->liveSize()); in TEST_F() 130 memoryCache()->add(cachedResource.get()); in TEST_F() [all …]
|
D | Resource.cpp | 149 ASSERT(url().isNull() || memoryCache()->resourceForURL(KURL(ParsedURLString, url())) != this); in ~Resource() 234 memoryCache()->remove(this); in error() 368 memoryCache()->removeFromLiveDecodedResourcesList(this); in setCacheLiveResourcePriority() 370 memoryCache()->insertInLiveDecodedResourcesList(this); in setCacheLiveResourcePriority() 371 memoryCache()->prune(); in setCacheLiveResourcePriority() 424 memoryCache()->addToLiveResourcesSize(this); in addClientToSet() 453 memoryCache()->removeFromLiveResourcesSize(this); in removeClient() 454 memoryCache()->removeFromLiveDecodedResourcesList(this); in removeClient() 464 memoryCache()->remove(this); in removeClient() 466 memoryCache()->prune(this); in removeClient() [all …]
|
D | RawResourceTest.cpp | 73 memoryCache()->add(oldResource.get()); in TEST() 74 memoryCache()->remove(oldResource.get()); in TEST() 75 memoryCache()->add(newResource.get()); in TEST() 84 …EXPECT_EQ(memoryCache()->resourceForURL(KURL(ParsedURLString, "data:text/html,")), oldResource.get… in TEST()
|
D | ImageResourceTest.cpp | 115 memoryCache()->add(cachedImage.get()); in TEST() 124 EXPECT_NE(reinterpret_cast<Resource*>(0), memoryCache()->resourceForURL(testURL)); in TEST() 129 EXPECT_EQ(reinterpret_cast<Resource*>(0), memoryCache()->resourceForURL(testURL)); in TEST()
|
D | ResourceFetcher.cpp | 306 if (memoryCache()->resourceForURL(url)) in preCacheDataURIImage() 310 memoryCache()->add(resource); in preCacheDataURIImage() 337 if (Resource* existing = memoryCache()->resourceForURL(url)) { in fetchUserCSSStyleSheet() 340 memoryCache()->remove(existing); in fetchUserCSSStyleSheet() 607 ResourcePtr<Resource> resource = memoryCache()->resourceForURL(url); in requestResource() 612 memoryCache()->remove(resource.get()); in requestResource() 643 memoryCache()->remove(resource.get()); in requestResource() 658 memoryCache()->remove(resource.get()); in requestResource() 673 memoryCache()->remove(resource.get()); in requestResource() 788 memoryCache()->remove(resource); in revalidateResource() [all …]
|
D | ResourceFetcherTest.cpp | 65 EXPECT_EQ(memoryCache()->resourceForURL(testURL), static_cast<Resource*>(0)); in TEST()
|
D | MemoryCache.cpp | 56 MemoryCache* memoryCache() in memoryCache() function 64 void setMemoryCacheForTesting(MemoryCache* memoryCache) in setMemoryCacheForTesting() argument 66 gMemoryCache = memoryCache; in setMemoryCacheForTesting() 514 if (Resource* resource = memoryCache()->resourceForURL(url)) in removeURLFromCacheInternal() 515 memoryCache()->remove(resource); in removeURLFromCacheInternal()
|
D | MemoryCache.h | 217 MemoryCache* memoryCache();
|
D | ImageResource.cpp | 350 memoryCache()->remove(this); in updateImage()
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | ImageBitmapTest.cpp | 65 m_globalMemoryCache = adoptPtr(memoryCache()); in SetUp() 74 m_testingMemoryCache = adoptPtr(memoryCache()); in TearDown() 130 memoryCache()->add(cachedImageNoCrop.get()); in TEST_F() 131 memoryCache()->add(cachedImageInteriorCrop.get()); in TEST_F() 132 memoryCache()->add(cachedImageExteriorCrop.get()); in TEST_F() 133 memoryCache()->add(cachedImageOutsideCrop.get()); in TEST_F() 134 memoryCache()->insertInLiveDecodedResourcesList(cachedImageNoCrop.get()); in TEST_F() 135 memoryCache()->insertInLiveDecodedResourcesList(cachedImageInteriorCrop.get()); in TEST_F() 136 memoryCache()->insertInLiveDecodedResourcesList(cachedImageExteriorCrop.get()); in TEST_F() 137 memoryCache()->insertInLiveDecodedResourcesList(cachedImageOutsideCrop.get()); in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebCache.cpp | 54 MemoryCache* cache = WebCore::memoryCache(); in setCapacities() 63 MemoryCache* cache = WebCore::memoryCache(); in clear() 72 MemoryCache* cache = WebCore::memoryCache(); in getUsageStats() 85 MemoryCache* cache = WebCore::memoryCache(); in getResourceTypeStats()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorResourceAgent.cpp | 657 Resource* cachedResource = memoryCache()->resourceForURL(xhrReplayData->url()); in replayXHR() 659 memoryCache()->remove(cachedResource); in replayXHR() 692 memoryCache()->evictResources(); in setCacheDisabled() 746 memoryCache()->evictResources(); in didCommitLoad() 767 cachedResource = memoryCache()->resourceForURL(url); in fetchResourceContent()
|
D | InspectorPageAgent.cpp | 264 cachedResource = memoryCache()->resourceForURL(url); in cachedResource()
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | Internals.cpp | 304 Resource* resource = memoryCache()->resourceForURL(contextDocument()->completeURL(url)); in isLoadingFromMemoryCache() 1592 result.append(memoryCache()->minDeadCapacity()); in setMemoryCacheCapacities() 1593 result.append(memoryCache()->maxDeadCapacity()); in setMemoryCacheCapacities() 1594 result.append(memoryCache()->capacity()); in setMemoryCacheCapacities() 1595 memoryCache()->setCapacities(minDeadBytes, maxDeadBytes, totalBytes); in setMemoryCacheCapacities() 1919 memoryCache()->evictResources(); in evictAllResources()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | DocumentLoader.cpp | 329 memoryCache()->remove(m_mainResource.get()); in finishedLoading() 510 memoryCache()->remove(m_mainResource.get()); in responseReceived()
|