Lines Matching refs:utf8Bytes
20 void shape(const char* utf8, size_t utf8Bytes,
26 void shape(const char* utf8, size_t utf8Bytes,
117 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument
128 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape()
132 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument
139 int glyphCount = font.countText(utf8, utf8Bytes, SkTextEncoding::kUTF8); in shape()
145 font.textToGlyphs(utf8, utf8Bytes, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in shape()
152 while (0 < utf8Bytes) { in shape()
154 size_t bytesConsumed = linebreak(utf8, utf8 + utf8Bytes, font, width, in shape()
182 SkUTF::NextUTF8(&txtPtr, utf8 + utf8Bytes); in shape()
191 utf8Bytes -= bytesConsumed; in shape()