Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkResourceCache.cpp170 make_size_str(rec->bytesUsed(), &bytesStr); in add()
182 size_t used = rec->bytesUsed(); in remove()
359 fTotalBytesUsed += rec->bytesUsed(); in addToHead()
378 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
392 used += rec->bytesUsed(); in validate()
402 SkASSERT(used >= rec->bytesUsed()); in validate()
403 used -= rec->bytesUsed(); in validate()
585 rec.getCategory(), rec.bytesUsed(), rec.diagnostic_only_getDiscardable()); in dump_visitor()
601 dump->dumpNumericValue(dumpName.c_str(), "discardable_size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
603 dump->dumpNumericValue(dumpName.c_str(), "size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
DSkBigPicture.cpp80 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed()
81 if (fBBH) { bytes += fBBH->bytesUsed(); } in approximateBytesUsed()
DSkMaskCache.cpp53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
144 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
DSkRecord.cpp25 size_t SkRecord::bytesUsed() const { in bytesUsed() function in SkRecord
DSkRTree.h36 size_t bytesUsed() const override;
DSkBitmapCache.cpp90 size_t bytesUsed() const override { in bytesUsed() function in SkBitmapCache::Rec
245 size_t bytesUsed() const override { return sizeof(fKey) + fMipMap->size(); } in bytesUsed() function
DSkYUVPlanesCache.cpp53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
DSkRecord.h90 size_t bytesUsed() const;
DSkResourceCache.h83 virtual size_t bytesUsed() const = 0;
DSkRTree.cpp166 size_t SkRTree::bytesUsed() const { in bytesUsed() function in SkRTree
/third_party/skia/src/gpu/
DGrBufferAllocPool.cpp291 size_t bytesUsed = block.fBuffer->size() - block.fBytesFree; in putBack() local
292 if (bytes >= bytesUsed) { in putBack()
293 bytes -= bytesUsed; in putBack()
294 fBytesInUse -= bytesUsed; in putBack()
/third_party/skia/tests/
DPromiseImageTest.cpp322 size_t bytesUsed; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
324 dContext->getResourceCacheUsage(nullptr, &bytesUsed); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
325 REPORTER_ASSERT(reporter, bytesUsed > kMaxBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageCacheTest.cpp28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
DSkResourceCacheTest.cpp234 size_t bytesUsed() const override { return 1024; /* just need a value */ } in bytesUsed() function
DPictureTest.cpp619 size_t bytesUsed() const override { return 0; } in bytesUsed() function
/third_party/skia/include/core/
DSkBBHFactory.h36 virtual size_t bytesUsed() const = 0;
/third_party/skia/bench/
DImageCacheBench.cpp28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
/third_party/protobuf/csharp/src/Google.Protobuf/
DWritingPrimitives.cs188 int bytesUsed; in WriteString()
194bytesUsed = Utf8Encoding.GetBytes(sourceChars, source.Length, destinationBytes, buffer.Length); in WriteString()
197 state.position += bytesUsed; in WriteString()
/third_party/skia/src/ports/
DSkFontMgr_FontConfigInterface.cpp111 size_t bytesUsed() const override { return fRequest->size() + sizeof(fFace); } in bytesUsed() function
/third_party/skia/src/shaders/
DSkPictureShader.cpp91 size_t bytesUsed() const override { in bytesUsed() function
/third_party/skia/src/utils/
DSkShadowUtils.cpp330 size_t bytesUsed() const override { return fTessellations->size(); } in bytesUsed() function in __anonf3f9a3f70111::CachedTessellationsRec