Home
last modified time | relevance | path

Searched refs:SkToS32 (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/codec/
DSkWbmpCodec.cpp83 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
DSkJpegCodec.cpp1021 *size = {SkToS32(dinfo->image_width), SkToS32(dinfo->image_height)}; in SkGetJpegInfo()
/third_party/skia/src/pdf/
DSkPDFUnion.h32 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
DSkPDFTypes.cpp393 this->insertInt(key, SkToS32(value)); in insertInt()
/third_party/skia/include/private/
DSkTo.h22 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32() function
DSkFixed.h94 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
/third_party/skia/src/core/
DSkPicture.cpp278 int32_t size = SkToS32(custom->size()); in serialize()
307 int32_t size = SkToS32(custom->size()); in Flatten()
DSkMask.cpp34 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
DSkAntiRun.h107 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
DSkBitmap.cpp166 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin()
DSkWriteBuffer.cpp190 int32_t ssize = SkToS32(size); in writeTypeface()
DSkPath_serial.cpp86 buffer.write32(SkToS32(start)); in writeToMemoryAsRRect()
DSkResourceCache.cpp55 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in init()
DSkRegion_path.cpp149 fStorageCount = SkToS32(count); in init()
DSkRegion.cpp863 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan()
/third_party/skia/modules/skparagraph/src/
DTextLine.cpp1596 return { SkToS32(utf16Index) , kDownstream }; in shapeEllipsis()
1630 result = { SkToS32(utf16Index), kDownstream}; in shapeEllipsis()
1633 result = { SkToS32(utf16Index + 1), kUpstream}; in shapeEllipsis()
1645 result = {SkToS32(utf16Index), kUpstream}; in shapeEllipsis()
1647 result = {SkToS32(utf16Index), kDownstream}; in shapeEllipsis()
1694 result = { SkToS32(utf16Index), kDownstream }; in shapeEllipsis()
1697 result = { SkToS32(utf16Index), kUpstream }; in shapeEllipsis()
1702 result = { SkToS32(utf16Index), kDownstream }; in shapeEllipsis()
1707 result = { SkToS32(utf16Index), kUpstream }; in shapeEllipsis()
/third_party/skia/src/xml/
DSkXMLParser.cpp168 XML_Status status = XML_ParseBuffer(ctx.fXMLParser, SkToS32(len), done); in parse()
/third_party/skia/tests/
DMathTest.cpp435 SkToS32(4*1024*1024); in DEF_TEST()
436 SkToS32(-4*1024*1024); in DEF_TEST()
/third_party/skia/src/utils/
DSkPatchUtils.cpp257 int vertexCount = SkToS32(mult64); in MakeVertices()
/third_party/skia/modules/skunicode/src/
DSkUnicode_icu.cpp356 sk_u_strToUpper((UChar*)(upper16.get()), SkToS32(upper16.size()), in toUpper()
/third_party/skia/src/gpu/v1/
DDevice.cpp402 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, SkToS32(count), pts, nullptr, in drawPoints()
/third_party/skia/src/ports/
DSkFontHost_win.cpp1650 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedMetrics()