Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkWbmpCodec.cpp81 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
/external/skia/src/core/
DSkMask.cpp32 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
DSkAntiRun.h107 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
DSkMallocPixelRef.cpp75 rowBytes = SkToS32(requestedRowBytes); in MakeUsing()
DSkResourceCache.cpp45 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in DECLARE_SKMESSAGEBUS_MESSAGE()
DSkPath.cpp569 int32_t num = SkToS32(pts - first); in isRect()
593 testRects[0].set(first, SkToS32(last - first)); in isNestedFillRects()
597 testRects[1].set(last, SkToS32(pts - last)); in isNestedFillRects()
DSkRegion.cpp795 start[-1] = SkToS32(len >> 1); in addSpan()
/external/skia/include/private/
DSkFixed.h87 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
/external/skia/src/pdf/
DSkPDFDocument.cpp79 int32_t objCount = SkToS32(fOffsets.count() + 1); in serializeFooter()
106 return SkToS32(offset - fBaseOffset); in offset()
DSkPDFTypes.h85 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
DSkPDFTypes.cpp415 this->insertInt(key, SkToS32(value)); in insertInt()
/external/skia/tools/debugger/
DSkObjectParser.cpp374 SkToS32(byteLength / 2), in TextToString()
377 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); in TextToString()
/external/skia/src/xml/
DSkXMLParser.cpp164 XML_Status status = XML_ParseBuffer(ctx.fXMLParser, SkToS32(len), done); in parse()
/external/skia/src/gpu/gl/
DGrGLCreateNullInterface.cpp44 intptr_t next = reinterpret_cast<intptr_t>(fGLObjects[SkToS32(curr)]); in ~TGLObjectManager()
45 fGLObjects[SkToS32(curr)] = nullptr; in ~TGLObjectManager()
/external/skia/include/core/
DSkTypes.h219 #define SkToS32(x) SkTo<int32_t>(x) macro
/external/skia/src/fonts/
DSkTestScalerContext.cpp158 toUnicode[gid] = SkToS32(fTestFont->fCharCodes[gid]); in onGetAdvancedMetrics()
/external/skia/tests/
DMathTest.cpp521 SkToS32(4*1024*1024); in DEF_TEST()
522 SkToS32(-4*1024*1024); in DEF_TEST()
/external/skia/src/utils/
DSkPatchUtils.cpp307 int vertexCount = SkToS32(mult64); in MakeVertices()
/external/skia/src/gpu/
DSkGpuDevice.cpp364 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, SkToS32(count), pts, nullptr, in drawPoints()
/external/skia/src/ports/
DSkFontHost_win.cpp1751 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedMetrics()