Lines Matching refs:utf8Bytes
19 void shape(const char* utf8, size_t utf8Bytes,
25 void shape(const char* utf8, size_t utf8Bytes,
33 void shape(const char* utf8, size_t utf8Bytes,
125 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument
146 return this->shape(utf8, utf8Bytes, skfont, skbidi, width, handler); in shape()
149 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument
160 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape()
164 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument
171 int glyphCount = font.countText(utf8, utf8Bytes, SkTextEncoding::kUTF8); in shape()
177 font.textToGlyphs(utf8, utf8Bytes, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in shape()
184 while (0 < utf8Bytes) { in shape()
186 size_t bytesConsumed = linebreak(utf8, utf8 + utf8Bytes, font, width, in shape()
214 SkUTF::NextUTF8(&txtPtr, utf8 + utf8Bytes); in shape()
223 utf8Bytes -= bytesConsumed; in shape()