/third_party/flutter/skia/src/core/ |
D | SkResourceCache.cpp | 168 make_size_str(rec->bytesUsed(), &bytesStr); in add() 180 size_t used = rec->bytesUsed(); in remove() 357 fTotalBytesUsed += rec->bytesUsed(); in addToHead() 376 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate() 390 used += rec->bytesUsed(); in validate() 400 SkASSERT(used >= rec->bytesUsed()); in validate() 401 used -= rec->bytesUsed(); in validate() 578 rec.getCategory(), rec.bytesUsed(), rec.diagnostic_only_getDiscardable()); in dump_visitor() 594 dump->dumpNumericValue(dumpName.c_str(), "discardable_size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor() 596 dump->dumpNumericValue(dumpName.c_str(), "size", "bytes", rec.bytesUsed()); in sk_trace_dump_visitor()
|
D | SkBigPicture.cpp | 63 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed() 64 if (fBBH) { bytes += fBBH->bytesUsed(); } in approximateBytesUsed()
|
D | SkBBoxHierarchy.h | 34 virtual size_t bytesUsed() const = 0;
|
D | SkRecord.cpp | 25 size_t SkRecord::bytesUsed() const { in bytesUsed() function in SkRecord
|
D | SkRTree.h | 38 size_t bytesUsed() const override;
|
D | SkMaskCache.cpp | 53 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
|
D | SkBitmapCache.cpp | 90 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
|
D | SkYUVPlanesCache.cpp | 50 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
|
D | SkResourceCache.h | 83 virtual size_t bytesUsed() const = 0;
|
/third_party/skia/src/core/ |
D | SkResourceCache.cpp | 170 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()
|
D | SkBigPicture.cpp | 80 size_t bytes = sizeof(*this) + fRecord->bytesUsed() + fApproxBytesUsedBySubPictures; in approximateBytesUsed() 81 if (fBBH) { bytes += fBBH->bytesUsed(); } in approximateBytesUsed()
|
D | SkRecord.cpp | 25 size_t SkRecord::bytesUsed() const { in bytesUsed() function in SkRecord
|
D | SkRTree.h | 36 size_t bytesUsed() const override;
|
D | SkMaskCache.cpp | 53 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
|
D | SkBitmapCache.cpp | 90 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
|
D | SkYUVPlanesCache.cpp | 53 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed() function
|
D | SkResourceCache.h | 83 virtual size_t bytesUsed() const = 0;
|
D | SkRecord.h | 90 size_t bytesUsed() const;
|
/third_party/skia/include/core/ |
D | SkBBHFactory.h | 36 virtual size_t bytesUsed() const = 0;
|
/third_party/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 291 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/flutter/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 305 size_t bytesUsed = block.fBuffer->size() - block.fBytesFree; in putBack() local 306 if (bytes >= bytesUsed) { in putBack() 307 bytes -= bytesUsed; in putBack() 308 fBytesInUse -= bytesUsed; in putBack()
|
/third_party/skia/bench/ |
D | ImageCacheBench.cpp | 28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
|
/third_party/flutter/skia/bench/ |
D | ImageCacheBench.cpp | 28 size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } in bytesUsed() function
|
/third_party/skia/tests/ |
D | PromiseImageTest.cpp | 322 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()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | WritingPrimitives.cs | 188 int bytesUsed; in WriteString() 194 … bytesUsed = Utf8Encoding.GetBytes(sourceChars, source.Length, destinationBytes, buffer.Length); in WriteString() 197 state.position += bytesUsed; in WriteString()
|