Home
last modified time | relevance | path

Searched refs:bytesUsed (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/utils/
DSkPictureUtils.cpp18 byteCount += pict->fRecord->bytesUsed(); in ApproximateBytesUsed()
20 byteCount += pict->fBBH->bytesUsed(); in ApproximateBytesUsed()
/external/skia/src/core/
DSkResourceCache.cpp253 make_size_str(rec->bytesUsed(), &bytesStr); in add()
264 size_t used = rec->bytesUsed(); in remove()
422 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
441 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
455 used += rec->bytesUsed(); in validate()
465 SkASSERT(used >= rec->bytesUsed()); in validate()
466 used -= rec->bytesUsed(); in validate()
DSkBBoxHierarchy.h35 virtual size_t bytesUsed() const = 0;
DSkRecord.cpp24 size_t SkRecord::bytesUsed() const { in bytesUsed() function in SkRecord
DSkRTree.h46 size_t bytesUsed() const override;
DSkMaskCache.cpp55 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
146 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
DSkBitmapCache.cpp75 size_t bytesUsed() const override { return sizeof(fKey) + fBitmap.getSize(); } in bytesUsed() function
175 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() function
DSkYUVPlanesCache.cpp50 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
DSkResourceCache.h79 virtual size_t bytesUsed() const = 0;
DSkRecord.h112 size_t bytesUsed() const;
DSkRTree.cpp182 size_t SkRTree::bytesUsed() const { in bytesUsed() function in SkRTree
DSkPictureShader.cpp74 size_t bytesUsed() const override { in bytesUsed() function
/external/skia/src/gpu/
DGrBufferAllocPool.cpp221 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree; in putBack() local
222 if (bytes >= bytesUsed) { in putBack()
223 bytes -= bytesUsed; in putBack()
224 fBytesInUse -= bytesUsed; in putBack()
/external/skia/experimental/PdfViewer/
Dpdf_viewer_main.cpp169 page < 0 ? 0 : page, (unsigned int)renderer.bytesUsed()); in render_page()
191 SkDebugf("Memory usage after load: %u\n", (unsigned int) renderer->bytesUsed()); in process_pdf()
203 (unsigned int) benchRenderer->bytesUsed()); in process_pdf()
/external/skia/experimental/PdfViewer/inc/
DSkPdfRenderer.h56 size_t bytesUsed() const;
/external/skia/bench/
DImageCacheBench.cpp28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
/external/skia/experimental/PdfViewer/pdfparser/native/
DSkPdfNativeDoc.h120 size_t bytesUsed() const;
DSkPdfNativeTokenizer.h117 size_t bytesUsed() const { in bytesUsed() function
DSkPdfNativeDoc.cpp576 size_t SkPdfNativeDoc::bytesUsed() const { in bytesUsed() function in SkPdfNativeDoc
577 return fAllocator->bytesUsed() + in bytesUsed()
/external/skia/tests/
DImageCacheTest.cpp28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
DRecordDrawTest.cpp135 size_t bytesUsed() const override { return 0; } in bytesUsed() function
DPictureTest.cpp1249 virtual size_t bytesUsed() const override { return 0; } in bytesUsed() function
/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp2888 size_t SkPdfRenderer::bytesUsed() const { in bytesUsed() function in SkPdfRenderer
2890 return fPdfDoc->bytesUsed(); in bytesUsed()