Searched refs:fTotalBytesUsed (Results 1 – 2 of 2) sorted by relevance
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()[all …]
218 size_t getTotalBytesUsed() const { return fTotalBytesUsed; } in getTotalBytesUsed()266 size_t fTotalBytesUsed; variable