Searched refs:bytesAllocated (Results 1 – 10 of 10) sorted by relevance
53 int bytesAllocated; member190 initialPage->bytesAllocated += (int)sizeof(deMemPool); in createPoolInternal()396 numAllocatedBytes += memPage->bytesAllocated; in deMemPool_getNumAllocatedBytes()462 void* curPagePtr = (void*)((deUint8*)(curPage + 1) + curPage->bytesAllocated); in deMemPool_allocInternal()466 if (numBytes + alignPadding > curPage->capacity - curPage->bytesAllocated) in deMemPool_allocInternal()479 DE_ASSERT(curPage->bytesAllocated == 0); in deMemPool_allocInternal()488 curPage->bytesAllocated += numBytes+alignPadding; in deMemPool_allocInternal()
102 m_freeableBytes = bytesAllocated(); in flush()180 EXPECT_EQ((size_t)5, layer->bytesAllocated()); in evictionTest()195 EXPECT_EQ((size_t)10, layer->bytesAllocated()); in hiddenCanvasTest()199 EXPECT_EQ((size_t)0, layer->bytesAllocated()); in hiddenCanvasTest()233 EXPECT_EQ((size_t)5, layer->bytesAllocated()); in flushEvictionTest()
182 freeMemoryIfPossible(bytesAllocated()); in freeTransientResources()188 return !m_destructionInProgress && (hasReleasedMailbox() || bytesAllocated()); in hasTransientResources()229 void Canvas2DLayerBridge::storageAllocatedForRecordingChanged(size_t bytesAllocated) in storageAllocatedForRecordingChanged() argument232 intptr_t delta = (intptr_t)bytesAllocated - (intptr_t)m_bytesAllocated; in storageAllocatedForRecordingChanged()233 m_bytesAllocated = bytesAllocated; in storageAllocatedForRecordingChanged()
84 size_t bytesAllocated() const { return m_bytesAllocated; } in bytesAllocated() function
191 size_t bytesAllocated() const { in bytesAllocated() function
616 size_t bytesAllocated = 0; in TestDeferredCanvasBitmapShaderNoLeak() local632 REPORTER_ASSERT(reporter, newBytesAllocated > bytesAllocated); in TestDeferredCanvasBitmapShaderNoLeak()633 bytesAllocated = newBytesAllocated; in TestDeferredCanvasBitmapShaderNoLeak()635 REPORTER_ASSERT(reporter, newBytesAllocated == bytesAllocated); in TestDeferredCanvasBitmapShaderNoLeak()
601 size_t bytesAllocated = 0; in TestDeferredCanvasBitmapShaderNoLeak() local618 REPORTER_ASSERT(reporter, newBytesAllocated > bytesAllocated); in TestDeferredCanvasBitmapShaderNoLeak()619 bytesAllocated = newBytesAllocated; in TestDeferredCanvasBitmapShaderNoLeak()621 REPORTER_ASSERT(reporter, newBytesAllocated == bytesAllocated); in TestDeferredCanvasBitmapShaderNoLeak()
228 return (NULL == fBitmapHeap) ? 0 : fBitmapHeap->bytesAllocated(); in storageAllocatedForRecording()
231 return (NULL == fBitmapHeap) ? 0 : fBitmapHeap->bytesAllocated(); in storageAllocatedForRecording()