Home
last modified time | relevance | path

Searched refs:fUTF8IndexForUTF16Index (Results 1 – 4 of 4) sorted by relevance

/external/skia/modules/skparagraph/src/
DParagraphBuilderImpl.cpp186 fUTF8IndexForUTF16Index.clear(); in Build()
212 [&](size_t index) { fUTF8IndexForUTF16Index.emplace_back(index); }, in ensureUTF16Mapping()
227 wordsUtf8.emplace_back(fUTF8IndexForUTF16Index[indexUtf16]); in setWordsUtf16()
241 graphemeBreaksUtf8.emplace_back(fUTF8IndexForUTF16Index[indexUtf16]); in setGraphemeBreaksUtf16()
256 fUTF8IndexForUTF16Index[lineBreakUtf16.pos], lineBreakUtf16.breakType)); in setLineBreaksUtf16()
293 fUTF8IndexForUTF16Index.clear(); in Reset()
DParagraphImpl.cpp741 if (start >= end || start > SkToSizeT(fUTF8IndexForUTF16Index.size()) || end == 0) { in getRectsForRange()
757 if (start < SkToSizeT(fUTF8IndexForUTF16Index.size())) { in getRectsForRange()
758 auto utf8 = fUTF8IndexForUTF16Index[start]; in getRectsForRange()
760 if (start > 0 && fUTF8IndexForUTF16Index[start - 1] == utf8) { in getRectsForRange()
761 utf8 = fUTF8IndexForUTF16Index[start + 1]; in getRectsForRange()
765 if (end < SkToSizeT(fUTF8IndexForUTF16Index.size())) { in getRectsForRange()
766 auto utf8 = this->findPreviousGraphemeBoundary(fUTF8IndexForUTF16Index[end]); in getRectsForRange()
1103 [&](size_t index) { fUTF8IndexForUTF16Index.emplace_back(index); }, in ensureUTF16Mapping()
DParagraphBuilderImpl.h108 SkTArray<TextIndex, true> fUTF8IndexForUTF16Index; variable
DParagraphImpl.h258 SkTArray<TextIndex, true> fUTF8IndexForUTF16Index; variable