Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkCodec_wbmp.cpp45 *size = SkISize::Make(SkToS32(width), SkToS32(height)); in read_header()
/external/skia/src/doc/
DSkDocument_PDF.cpp209 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/
DSkDebug.cpp34 int32_t SkToS32(intmax_t x) { in SkToS32() function
DSkMask.cpp30 size = safeMul32(SkToS32(size), 3); in computeTotalImageSize()
DSkPictureFlat.h286 result->stampHeader(index, SkToS32(size)); in Create()
518 scratch->stampHeader(index, SkToS32(dataSize)); in resetScratch()
DSkAntiRun.h103 return SkToS32(lastAlpha - fAlpha); // new offsetX in add()
DSkMallocPixelRef.cpp70 rowBytes = SkToS32(requestedRowBytes); in NewAllocate()
DSkResourceCache.cpp42 fCount32 = SkToS32(kLocal32s + (length >> 2)); in DECLARE_SKMESSAGEBUS_MESSAGE()
DSkPath.cpp518 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()
DSkRegion.cpp793 start[-1] = SkToS32(len >> 1); in addSpan()
/external/skia/src/utils/debugger/
DSkObjectParser.cpp335 SkToS32(byteLength / 2), in TextToString()
338 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8); in TextToString()
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp98 int32_t blockSize = SkMax32(SkToS32(minRequest), kMinBlockSize); in requestBlock()
/external/skia/include/core/
DSkTypes.h249 SK_API int32_t SkToS32(intmax_t);
260 #define SkToS32(x) ((int32_t)(x)) macro
DSkString.h39 return SkToS32(first - &string[0]); in SkStrFind()
/external/skia/src/gpu/gl/
DSkNullGLContext.cpp62 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager()
63 fBuffers[SkToS32(curr)] = NULL; in ~BufferManager()
DGrGLCreateNullInterface.cpp64 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]); in ~BufferManager()
65 fBuffers[SkToS32(curr)] = NULL; in ~BufferManager()
/external/skia/tests/
DMathTest.cpp474 SkToS32(4*1024*1024); in DEF_TEST()
475 SkToS32(-4*1024*1024); in DEF_TEST()
/external/skia/tools/
Dbench_pictures_main.cpp258 type = SkToS32(tIndex); in setup_benchmark()
/external/skia/src/utils/
DSkPatchUtils.cpp205 data->fVertexCount = SkToS32(mult64); in getVertexData()
/external/skia/src/pdf/
DSkPDFTypes.cpp423 this->insertInt(key, SkToS32(value)); in insertInt()
/external/skia/src/gpu/
DSkGpuDevice.cpp412 SkToS32(count), in drawPoints()
/external/skia/src/ports/
DSkFontHost_win.cpp1760 lf.lfHeight = -SkToS32(otm.otmEMSquare); in onGetAdvancedTypefaceMetrics()