Searched refs:SkToS32 (Results 1 – 22 of 22) sorted by relevance
/external/skia/src/codec/ |
D | SkWbmpCodec.cpp | 89 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
|
/external/skia/src/core/ |
D | SkDebug.cpp | 34 int32_t SkToS32(intmax_t x) { in SkToS32() function
|
D | SkMask.cpp | 30 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
|
D | SkPictureFlat.h | 302 result->stampHeader(index, SkToS32(size)); in Create() 534 scratch->stampHeader(index, SkToS32(dataSize)); in resetScratch()
|
D | SkAntiRun.h | 102 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
|
D | SkMallocPixelRef.cpp | 70 rowBytes = SkToS32(requestedRowBytes); in NewUsing()
|
D | SkResourceCache.cpp | 45 fCount32 = SkToS32(kLocal32s + (dataSize >> 2)); in DECLARE_SKMESSAGEBUS_MESSAGE()
|
D | SkPath.cpp | 561 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()
|
D | SkRegion.cpp | 793 start[-1] = SkToS32(len >> 1); in addSpan()
|
/external/skia/src/doc/ |
D | SkDocument_PDF.cpp | 243 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/ |
D | SkString.h | 39 return SkToS32(first - &string[0]); in SkStrFind() 45 return SkToS32(last - &string[0]); in SkStrFindLastOf()
|
D | SkFixed.h | 90 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)numer, 16) / denom), SK_MinS32, SK_MaxS32))
|
D | SkTypes.h | 264 SK_API int32_t SkToS32(intmax_t); 274 #define SkToS32(x) ((int32_t)(x)) macro
|
/external/skia/tools/debugger/ |
D | SkObjectParser.cpp | 373 SkToS32(byteLength / 2), in TextToString() 376 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); in TextToString()
|
/external/skia/src/pdf/ |
D | SkPDFTypes.h | 82 static SkPDFUnion Int(size_t v) { return SkPDFUnion::Int(SkToS32(v)); } in Int()
|
D | SkPDFTypes.cpp | 405 this->insertInt(key, SkToS32(value)); in insertInt()
|
/external/skia/src/gpu/gl/ |
D | GrGLCreateNullInterface.cpp | 64 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager() 65 fBuffers[SkToS32(curr)] = nullptr; in ~BufferManager()
|
D | SkNullGLContext.cpp | 62 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager() 63 fBuffers[SkToS32(curr)] = nullptr; in ~BufferManager()
|
/external/skia/tests/ |
D | MathTest.cpp | 507 SkToS32(4*1024*1024); in DEF_TEST() 508 SkToS32(-4*1024*1024); in DEF_TEST()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 185 data->fVertexCount = SkToS32(mult64); in getVertexData()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 443 SkToS32(count), in drawPoints()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1757 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedTypefaceMetrics()
|