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

/external/skia/src/core/
H A DSkDebug.cpp34 int32_t SkToS32(intmax_t x) { function
H A DSkMask.cpp30 size = safeMul32(SkToS32(size), 3);
H A DSkAntiRun.h103 return SkToS32(lastAlpha - fAlpha); // new offsetX
H A DSkMallocPixelRef.cpp70 rowBytes = SkToS32(requestedRowBytes);
H A DSkPictureFlat.h286 result->stampHeader(index, SkToS32(size));
518 scratch->stampHeader(index, SkToS32(dataSize));
H A DSkResourceCache.cpp42 fCount32 = SkToS32(kLocal32s + (length >> 2));
H A DSkPath.cpp518 int32_t num = SkToS32(pts - first);
542 testRects[0].set(first, SkToS32(last - first));
546 testRects[1].set(last, SkToS32(pts - last));
H A DSkRegion.cpp793 start[-1] = SkToS32(len >> 1);
/external/skia/src/codec/
H A DSkCodec_wbmp.cpp45 *size = SkISize::Make(SkToS32(width), SkToS32(height));
/external/skia/src/doc/
H A DSkDocument_PDF.cpp209 offsets.push(SkToS32(stream->bytesWritten() - baseOffset));
217 int32_t xRefFileOffset = SkToS32(stream->bytesWritten() - baseOffset);
220 int32_t objCount = SkToS32(offsets.count() + 1);
/external/skia/src/pipe/utils/
H A DSamplePipeControllers.cpp98 int32_t blockSize = SkMax32(SkToS32(minRequest), kMinBlockSize);
/external/skia/include/core/
H A DSkTypes.h249 SK_API int32_t SkToS32(intmax_t);
260 #define SkToS32(x) ((int32_t)(x)) macro
H A DSkString.h39 return SkToS32(first - &string[0]);
/external/skia/src/utils/debugger/
H A DSkObjectParser.cpp335 SkToS32(byteLength / 2),
338 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8);
/external/skia/src/gpu/gl/
H A DGrGLCreateNullInterface.cpp64 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]);
65 fBuffers[SkToS32(curr)] = NULL;
H A DSkNullGLContext.cpp62 intptr_t next = reinterpret_cast<intptr_t>(fBuffers[SkToS32(curr)]);
63 fBuffers[SkToS32(curr)] = NULL;
/external/skia/src/utils/
H A DSkPatchUtils.cpp205 data->fVertexCount = SkToS32(mult64);
/external/skia/tools/
H A Dbench_pictures_main.cpp258 type = SkToS32(tIndex);
/external/skia/tests/
H A DMathTest.cpp474 SkToS32(4*1024*1024);
475 SkToS32(-4*1024*1024);
/external/skia/src/pdf/
H A DSkPDFTypes.cpp423 this->insertInt(key, SkToS32(value));
/external/skia/src/gpu/
H A DSkGpuDevice.cpp412 SkToS32(count),
/external/skia/src/ports/
H A DSkFontHost_win.cpp1760 lf.lfHeight = -SkToS32(otm.otmEMSquare);

Completed in 346 milliseconds