Searched refs:bytesFreed (Results 1 – 2 of 2) sorted by relevance
600 size_t bytesFreed = 0; in internalPurge() local607 (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()609 bytesFreed += cache->fMemoryUsed; in internalPurge()622 (int)(bytesFreed >> 10), countFreed); in internalPurge()626 return bytesFreed; in internalPurge()
571 size_t bytesFreed = canvas->freeMemoryIfPossible(1); in TestDeferredCanvasBitmapCaching() local573 REPORTER_ASSERT(reporter, bytesFreed >= bitmapSize); in TestDeferredCanvasBitmapCaching()574 REPORTER_ASSERT(reporter, bytesFreed < 2*bitmapSize); in TestDeferredCanvasBitmapCaching()583 bytesFreed = canvas->freeMemoryIfPossible(~0U); in TestDeferredCanvasBitmapCaching()585 REPORTER_ASSERT(reporter, bytesFreed >= bitmapSize); in TestDeferredCanvasBitmapCaching()586 REPORTER_ASSERT(reporter, bytesFreed < 2*bitmapSize); in TestDeferredCanvasBitmapCaching()