Lines Matching refs:fTotalBytesUsed
75 fTotalBytesUsed = 0; in init()
159 make_size_str(fTotalBytesUsed, &totalStr); in add()
171 SkASSERT(used <= fTotalBytesUsed); in remove()
176 fTotalBytesUsed -= used; in remove()
184 make_size_str(fTotalBytesUsed, &totalStr); in remove()
206 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
347 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
359 SkASSERT(0 == fTotalBytesUsed); in validate()
366 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
381 SkASSERT(used <= fTotalBytesUsed); in validate()
404 fCount, fTotalBytesUsed, fDiscardableFactory ? "discardable" : "malloc"); in dump()