/external/skia/gm/ |
pdf_never_embed.cpp | 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); 19 SkAutoTArray<SkPoint> pos(SkToInt(textLen)); 20 for (int i = 0; i < SkToInt(textLen); ++i) {
|
getpostextpath.cpp | 26 int len = SkToInt(strlen(text));
|
glyph_pos_align.cpp | 44 int length = SkToInt(strlen(text));
|
tallstretchedbitmaps.cpp | 72 int h = SkToInt((4 + i) * 1024);
|
dftext.cpp | 117 SkAutoTArray<SkPoint> pos(SkToInt(textLen)); 118 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
|
/external/skia/tests/ |
SkBase64Test.cpp | 23 src[SkToInt(encodeLength)] = '\0';
|
Time.cpp | 47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60);
|
SVGDeviceTest.cpp | 46 int textLen = SkToInt(strlen(expected)); 101 for (int i = 0; i < SkToInt(len); ++i) { 113 for (int i = 0; i < SkToInt(len); ++i) {
|
/external/skia/src/core/ |
SkRasterPipeline.cpp | 30 SkOpts::run_pipeline(x,n, fStages.data(), SkToInt(fStages.size())); 35 SkDebugf("SkRasterPipeline, %d stages\n", SkToInt(fStages.size()));
|
SkFont.cpp | 72 count = SkUTF16_CountUnichars((const uint16_t*)text, SkToInt(byteLength >> 1)); 75 count = SkToInt(byteLength >> 2); 78 count = SkToInt(byteLength >> 1);
|
SkRegionPriv.h | 37 return SkToInt((curr - runs) >> 1); 230 int runCount = SkToInt(runs - this->writable_runs() + 1);
|
SkTime.cpp | 16 int timeZoneMinutes = SkToInt(fTimeZoneMinutes);
|
/external/skia/src/effects/ |
SkPackBits.cpp | 63 dst = flush_same8(dst, value, SkToInt(s - src)); 74 dst = flush_diff8(dst, src, SkToInt(s - src)); 106 return SkToInt(dst - origDst);
|
/external/skia/tools/ |
SkShaper_harfbuzz.cpp | 108 paint, SkToInt(len), SkToInt(textBytes), SkString());
|
skpinfo.cpp | 134 const int count = SkToInt(chunkSize);
|
/external/skia/src/pdf/ |
SkPDFConvertType1FontStream.cpp | 133 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1)); 135 sourceBuffer[SkToInt(srcLen)] = 0; 203 uint8_t* const resultTrailer = &(buffer[SkToInt(*headerLen + outputOffset)]);
|
SkDeflate.cpp | 40 zStream->avail_in = SkToInt(inBufferSize);
|
/external/skia/include/private/ |
SkTDArray.h | 233 return SkToInt(iter - fArray); 245 return SkToInt(iter - fArray); 257 return SkToInt(iter - stop);
|
/external/skia/src/gpu/ |
GrProgramDesc.h | 62 fKey.reset(SkToInt(keyLength));
|
GrPathProcessor.cpp | 23 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective()));
|
/external/skia/tools/gpu/ |
GrTest.cpp | 192 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, 193 SkToInt(stats.fUnbudgetedSize), SkToInt(fHighWaterBytes));
|
/external/skia/include/gpu/ |
GrResourceKey.h | 62 fKey.reset(SkToInt(bytes / sizeof(uint32_t))); 287 return SkToInt((innerKey.dataSize() >> 2) + 1);
|
/external/skia/samplecode/ |
SampleHairline.cpp | 57 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { 62 SkToInt(rb >> 2))) {
|
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 240 const int width = SkToInt(CGImageGetWidth(image)); 241 const int height = SkToInt(CGImageGetHeight(image));
|
/external/skia/include/core/ |
SkString.h | 39 return SkToInt(first - &string[0]); 45 return SkToInt(last - &string[0]);
|