Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkDeflate.cpp25 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
DSkJpegInfo.cpp90 if (SkToSizeT(segment.length()) < sizeof(kJfif) || in SkIsJFIF()
DSkPDFBitmap.cpp144 return SkToSizeT(bm.width()) * SkToSizeT(bm.height()); in pixel_count()
/external/skia/tests/
DPDFDeflateWStreamTest.cpp23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
DFloat16Test.cpp43 REPORTER_ASSERT(reporter, pm.getSafeSize() == SkToSizeT(w * h * sizeof(uint64_t))); in DEF_TEST()
DPDFPrimitivesTest.cpp295 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()
318 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()
/external/skia/src/utils/
DSkMD5.h32 size_t bytesWritten() const override { return SkToSizeT(this->byteCount); } in bytesWritten()
/external/skia/src/core/
DSkDebug.cpp54 size_t SkToSizeT(uintmax_t x) { in SkToSizeT() function
DSkRWBuffer.cpp332 (void)this->seek(SkToSizeT(offset)); in move()
DSkBitmap.cpp1166 SkAutoDataUnref data(SkData::NewUninitialized(SkToSizeT(ramSize))); in ReadRawPixels()
1168 buffer->readByteArray(dst, SkToSizeT(snugSize)); in ReadRawPixels()
/external/skia/platform_tools/android/apps/canvasproof/src/main/jni/
DJavaInputStream.cpp48 size_t length = SkTMin(SkToSizeT(fEndIndex - fStartIndex), size); in read()
/external/skia/include/core/
DSkTypes.h268 SK_API size_t SkToSizeT(uintmax_t);
278 #define SkToSizeT(x) ((size_t)(x)) macro