Lines Matching refs:utf8Text
29 RunHandler(const char* utf8Text, size_t) : fUtf8Text(utf8Text) {} in RunHandler() argument
31 const char* utf8Text,
184 const char* utf8Text, in set_character_bounds() argument
236 int codePointCount = SkUTF::CountUTF8(utf8Text + textBegin, textCount); in set_character_bounds()
244 const char* ptr = utf8Text + textBegin; in set_character_bounds()
245 const char* end = utf8Text + textEnd; in set_character_bounds()
250 int firstIndex = ptr - utf8Text; in set_character_bounds()
259 ShapeResult SkPlainTextEditor::Shape(const char* utf8Text, in Shape() argument
266 if (SkUTF::CountUTF8(utf8Text, textByteLen) < 0) { in Shape()
267 utf8Text = nullptr; in Shape()
272 RunHandler runHandler(utf8Text, textByteLen); in Shape()
280 shaper->shape(utf8Text, textByteLen, font, true, width, &runHandler); in Shape()
291 result.wordBreaks = GetUtf8WordBoundaries(utf8Text, textByteLen, locale); in Shape()