Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkResourceCache.cpp85 fTotalBytesUsed = 0; in init()
171 make_size_str(fTotalBytesUsed, &totalStr); in add()
183 SkASSERT(used <= fTotalBytesUsed); in remove()
188 fTotalBytesUsed -= used; in remove()
196 make_size_str(fTotalBytesUsed, &totalStr); in remove()
218 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
359 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
371 SkASSERT(0 == fTotalBytesUsed); in validate()
378 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
393 SkASSERT(used <= fTotalBytesUsed); in validate()
[all …]
DSkResourceCache.h224 size_t getTotalBytesUsed() const { return fTotalBytesUsed; } in getTotalBytesUsed()
269 size_t fTotalBytesUsed; variable