Home
last modified time | relevance | path

Searched refs:SkToSizeT (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/utils/
DSkSHA1.h32 size_t bytesWritten() const override { return SkToSizeT(this->byteCount); } in bytesWritten()
DSkMD5.h32 size_t bytesWritten() const override { return SkToSizeT(this->byteCount); } in bytesWritten()
/external/skia/src/core/
DSkFlate.cpp28 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
DSkDebug.cpp54 size_t SkToSizeT(uintmax_t x) { in SkToSizeT() function
DSkRWBuffer.cpp331 (void)this->seek(SkToSizeT(offset)); in move()
DSkBitmap.cpp1243 SkAutoDataUnref data(SkData::NewUninitialized(SkToSizeT(ramSize))); in ReadRawPixels()
1245 buffer->readByteArray(dst, SkToSizeT(snugSize)); in ReadRawPixels()
/external/skia/src/pdf/
DSkJpegInfo.cpp90 if (SkToSizeT(segment.length()) < sizeof(kJfif) || in SkIsJFIF()
DSkPDFBitmap.cpp91 return SkToSizeT(bm.width()) * SkToSizeT(bm.height()); in pixel_count()
/external/skia/include/core/
DSkTypes.h253 SK_API size_t SkToSizeT(uintmax_t);
264 #define SkToSizeT(x) ((size_t)(x)) macro
/external/skia/tests/
DPDFPrimitivesTest.cpp293 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
316 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()