Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkWbmpCodec.cpp91 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
DSkJpegCodec.cpp1092 *size = {SkToS32(dinfo->image_width), SkToS32(dinfo->image_height)}; in SkGetJpegInfo()
/external/skia/src/pdf/
DSkPDFUnion.h27 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
DSkPDFTypes.cpp495 this->insertInt(key, SkToS32(value)); in insertInt()
/external/skia/include/private/base/
DSkTo.h25 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))
/external/skia/src/core/
DSkPicture.cpp292 int32_t size = SkToS32(custom->size()); in serialize()
321 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()
DSkWriteBuffer.cpp210 int32_t ssize = SkToS32(size); in writeTypeface()
DSkPath_serial.cpp87 buffer.write32(SkToS32(start)); in writeToMemoryAsRRect()
DSkBitmap.cpp173 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin()
DSkResourceCache.cpp55 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in init()
DSkRegion_path.cpp149 fStorageCount = SkToS32(count); in init()
DSkRegion.cpp866 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan()
/external/skia/modules/skparagraph/src/
DTextLine.cpp1298 return { SkToS32(utf16Index) , kDownstream }; in getGlyphPositionAtCoordinate()
1332 result = { SkToS32(utf16Index), kDownstream}; in getGlyphPositionAtCoordinate()
1335 result = { SkToS32(utf16Index + 1), kUpstream}; in getGlyphPositionAtCoordinate()
1347 result = {SkToS32(utf16Index), kUpstream}; in getGlyphPositionAtCoordinate()
1349 result = {SkToS32(utf16Index), kDownstream}; in getGlyphPositionAtCoordinate()
1382 result = { SkToS32(utf16Index), kDownstream }; in getGlyphPositionAtCoordinate()
1387 result = { SkToS32(utf16Index), kUpstream }; in getGlyphPositionAtCoordinate()
/external/skia/src/utils/
DSkParse.cpp172 *value = SkToS32(sign*n); in FindS32()
DSkPatchUtils.cpp276 int vertexCount = SkToS32(mult64); in MakeVertices()
/external/skia/src/xml/
DSkXMLParser.cpp176 status = XML_ParseBuffer(ctx.fXMLParser, SkToS32(len), done); in parse()
/external/skia/tests/
DMathTest.cpp538 SkToS32(4*1024*1024); in DEF_TEST()
539 SkToS32(-4*1024*1024); in DEF_TEST()
/external/skia/modules/skunicode/src/
DSkUnicode_icu.cpp357 sk_u_strToUpper((UChar*)(upper16.get()), SkToS32(upper16.size()), in toUpper()
/external/skia/src/gpu/ganesh/
DDevice.cpp525 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, SkToS32(count), pts, nullptr, in drawPoints()
/external/skia/src/ports/
DSkFontHost_win.cpp1663 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedMetrics()