Searched refs:SkToInt (Results 51 - 75 of 125) sorted by relevance
12345
/external/skqp/src/utils/ |
H A D | SkLuaCanvas.cpp | 60 this->pushArrayU16((const uint16_t*)text, SkToInt(length >> 1), 172 lua.pushArrayPoint(pts, SkToInt(count), "points");
|
/external/skia/src/core/ |
H A D | SkString.cpp | 23 SkASSERT(written >= 0 && written < SkToInt(size)); \ 504 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); 520 SkASSERT(length >= 0 && length < SkToInt(kBufferSize));
|
H A D | SkPictureData.cpp | 387 const int count = SkToInt(size); 503 const int count = SkToInt(size);
|
H A D | SkLineClipper.cpp | 248 lineCount = SkToInt(r - result);
|
H A D | SkUtils.cpp | 398 return SkToInt(byteLength >> 2);
|
/external/skqp/src/core/ |
H A D | SkString.cpp | 32 SkASSERT(written >= 0 && written < SkToInt(size)); \ 571 SkASSERT(length >= 0 && length < SkToInt(kBufferSize)); 587 SkASSERT(length >= 0 && length < SkToInt(kBufferSize));
|
H A D | SkPictureData.cpp | 387 const int count = SkToInt(size); 503 const int count = SkToInt(size);
|
H A D | SkLineClipper.cpp | 248 lineCount = SkToInt(r - result);
|
H A D | SkUtils.cpp | 398 return SkToInt(byteLength >> 2);
|
/external/skia/tests/ |
H A D | PaintTest.cpp | 24 int n = SkToInt(SkUTF8_FromUnichar(src[i], u8)); 33 int n = SkToInt(SkUTF16_FromUnichar(src[i], u16));
|
/external/skqp/tests/ |
H A D | PaintTest.cpp | 24 int n = SkToInt(SkUTF8_FromUnichar(src[i], u8)); 33 int n = SkToInt(SkUTF16_FromUnichar(src[i], u16));
|
/external/skia/gm/ |
H A D | imagefromyuvtextures.cpp | 104 SkASSERT(fYUVBmps[i].width() == SkToInt(fYUVBmps[i].rowBytes()));
|
/external/skia/src/pdf/ |
H A D | SkPDFMakeCIDGlyphWidthsArray.cpp | 162 int num_glyphs = SkToInt(cache->getGlyphCount());
|
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 441 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 D | SkFontHost_mac.cpp | 1412 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 D | imagefromyuvtextures.cpp | 104 SkASSERT(fYUVBmps[i].width() == SkToInt(fYUVBmps[i].rowBytes()));
|
/external/skqp/src/pdf/ |
H A D | SkPDFMakeCIDGlyphWidthsArray.cpp | 162 int num_glyphs = SkToInt(cache->getGlyphCount());
|
H A D | SkPDFMetadata.cpp | 22 int timeZoneMinutes = SkToInt(dt.fTimeZoneMinutes);
|
/external/skqp/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 441 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 D | SkFontHost_mac.cpp | 1412 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 D | SkTypes.h | 197 #define SkToInt(x) SkTo<int>(x) macro
|
/external/skia/src/xml/ |
H A D | SkXMLWriter.cpp | 279 fParser.text(text, SkToInt(length));
|
/external/skia/tools/fonts/ |
H A D | SkTestScalerContext.cpp | 128 SkASSERT(glyphCount == SkToInt(fTestFont->fCharCodesCount));
|
/external/skqp/include/core/ |
H A D | SkTypes.h | 197 #define SkToInt(x) SkTo<int>(x) macro
|
/external/skqp/src/xml/ |
H A D | SkXMLWriter.cpp | 279 fParser.text(text, SkToInt(length));
|
Completed in 433 milliseconds
12345