Searched refs:m_deadSize (Results 1 – 2 of 2) sorted by relevance
79 , m_deadSize(0) in MemoryCache()210 if (!m_deadSize || (capacity && m_deadSize <= capacity)) in pruneDeadResources()230 if (targetSize && m_deadSize <= targetSize) in pruneDeadResources()249 if (targetSize && m_deadSize <= targetSize) in pruneDeadResources()266 if (targetSize && m_deadSize <= targetSize) in pruneDeadResources()479 ASSERT(m_deadSize >= resource->size()); in addToLiveResourcesSize()481 m_deadSize -= resource->size(); in addToLiveResourcesSize()488 m_deadSize += resource->size(); in removeFromLiveResourcesSize()497 ASSERT(delta >= 0 || m_deadSize >= static_cast<size_t>(-delta) ); in adjustSize()498 m_deadSize += delta; in adjustSize()[all …]
153 size_t deadSize() const { return m_deadSize; } in deadSize()195 size_t m_deadSize; // The number of bytes currently consumed by "dead" resources in the cache. variable