Searched refs:memoryUsageInBytes (Results 1 – 5 of 5) sorted by relevance
125 size_t memoryUsageInBytes = ImageDecodingStore::instance()->memoryUsageInBytes(); in evictOneCache() local126 if (memoryUsageInBytes) in evictOneCache()127 ImageDecodingStore::instance()->setCacheLimitInBytes(memoryUsageInBytes - 1); in evictOneCache()264 EXPECT_EQ(4u, ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()286 EXPECT_EQ(56u, ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()290 EXPECT_EQ(52u, ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()294 EXPECT_EQ(36u, ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()298 EXPECT_FALSE(ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()321 EXPECT_EQ(16u, ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()326 EXPECT_FALSE(ImageDecodingStore::instance()->memoryUsageInBytes()); in TEST_F()[all …]
129 size_t memoryUsageInBytes();180 virtual size_t memoryUsageInBytes() const = 0;208 …virtual size_t memoryUsageInBytes() const OVERRIDE { return cachedImage()->bitmap().getSafeSize();… in memoryUsageInBytes() function237 …virtual size_t memoryUsageInBytes() const OVERRIDE { return m_size.width() * m_size.height() * 4; } in memoryUsageInBytes() function
267 size_t ImageDecodingStore::memoryUsageInBytes() in memoryUsageInBytes() function in WebCore::ImageDecodingStore343 const size_t cacheEntryBytes = cacheEntry->memoryUsageInBytes(); in insertCacheInternal()367 const size_t cacheEntryBytes = cacheEntry->memoryUsageInBytes(); in removeFromCacheInternal()
51 size_t WebImageCache::memoryUsageInBytes() in memoryUsageInBytes() function in blink::WebImageCache53 return ImageDecodingStore::instance()->memoryUsageInBytes(); in memoryUsageInBytes()
55 BLINK_EXPORT static size_t memoryUsageInBytes();