Searched refs:SkToS32 (Results 1 – 22 of 22) sorted by relevance
/external/skia/src/codec/ |
D | SkCodec_wbmp.cpp | 45 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
|
/external/skia/src/doc/ |
D | SkDocument_PDF.cpp | 209 offsets.push(SkToS32(stream->bytesWritten() - baseOffset)); in emit_pdf_document() 217 int32_t xRefFileOffset = SkToS32(stream->bytesWritten() - baseOffset); in emit_pdf_document() 220 int32_t objCount = SkToS32(offsets.count() + 1); in emit_pdf_document()
|
/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 | 286 result->stampHeader(index, SkToS32(size)); in Create() 518 scratch->stampHeader(index, SkToS32(dataSize)); in resetScratch()
|
D | SkAntiRun.h | 103 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
|
D | SkMallocPixelRef.cpp | 70 rowBytes = SkToS32(requestedRowBytes); in NewAllocate()
|
D | SkResourceCache.cpp | 42 fCount32 = SkToS32(kLocal32s + (length >> 2)); in DECLARE_SKMESSAGEBUS_MESSAGE()
|
D | SkPath.cpp | 518 int32_t num = SkToS32(pts - first); in isRect() 542 testRects[0].set(first, SkToS32(last - first)); in isNestedFillRects() 546 testRects[1].set(last, SkToS32(pts - last)); in isNestedFillRects()
|
D | SkRegion.cpp | 793 start[-1] = SkToS32(len >> 1); in addSpan()
|
/external/skia/src/utils/debugger/ |
D | SkObjectParser.cpp | 335 SkToS32(byteLength / 2), in TextToString() 338 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); in TextToString()
|
/external/skia/src/pipe/utils/ |
D | SamplePipeControllers.cpp | 98 int32_t blockSize = SkMax32(SkToS32(minRequest), kMinBlockSize); in requestBlock()
|
/external/skia/include/core/ |
D | SkTypes.h | 249 SK_API int32_t SkToS32(intmax_t); 260 #define SkToS32(x) ((int32_t)(x)) macro
|
D | SkString.h | 39 return SkToS32(first - &string[0]); in SkStrFind()
|
/external/skia/src/gpu/gl/ |
D | SkNullGLContext.cpp | 62 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager() 63 fBuffers[SkToS32(curr)] = NULL; in ~BufferManager()
|
D | GrGLCreateNullInterface.cpp | 64 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager() 65 fBuffers[SkToS32(curr)] = NULL; in ~BufferManager()
|
/external/skia/tests/ |
D | MathTest.cpp | 474 SkToS32(4*1024*1024); in DEF_TEST() 475 SkToS32(-4*1024*1024); in DEF_TEST()
|
/external/skia/tools/ |
D | bench_pictures_main.cpp | 258 type = SkToS32(tIndex); in setup_benchmark()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 205 data->fVertexCount = SkToS32(mult64); in getVertexData()
|
/external/skia/src/pdf/ |
D | SkPDFTypes.cpp | 423 this->insertInt(key, SkToS32(value)); in insertInt()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 412 SkToS32(count), in drawPoints()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1760 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedTypefaceMetrics()
|