Lines Matching refs:utf8Bytes

384     SkUnicodeHbScriptRunIterator(SkUnicodeScript script, const char* utf8, size_t utf8Bytes)  in SkUnicodeHbScriptRunIterator()  argument
386 , fCurrent(utf8), fBegin(utf8), fEnd(fCurrent + utf8Bytes) in SkUnicodeHbScriptRunIterator()
655 ShapedRun shape(const char* utf8, size_t utf8Bytes,
668 void shape(const char* utf8, size_t utf8Bytes,
691 virtual void wrap(char const * const utf8, size_t utf8Bytes,
706 void wrap(char const * const utf8, size_t utf8Bytes,
721 void wrap(char const * const utf8, size_t utf8Bytes,
736 void wrap(char const * const utf8, size_t utf8Bytes,
786 void ShaperHarfBuzz::shape(const char* utf8, size_t utf8Bytes, in shape() argument
795 utf8Bytes, in shape()
802 std::unique_ptr<LanguageRunIterator> language(MakeStdLanguageRunIterator(utf8, utf8Bytes)); in shape()
809 utf8Bytes)); in shape()
815 MakeFontMgrRunIterator(utf8, utf8Bytes, srcFont, in shape()
821 this->shape(utf8, utf8Bytes, *font, *bidi, *script, *language, width, handler); in shape()
824 void ShaperHarfBuzz::shape(const char* utf8, size_t utf8Bytes, in shape() argument
832 this->shape(utf8, utf8Bytes, font, bidi, script, language, nullptr, 0, width, handler); in shape()
835 void ShaperHarfBuzz::shape(const char* utf8, size_t utf8Bytes, in shape() argument
851 this->wrap(utf8, utf8Bytes, bidi, language, script, font, runSegmenter, in shape()
855 void ShaperDrivenWrapper::wrap(char const * const utf8, size_t utf8Bytes, in wrap() argument
889 model = shape(utf8, utf8Bytes, in wrap()
945 return shape(utf8, utf8Bytes, in wrap()
997 void ShapeThenWrap::wrap(char const * const utf8, size_t utf8Bytes, in wrap() argument
1009 if (!fLineBreakIterator->setText(utf8, utf8Bytes)) { in wrap()
1012 if (!fGraphemeBreakIterator->setText(utf8, utf8Bytes)) { in wrap()
1024 runs.emplace_back(shape(utf8, utf8Bytes, in wrap()
1209 void ShapeDontWrapOrReorder::wrap(char const * const utf8, size_t utf8Bytes, in wrap() argument
1228 runs.emplace_back(shape(utf8, utf8Bytes, in wrap()
1295 size_t const utf8Bytes, in shape() argument
1330 hb_buffer_add_utf8(buffer, utf8Current, utf8 + utf8Bytes - utf8Current, 0, 0); in shape()
1436 SkShaper::MakeIcuBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel) { in MakeIcuBiDiRunIterator() argument
1443 utf8Bytes, in MakeIcuBiDiRunIterator()
1448 SkShaper::MakeSkUnicodeBidiRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes, uint… in MakeSkUnicodeBidiRunIterator() argument
1451 if (!SkTFitsIn<int32_t>(utf8Bytes)) { in MakeSkUnicodeBidiRunIterator()
1456 int32_t utf16Units = SkUTF::UTF8ToUTF16(nullptr, 0, utf8, utf8Bytes); in MakeSkUnicodeBidiRunIterator()
1463 (void)SkUTF::UTF8ToUTF16(utf16.get(), utf16Units, utf8, utf8Bytes); in MakeSkUnicodeBidiRunIterator()
1472 return std::make_unique<SkUnicodeBidiRunIterator>(utf8, utf8 + utf8Bytes, std::move(bidi)); in MakeSkUnicodeBidiRunIterator()
1476 SkShaper::MakeHbIcuScriptRunIterator(const char* utf8, size_t utf8Bytes) { in MakeHbIcuScriptRunIterator() argument
1481 return SkShaper::MakeSkUnicodeHbScriptRunIterator(unicode.get(), utf8, utf8Bytes); in MakeHbIcuScriptRunIterator()
1485 SkShaper::MakeSkUnicodeHbScriptRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes) { in MakeSkUnicodeHbScriptRunIterator() argument
1490 return std::make_unique<SkUnicodeHbScriptRunIterator>(std::move(script), utf8, utf8Bytes); in MakeSkUnicodeHbScriptRunIterator()