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