Searched refs:SkToS32 (Results 1 – 23 of 23) sorted by relevance
/external/skia/src/codec/ |
D | SkWbmpCodec.cpp | 91 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
|
D | SkJpegCodec.cpp | 1092 *size = {SkToS32(dinfo->image_width), SkToS32(dinfo->image_height)}; in SkGetJpegInfo()
|
/external/skia/src/pdf/ |
D | SkPDFUnion.h | 27 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
|
D | SkPDFTypes.cpp | 495 this->insertInt(key, SkToS32(value)); in insertInt()
|
/external/skia/include/private/base/ |
D | SkTo.h | 25 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))
|
/external/skia/src/core/ |
D | SkPicture.cpp | 292 int32_t size = SkToS32(custom->size()); in serialize() 321 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 | SkWriteBuffer.cpp | 210 int32_t ssize = SkToS32(size); in writeTypeface()
|
D | SkPath_serial.cpp | 87 buffer.write32(SkToS32(start)); in writeToMemoryAsRRect()
|
D | SkBitmap.cpp | 173 return {SkToS32((off % rb) >> this->shiftPerPixel()), SkToS32(off / rb)}; in pixelRefOrigin()
|
D | SkResourceCache.cpp | 55 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in init()
|
D | SkRegion_path.cpp | 149 fStorageCount = SkToS32(count); in init()
|
D | SkRegion.cpp | 866 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan()
|
/external/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 1298 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/ |
D | SkParse.cpp | 172 *value = SkToS32(sign*n); in FindS32()
|
D | SkPatchUtils.cpp | 276 int vertexCount = SkToS32(mult64); in MakeVertices()
|
/external/skia/src/xml/ |
D | SkXMLParser.cpp | 176 status = XML_ParseBuffer(ctx.fXMLParser, SkToS32(len), done); in parse()
|
/external/skia/tests/ |
D | MathTest.cpp | 538 SkToS32(4*1024*1024); in DEF_TEST() 539 SkToS32(-4*1024*1024); in DEF_TEST()
|
/external/skia/modules/skunicode/src/ |
D | SkUnicode_icu.cpp | 357 sk_u_strToUpper((UChar*)(upper16.get()), SkToS32(upper16.size()), in toUpper()
|
/external/skia/src/gpu/ganesh/ |
D | Device.cpp | 525 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, SkToS32(count), pts, nullptr, in drawPoints()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1663 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedMetrics()
|