Lines Matching refs:fTotalBytesUsed
66 fTotalBytesUsed = 0; in init()
269 make_size_str(fTotalBytesUsed, &totalStr); in add()
280 SkASSERT(used <= fTotalBytesUsed); in remove()
285 fTotalBytesUsed -= used; in remove()
291 make_size_str(fTotalBytesUsed, &totalStr); in remove()
313 if (!forcePurge && fTotalBytesUsed < byteLimit && fCount < countLimit) { in purgeAsNeeded()
449 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
461 SkASSERT(0 == fTotalBytesUsed); in validate()
468 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
483 SkASSERT(used <= fTotalBytesUsed); in validate()
506 fCount, fTotalBytesUsed, fDiscardableFactory ? "discardable" : "malloc"); in dump()