Searched refs:SkToInt (Results 26 - 50 of 125) sorted by relevance

12345

/external/skqp/include/private/
H A DSkTDArray.h233 return SkToInt(iter - fArray);
245 return SkToInt(iter - fArray);
257 return SkToInt(iter - stop);
/external/skia/gm/
H A Dscaledemoji.cpp109 int len = SkToInt(strlen(text));
H A Dtallstretchedbitmaps.cpp72 int h = SkToInt((4 + i) * 1024);
H A Ddftext.cpp117 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
118 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
/external/skia/src/pdf/
H A DSkDeflate.cpp41 zStream->avail_in = SkToInt(inBufferSize);
/external/skia/tools/gpu/
H A DGrTest.cpp231 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization,
232 SkToInt(stats.fUnbudgetedSize), SkToInt(fHighWaterBytes));
/external/skqp/gm/
H A Dtallstretchedbitmaps.cpp72 int h = SkToInt((4 + i) * 1024);
H A Ddftext.cpp117 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
118 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
/external/skqp/src/pdf/
H A DSkDeflate.cpp41 zStream->avail_in = SkToInt(inBufferSize);
/external/skqp/tools/gpu/
H A DGrTest.cpp217 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization,
218 SkToInt(stats.fUnbudgetedSize), SkToInt(fHighWaterBytes));
/external/skia/include/gpu/
H A DGrResourceKey.h62 fKey.reset(SkToInt(bytes / sizeof(uint32_t)));
285 return SkToInt((innerKey.dataSize() >> 2) + 1);
/external/skia/samplecode/
H A DSampleHairline.cpp58 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) {
63 SkToInt(rb >> 2))) {
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp238 const int width = SkToInt(CGImageGetWidth(image));
239 const int height = SkToInt(CGImageGetHeight(image));
/external/skqp/samplecode/
H A DSampleHairline.cpp58 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) {
63 SkToInt(rb >> 2))) {
/external/skqp/src/utils/mac/
H A DSkCreateCGImageRef.cpp238 const int width = SkToInt(CGImageGetWidth(image));
239 const int height = SkToInt(CGImageGetHeight(image));
/external/skia/src/gpu/
H A DGrPathProcessor.cpp23 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective()));
H A DGrProgramDesc.h62 fKey.reset(SkToInt(keyLength));
/external/skqp/src/gpu/
H A DGrPathProcessor.cpp23 b->add32(SkToInt(pathProc.viewMatrix().hasPerspective()));
H A DGrProgramDesc.h62 fKey.reset(SkToInt(keyLength));
/external/skia/include/core/
H A DSkString.h41 return SkToInt(first - &string[0]);
47 return SkToInt(last - &string[0]);
/external/skia/src/core/
H A DSkMetaData.cpp95 (void)this->set(name, value, sizeof(char), kString_Type, SkToInt(strlen(value) + 1));
109 (void)this->set(name, data, sizeof(char), kData_Type, SkToInt(byteCount));
/external/skia/src/utils/
H A DSkLuaCanvas.cpp60 this->pushArrayU16((const uint16_t*)text, SkToInt(length >> 1),
172 lua.pushArrayPoint(pts, SkToInt(count), "points");
/external/skqp/include/core/
H A DSkString.h41 return SkToInt(first - &string[0]);
47 return SkToInt(last - &string[0]);
/external/skqp/include/gpu/
H A DGrResourceKey.h62 fKey.reset(SkToInt(bytes / sizeof(uint32_t)));
287 return SkToInt((innerKey.dataSize() >> 2) + 1);
/external/skqp/src/core/
H A DSkMetaData.cpp95 (void)this->set(name, value, sizeof(char), kString_Type, SkToInt(strlen(value) + 1));
109 (void)this->set(name, data, sizeof(char), kData_Type, SkToInt(byteCount));

Completed in 475 milliseconds

12345