Searched refs:SkToInt (Results 1 - 25 of 125) sorted by relevance

12345

/external/skia/gm/
H A Dpdf_never_embed.cpp17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
19 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
20 for (int i = 0; i < SkToInt(textLen); ++i) {
H A Dgetpostextpath.cpp26 int len = SkToInt(strlen(text));
H A Dglyph_pos_align.cpp44 int length = SkToInt(strlen(text));
/external/skqp/gm/
H A Dpdf_never_embed.cpp17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
19 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
20 for (int i = 0; i < SkToInt(textLen); ++i) {
H A Dgetpostextpath.cpp26 int len = SkToInt(strlen(text));
H A Dglyph_pos_align.cpp44 int length = SkToInt(strlen(text));
/external/skia/tests/
H A DSkBase64Test.cpp23 src[SkToInt(encodeLength)] = '\0';
H A DTime.cpp47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60);
H A DSVGDeviceTest.cpp50 int textLen = SkToInt(strlen(expected));
105 for (int i = 0; i < SkToInt(len); ++i) {
117 for (int i = 0; i < SkToInt(len); ++i) {
/external/skqp/tests/
H A DSkBase64Test.cpp23 src[SkToInt(encodeLength)] = '\0';
H A DTime.cpp47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60);
H A DSVGDeviceTest.cpp50 int textLen = SkToInt(strlen(expected));
105 for (int i = 0; i < SkToInt(len); ++i) {
117 for (int i = 0; i < SkToInt(len); ++i) {
/external/skia/src/effects/
H A DSkPackBits.cpp63 dst = flush_same8(dst, value, SkToInt(s - src));
74 dst = flush_diff8(dst, src, SkToInt(s - src));
107 return SkToInt(dst - origDst);
/external/skqp/src/effects/
H A DSkPackBits.cpp63 dst = flush_same8(dst, value, SkToInt(s - src));
74 dst = flush_diff8(dst, src, SkToInt(s - src));
107 return SkToInt(dst - origDst);
/external/skia/src/core/
H A DSkFont.cpp75 count = SkToInt(byteLength >> 2);
78 count = SkToInt(byteLength >> 1);
H A DSkRegionPriv.h37 return SkToInt((curr - runs) >> 1);
230 int runCount = SkToInt(runs - this->writable_runs() + 1);
H A DSkTime.cpp16 int timeZoneMinutes = SkToInt(fTimeZoneMinutes);
/external/skqp/src/core/
H A DSkFont.cpp75 count = SkToInt(byteLength >> 2);
78 count = SkToInt(byteLength >> 1);
H A DSkRegionPriv.h37 return SkToInt((curr - runs) >> 1);
230 int runCount = SkToInt(runs - this->writable_runs() + 1);
H A DSkTime.cpp16 int timeZoneMinutes = SkToInt(fTimeZoneMinutes);
/external/skia/tools/
H A Dskpinfo.cpp113 const int count = SkToInt(chunkSize);
/external/skqp/tools/
H A Dskpinfo.cpp113 const int count = SkToInt(chunkSize);
/external/skia/src/pdf/
H A DSkPDFConvertType1FontStream.cpp133 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1));
135 sourceBuffer[SkToInt(srcLen)] = 0;
203 uint8_t* const resultTrailer = &(buffer[SkToInt(*headerLen + outputOffset)]);
/external/skqp/src/pdf/
H A DSkPDFConvertType1FontStream.cpp133 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1));
135 sourceBuffer[SkToInt(srcLen)] = 0;
203 uint8_t* const resultTrailer = &(buffer[SkToInt(*headerLen + outputOffset)]);
/external/skia/include/private/
H A DSkTDArray.h233 return SkToInt(iter - fArray);
245 return SkToInt(iter - fArray);
257 return SkToInt(iter - stop);

Completed in 591 milliseconds

12345