Home
last modified time | relevance | path

Searched refs:m_liveSize (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DMemoryCache.cpp78 , m_liveSize(0) in MemoryCache()
151 size_t capacity = m_capacity - min(m_liveSize, m_capacity); // Start with available capacity. in deadCapacity()
167 if (!m_liveSize || (capacity && m_liveSize <= capacity)) in pruneLiveResources()
199 if (targetSize && m_liveSize <= targetSize) in pruneLiveResources()
480 m_liveSize += resource->size(); in addToLiveResourcesSize()
486 ASSERT(m_liveSize >= resource->size()); in removeFromLiveResourcesSize()
487 m_liveSize -= resource->size(); in removeFromLiveResourcesSize()
494 ASSERT(delta >= 0 || m_liveSize >= static_cast<size_t>(-delta) ); in adjustSize()
495 m_liveSize += delta; in adjustSize()
579 …if (m_liveSize + m_deadSize <= m_capacity && m_maxDeadCapacity && m_deadSize <= m_maxDeadCapacity)… in prune()
DMemoryCache.h152 size_t liveSize() const { return m_liveSize; } in liveSize()
194 size_t m_liveSize; // The number of bytes currently consumed by "live" resources in the cache. variable