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()183 EXPECT_EQ((size_t)5, layer->bytesAllocated()); in evictionTest()197 EXPECT_EQ((size_t)10, layer->bytesAllocated()); in hiddenCanvasTest()201 EXPECT_EQ((size_t)0, layer->bytesAllocated()); in hiddenCanvasTest()233 EXPECT_EQ((size_t)5, layer->bytesAllocated()); in flushEvictionTest()
175 freeMemoryIfPossible(bytesAllocated()); in freeTransientResources()181 return !m_destructionInProgress && (hasReleasedMailbox() || bytesAllocated()); in hasTransientResources()223 void Canvas2DLayerBridge::storageAllocatedForRecordingChanged(size_t bytesAllocated) in storageAllocatedForRecordingChanged() argument226 intptr_t delta = (intptr_t)bytesAllocated - (intptr_t)m_bytesAllocated; in storageAllocatedForRecordingChanged()227 m_bytesAllocated = bytesAllocated; in storageAllocatedForRecordingChanged()
86 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()
228 return (NULL == fBitmapHeap) ? 0 : fBitmapHeap->bytesAllocated(); in storageAllocatedForRecording()