• Home
  • Raw
  • Download

Lines Matching refs:sourceByteCount

1216         size_t sourceByteCount,  in make_clusterator()  argument
1221 SkASSERT(glyphCount == paint.textToGlyphs(sourceText, sourceByteCount, nullptr)); in make_clusterator()
1224 (void)paint.textToGlyphs(sourceText, sourceByteCount, storage->fGlyphStorage.get()); in make_clusterator()
1235 SkASSERT(txtPtr <= (const char*)sourceText + sourceByteCount); in make_clusterator()
1237 SkASSERT(txtPtr == (const char*)sourceText + sourceByteCount); in make_clusterator()
1238 utf8ByteCount = SkToU32(sourceByteCount); in make_clusterator()
1244 int utf16count = SkToInt(sourceByteCount / sizeof(uint16_t)); in make_clusterator()
1262 int utf32count = SkToInt(sourceByteCount / sizeof(SkUnichar)); in make_clusterator()
1297 static SkPath draw_text_as_path(const void* sourceText, size_t sourceByteCount, in draw_text_as_path() argument
1305 srcPaint.getTextPath(sourceText, sourceByteCount, offset.x(), offset.y(), &path); in draw_text_as_path()
1308 glyphCount = srcPaint.countText(sourceText, sourceByteCount); in draw_text_as_path()
1313 srcPaint.getPosTextPath(sourceText, sourceByteCount, tmpPoints.get(), &path); in draw_text_as_path()
1316 srcPaint.getPosTextPath(sourceText, sourceByteCount, (const SkPoint*)pos, &path); in draw_text_as_path()
1388 const void* sourceText, size_t sourceByteCount, in internalDrawText() argument
1392 if (0 == sourceByteCount || !sourceText) { in internalDrawText()
1409 SkPath path = draw_text_as_path(sourceText, sourceByteCount, pos, in internalDrawText()
1431 int glyphCount = paint.textToGlyphs(sourceText, sourceByteCount, nullptr); in internalDrawText()
1442 SkASSERT(glyphCount == SkToInt(sourceByteCount / sizeof(SkGlyphID))); in internalDrawText()
1448 SkASSERT(glyphCount == paint.textToGlyphs(sourceText, sourceByteCount, nullptr)); in internalDrawText()
1450 SkASSERT(glyphCount == SkToInt(sourceByteCount / sizeof(SkGlyphID))); in internalDrawText()
1453 SkASSERT(glyphCount == paint.textToGlyphs(sourceText, sourceByteCount, nullptr)); in internalDrawText()
1459 clusterator = make_clusterator(sourceText, sourceByteCount, srcPaint, in internalDrawText()