Home
last modified time | relevance | path

Searched refs:bytesFreed (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkGlyphCache.cpp600 size_t bytesFreed = 0; in internalPurge() local
607 (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
609 bytesFreed += cache->fMemoryUsed; in internalPurge()
622 (int)(bytesFreed >> 10), countFreed); in internalPurge()
626 return bytesFreed; in internalPurge()
/external/skia/tests/
DDeferredCanvasTest.cpp571 size_t bytesFreed = canvas->freeMemoryIfPossible(1); in TestDeferredCanvasBitmapCaching() local
573 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()