Searched refs:SkToS32 (Results 1 – 22 of 22) sorted by relevance
/third_party/skia/src/codec/ |
D | SkWbmpCodec.cpp | 83 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
|
D | SkJpegCodec.cpp | 1021 *size = {SkToS32(dinfo->image_width), SkToS32(dinfo->image_height)}; in SkGetJpegInfo()
|
/third_party/skia/src/pdf/ |
D | SkPDFUnion.h | 32 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
|
D | SkPDFTypes.cpp | 393 this->insertInt(key, SkToS32(value)); in insertInt()
|
/third_party/skia/include/private/ |
D | SkTo.h | 22 template <typename S> constexpr int32_t SkToS32(S x) { return SkTo<int32_t>(x); } in SkToS32() function
|
D | SkFixed.h | 94 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/third_party/skia/src/core/ |
D | SkPicture.cpp | 278 int32_t size = SkToS32(custom->size()); in serialize() 307 int32_t size = SkToS32(custom->size()); in Flatten()
|
D | SkMask.cpp | 34 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
|
D | SkAntiRun.h | 107 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
|
D | SkBitmap.cpp | 166 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin()
|
D | SkWriteBuffer.cpp | 190 int32_t ssize = SkToS32(size); in writeTypeface()
|
D | SkPath_serial.cpp | 86 buffer.write32(SkToS32(start)); in writeToMemoryAsRRect()
|
D | SkResourceCache.cpp | 55 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in init()
|
D | SkRegion_path.cpp | 149 fStorageCount = SkToS32(count); in init()
|
D | SkRegion.cpp | 863 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan()
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 1596 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/ |
D | SkXMLParser.cpp | 168 XML_Status status = XML_ParseBuffer(ctx.fXMLParser, SkToS32(len), done); in parse()
|
/third_party/skia/tests/ |
D | MathTest.cpp | 435 SkToS32(4*1024*1024); in DEF_TEST() 436 SkToS32(-4*1024*1024); in DEF_TEST()
|
/third_party/skia/src/utils/ |
D | SkPatchUtils.cpp | 257 int vertexCount = SkToS32(mult64); in MakeVertices()
|
/third_party/skia/modules/skunicode/src/ |
D | SkUnicode_icu.cpp | 356 sk_u_strToUpper((UChar*)(upper16.get()), SkToS32(upper16.size()), in toUpper()
|
/third_party/skia/src/gpu/v1/ |
D | Device.cpp | 402 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, SkToS32(count), pts, nullptr, in drawPoints()
|
/third_party/skia/src/ports/ |
D | SkFontHost_win.cpp | 1650 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedMetrics()
|