Searched refs:SkToSizeT (Results 1 – 10 of 10) sorted by relevance
32 size_t bytesWritten() const override { return SkToSizeT(this->byteCount); } in bytesWritten()
28 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size)); in skia_alloc_func()
54 size_t SkToSizeT(uintmax_t x) { in SkToSizeT() function
331 (void)this->seek(SkToSizeT(offset)); in move()
1243 SkAutoDataUnref data(SkData::NewUninitialized(SkToSizeT(ramSize))); in ReadRawPixels()1245 buffer->readByteArray(dst, SkToSizeT(snugSize)); in ReadRawPixels()
90 if (SkToSizeT(segment.length()) < sizeof(kJfif) || in SkIsJFIF()
91 return SkToSizeT(bm.width()) * SkToSizeT(bm.height()); in pixel_count()
253 SK_API size_t SkToSizeT(uintmax_t);264 #define SkToSizeT(x) ((size_t)(x)) macro
293 dict->insertInt("n1", SkToSizeT(42)); in TestPDFDict()316 dict->insertInt("n2", SkToSizeT(99)); in TestPDFDict()