Searched refs:countNeeded (Results 1 – 1 of 1) sorted by relevance
588 int countNeeded = 0; in internalPurge() local590 countNeeded = fCacheCount - fCacheCountLimit; in internalPurge()592 countNeeded = SkMax32(countNeeded, fCacheCount >> 2); in internalPurge()596 if (!countNeeded && !bytesNeeded) { in internalPurge()607 (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()