Searched refs:SkToS32 (Results 1 – 20 of 20) sorted by relevance
/external/skia/src/codec/ |
D | SkWbmpCodec.cpp | 81 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
|
/external/skia/src/core/ |
D | SkMask.cpp | 32 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
|
D | SkAntiRun.h | 107 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
|
D | SkMallocPixelRef.cpp | 75 rowBytes = SkToS32(requestedRowBytes); in MakeUsing()
|
D | SkResourceCache.cpp | 45 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in DECLARE_SKMESSAGEBUS_MESSAGE()
|
D | SkPath.cpp | 569 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()
|
D | SkRegion.cpp | 795 start[-1] = SkToS32(len >> 1); in addSpan()
|
/external/skia/include/private/ |
D | SkFixed.h | 87 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/external/skia/src/pdf/ |
D | SkPDFDocument.cpp | 79 int32_t objCount = SkToS32(fOffsets.count() + 1); in serializeFooter() 106 return SkToS32(offset - fBaseOffset); in offset()
|
D | SkPDFTypes.h | 85 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
|
D | SkPDFTypes.cpp | 415 this->insertInt(key, SkToS32(value)); in insertInt()
|
/external/skia/tools/debugger/ |
D | SkObjectParser.cpp | 374 SkToS32(byteLength / 2), in TextToString() 377 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); in TextToString()
|
/external/skia/src/xml/ |
D | SkXMLParser.cpp | 164 XML_Status status = XML_ParseBuffer(ctx.fXMLParser, SkToS32(len), done); in parse()
|
/external/skia/src/gpu/gl/ |
D | GrGLCreateNullInterface.cpp | 44 intptr_t next = reinterpret_cast<intptr_t>(fGLObjects[SkToS32(curr)]); in ~TGLObjectManager() 45 fGLObjects[SkToS32(curr)] = nullptr; in ~TGLObjectManager()
|
/external/skia/include/core/ |
D | SkTypes.h | 219 #define SkToS32(x) SkTo<int32_t>(x) macro
|
/external/skia/src/fonts/ |
D | SkTestScalerContext.cpp | 158 toUnicode[gid] = SkToS32(fTestFont->fCharCodes[gid]); in onGetAdvancedMetrics()
|
/external/skia/tests/ |
D | MathTest.cpp | 521 SkToS32(4*1024*1024); in DEF_TEST() 522 SkToS32(-4*1024*1024); in DEF_TEST()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 307 int vertexCount = SkToS32(mult64); in MakeVertices()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 364 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(kIgnoredMode, SkToS32(count), pts, nullptr, in drawPoints()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1751 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedMetrics()
|