Searched refs:SkToInt (Results 51 - 75 of 125) sorted by relevance

12345

/external/skqp/src/utils/
H A DSkLuaCanvas.cpp60 this->pushArrayU16((const uint16_t*)text, SkToInt(length >> 1),
172 lua.pushArrayPoint(pts, SkToInt(count), "points");
/external/skia/src/core/
H A DSkString.cpp23 SkASSERT(written >= 0 && written < SkToInt(size)); \
504 SkASSERT(length >= 0 && length < SkToInt(kBufferSize));
520 SkASSERT(length >= 0 && length < SkToInt(kBufferSize));
H A DSkPictureData.cpp387 const int count = SkToInt(size);
503 const int count = SkToInt(size);
H A DSkLineClipper.cpp248 lineCount = SkToInt(r - result);
H A DSkUtils.cpp398 return SkToInt(byteLength >> 2);
/external/skqp/src/core/
H A DSkString.cpp32 SkASSERT(written >= 0 && written < SkToInt(size)); \
571 SkASSERT(length >= 0 && length < SkToInt(kBufferSize));
587 SkASSERT(length >= 0 && length < SkToInt(kBufferSize));
H A DSkPictureData.cpp387 const int count = SkToInt(size);
503 const int count = SkToInt(size);
H A DSkLineClipper.cpp248 lineCount = SkToInt(r - result);
H A DSkUtils.cpp398 return SkToInt(byteLength >> 2);
/external/skia/tests/
H A DPaintTest.cpp24 int n = SkToInt(SkUTF8_FromUnichar(src[i], u8));
33 int n = SkToInt(SkUTF16_FromUnichar(src[i], u16));
/external/skqp/tests/
H A DPaintTest.cpp24 int n = SkToInt(SkUTF8_FromUnichar(src[i], u8));
33 int n = SkToInt(SkUTF16_FromUnichar(src[i], u16));
/external/skia/gm/
H A Dimagefromyuvtextures.cpp104 SkASSERT(fYUVBmps[i].width() == SkToInt(fYUVBmps[i].rowBytes()));
/external/skia/src/pdf/
H A DSkPDFMakeCIDGlyphWidthsArray.cpp162 int num_glyphs = SkToInt(cache->getGlyphCount());
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp441 if (mask.fBounds.height() * ftVertScale < SkToInt(ftGlyph.bitmap.rows)) {
444 if (mask.fBounds.width() * ftHoriScale < SkToInt(ftGlyph.bitmap.width)) {
447 if (SkToInt(ftGlyph.bitmap.rows) < mask.fBounds.height() * ftVertScale) {
450 if (SkToInt(ftGlyph.bitmap.width) < mask.fBounds.width() * ftHoriScale) {
H A DSkFontHost_mac.cpp1412 glyphToUnicode->setCount(SkToInt(glyphCount));
1457 glyphToUnicode->setCount(SkToInt(glyphCount));
1962 int count = SkToInt(CFArrayGetCount(cfArray.get()));
2137 srcCount = SkToInt(utf16 - src);
2158 srcCount = SkToInt(utf16 - src);
2206 return SkToInt(CTFontGetGlyphCount(fFontRef.get()));
2244 fCount = SkToInt(CFArrayGetCount(fArray.get()));
2338 , fCount(fNames ? SkToInt(CFArrayGetCount(fNames.get())) : 0) {}
/external/skqp/gm/
H A Dimagefromyuvtextures.cpp104 SkASSERT(fYUVBmps[i].width() == SkToInt(fYUVBmps[i].rowBytes()));
/external/skqp/src/pdf/
H A DSkPDFMakeCIDGlyphWidthsArray.cpp162 int num_glyphs = SkToInt(cache->getGlyphCount());
H A DSkPDFMetadata.cpp22 int timeZoneMinutes = SkToInt(dt.fTimeZoneMinutes);
/external/skqp/src/ports/
H A DSkFontHost_FreeType_common.cpp441 if (mask.fBounds.height() * ftVertScale < SkToInt(ftGlyph.bitmap.rows)) {
444 if (mask.fBounds.width() * ftHoriScale < SkToInt(ftGlyph.bitmap.width)) {
447 if (SkToInt(ftGlyph.bitmap.rows) < mask.fBounds.height() * ftVertScale) {
450 if (SkToInt(ftGlyph.bitmap.width) < mask.fBounds.width() * ftHoriScale) {
H A DSkFontHost_mac.cpp1412 glyphToUnicode->setCount(SkToInt(glyphCount));
1457 glyphToUnicode->setCount(SkToInt(glyphCount));
1962 int count = SkToInt(CFArrayGetCount(cfArray.get()));
2137 srcCount = SkToInt(utf16 - src);
2158 srcCount = SkToInt(utf16 - src);
2206 return SkToInt(CTFontGetGlyphCount(fFontRef.get()));
2244 fCount = SkToInt(CFArrayGetCount(fArray.get()));
2338 , fCount(fNames ? SkToInt(CFArrayGetCount(fNames.get())) : 0) {}
/external/skia/include/core/
H A DSkTypes.h197 #define SkToInt(x) SkTo<int>(x) macro
/external/skia/src/xml/
H A DSkXMLWriter.cpp279 fParser.text(text, SkToInt(length));
/external/skia/tools/fonts/
H A DSkTestScalerContext.cpp128 SkASSERT(glyphCount == SkToInt(fTestFont->fCharCodesCount));
/external/skqp/include/core/
H A DSkTypes.h197 #define SkToInt(x) SkTo<int>(x) macro
/external/skqp/src/xml/
H A DSkXMLWriter.cpp279 fParser.text(text, SkToInt(length));

Completed in 433 milliseconds

12345