Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkWbmpCodec.cpp89 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
/external/skia/src/core/
DSkDebug.cpp34 int32_t SkToS32(intmax_t x) { in SkToS32() function
DSkMask.cpp30 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
DSkPictureFlat.h302 result->stampHeader(index, SkToS32(size)); in Create()
534 scratch->stampHeader(index, SkToS32(dataSize)); in resetScratch()
DSkAntiRun.h102 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
DSkMallocPixelRef.cpp70 rowBytes = SkToS32(requestedRowBytes); in NewUsing()
DSkResourceCache.cpp45 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in DECLARE_SKMESSAGEBUS_MESSAGE()
DSkPath.cpp561 int32_t num = SkToS32(pts - first); in isRect()
585 testRects[0].set(first, SkToS32(last - first)); in isNestedFillRects()
589 testRects[1].set(last, SkToS32(pts - last)); in isNestedFillRects()
DSkRegion.cpp793 start[-1] = SkToS32(len >> 1); in addSpan()
/external/skia/src/doc/
DSkDocument_PDF.cpp243 offsets.push(SkToS32(offset - baseOffset)); in emit_pdf_document()
251 int32_t xRefFileOffset = SkToS32(stream->bytesWritten() - baseOffset); in emit_pdf_document()
254 int32_t objCount = SkToS32(offsets.count() + 1); in emit_pdf_document()
/external/skia/include/core/
DSkString.h39 return SkToS32(first - &string[0]); in SkStrFind()
45 return SkToS32(last - &string[0]); in SkStrFindLastOf()
DSkFixed.h90 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)numer, 16) / denom), SK_MinS32, SK_MaxS32))
DSkTypes.h264 SK_API int32_t SkToS32(intmax_t);
274 #define SkToS32(x) ((int32_t)(x)) macro
/external/skia/tools/debugger/
DSkObjectParser.cpp373 SkToS32(byteLength / 2), in TextToString()
376 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); in TextToString()
/external/skia/src/pdf/
DSkPDFTypes.h82 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
DSkPDFTypes.cpp405 this->insertInt(key, SkToS32(value)); in insertInt()
/external/skia/src/gpu/gl/
DGrGLCreateNullInterface.cpp64 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager()
65 fBuffers[SkToS32(curr)] = nullptr; in ~BufferManager()
DSkNullGLContext.cpp62 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager()
63 fBuffers[SkToS32(curr)] = nullptr; in ~BufferManager()
/external/skia/tests/
DMathTest.cpp507 SkToS32(4*1024*1024); in DEF_TEST()
508 SkToS32(-4*1024*1024); in DEF_TEST()
/external/skia/src/utils/
DSkPatchUtils.cpp185 data->fVertexCount = SkToS32(mult64); in getVertexData()
/external/skia/src/gpu/
DSkGpuDevice.cpp443 SkToS32(count), in drawPoints()
/external/skia/src/ports/
DSkFontHost_win.cpp1757 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedTypefaceMetrics()