Searched refs:SkToSizeT (Results 1 – 13 of 13) sorted by relevance
/external/skia/src/core/ |
D | SkVertices.cpp | 34 fTotal = SkToSizeT(total); in Sizes() 35 fVSize = SkToSizeT(vSize); in Sizes() 36 fTSize = SkToSizeT(tSize); in Sizes() 37 fCSize = SkToSizeT(cSize); in Sizes() 38 fISize = SkToSizeT(iSize); in Sizes()
|
D | SkMD5.h | 22 size_t bytesWritten() const final { return SkToSizeT(this->byteCount); } in bytesWritten()
|
D | SkRWBuffer.cpp | 340 (void)this->seek(SkToSizeT(offset)); in move()
|
D | SkBitmap.cpp | 1005 sk_sp<SkData> data(SkData::MakeUninitialized(SkToSizeT(ramSize))); in ReadRawPixels() 1007 buffer->readByteArray(dst, SkToSizeT(snugSize)); in ReadRawPixels()
|
/external/skia/src/pdf/ |
D | SkDeflate.cpp | 21 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
|
D | SkJpegInfo.cpp | 90 if (SkToSizeT(segment.length()) < sizeof(kJfif) || in SkIsJFIF()
|
D | SkPDFBitmap.cpp | 144 return SkToSizeT(bm.width()) * SkToSizeT(bm.height()); in pixel_count()
|
D | SkPDFDevice.cpp | 1164 storage->fGlyphStorage.reset(SkToSizeT(glyphCount)); in make_clusterator() 1166 storage->fClusterStorage.reset(SkToSizeT(glyphCount)); in make_clusterator() 1208 storage->fUtf8textStorage.reset(SkToSizeT(utf8ByteCount)); in make_clusterator()
|
/external/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 22 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
|
D | Float16Test.cpp | 46 REPORTER_ASSERT(reporter, pm.getSafeSize() == SkToSizeT(w * h * sizeof(uint64_t))); in DEF_TEST()
|
D | PDFPrimitivesTest.cpp | 283 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict() 306 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()
|
/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 1130 int glyphCount = paint.countText(text.begin(), SkToSizeT(text.count())); in make_fuzz_textblob() 1141 memcpy(buffer->glyphs, text.begin(), SkToSizeT(text.count())); in make_fuzz_textblob() 1147 memcpy(buffer->glyphs, text.begin(), SkToSizeT(text.count())); in make_fuzz_textblob() 1153 memcpy(buffer->glyphs, text.begin(), SkToSizeT(text.count())); in make_fuzz_textblob() 1599 canvas->drawText(text.begin(), SkToSizeT(text.count()), x, y, paint); in fuzz_canvas() 1607 int glyphCount = paint.countText(text.begin(), SkToSizeT(text.count())); in fuzz_canvas() 1613 paint.getTextWidths(text.begin(), SkToSizeT(text.count()), widths.get()); in fuzz_canvas() 1620 canvas->drawPosText(text.begin(), SkToSizeT(text.count()), pos.get(), paint); in fuzz_canvas() 1628 int glyphCount = paint.countText(text.begin(), SkToSizeT(text.count())); in fuzz_canvas() 1633 paint.getTextWidths(text.begin(), SkToSizeT(text.count()), widths.get()); in fuzz_canvas() [all …]
|
/external/skia/include/core/ |
D | SkTypes.h | 223 #define SkToSizeT(x) SkTo<size_t>(x) macro
|