Lines Matching refs:numGlyphs
132 int numGlyphs = paint.textToGlyphs(text, len, nullptr); in force_glyph_encoding() local
133 storage->reset(numGlyphs); in force_glyph_encoding()
136 return numGlyphs; in force_glyph_encoding()
141 int numGlyphs = SkToInt(len / 2); in force_glyph_encoding() local
146 for (validated = 0; validated < numGlyphs; ++validated) { in force_glyph_encoding()
151 if (validated >= numGlyphs) { in force_glyph_encoding()
153 return numGlyphs; in force_glyph_encoding()
157 storage->reset(numGlyphs); in force_glyph_encoding()
162 for (int i = validated; i < numGlyphs; ++i) { in force_glyph_encoding()
169 return numGlyphs; in force_glyph_encoding()
1302 int numGlyphs = force_glyph_encoding(paint, text, len, &storage, &glyphIDs); in drawText() local
1306 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y); in drawText()
1312 SkTDArray<uint16_t> glyphIDsCopy(glyphIDs, numGlyphs); in drawText()
1314 while (numGlyphs > consumedGlyphCount) { in drawText()
1320 numGlyphs - consumedGlyphCount); in drawText()
1378 size_t numGlyphs = force_glyph_encoding(paint, text, len, &storage, &glyphIDs); in drawPosText() local
1384 for (size_t i = 0; i < numGlyphs; i++) { in drawPosText()