• Home
  • Raw
  • Download

Lines Matching full:utf8

45     bool getBidiRegions(const char utf8[],  in getBidiRegions()  argument
49 return fBidiFact->ExtractBidi(utf8, utf8Units, dir, results); in getBidiRegions()
52 bool getSentences(const char utf8[], in getSentences() argument
60 bool computeCodeUnitFlags(char utf8[], in computeCodeUnitFlags() argument
70 lineBreak += grapheme_next_line_break_utf8(utf8 + lineBreak, utf8Units - lineBreak); in computeCodeUnitFlags()
72 auto codePoint = utf8[lineBreak - 1]; in computeCodeUnitFlags()
82 …graphemeBreak += grapheme_next_character_break_utf8(utf8 + graphemeBreak, utf8Units - graphemeBrea… in computeCodeUnitFlags()
86 const char* current = utf8; in computeCodeUnitFlags()
87 const char* end = utf8 + utf8Units; in computeCodeUnitFlags()
89 auto before = current - utf8; in computeCodeUnitFlags()
92 auto after = current - utf8; in computeCodeUnitFlags()
97 utf8[before] = ' '; in computeCodeUnitFlags()
121 …bool getUtf8To16Mapping(const char utf8[], int utf8Units, std::unordered_map<Position, Position>* … in getUtf8To16Mapping() argument
123 const char* ptr8 = utf8; in getUtf8To16Mapping()
124 const char* end8 = utf8 + utf8Units; in getUtf8To16Mapping()
126 results->emplace(ptr8 - utf8, utf16Units); in getUtf8To16Mapping()
143 …bool getWords(const char utf8[], int utf8Units, const char* locale, std::vector<Position>* results… in getWords() argument
145 if (!getUtf8To16Mapping(utf8, utf8Units, &mapping)) { in getWords()
150 wordBreak += grapheme_next_word_break_utf8(utf8 + wordBreak, utf8Units - wordBreak); in getWords()
159 bool getUtf8Words(const char utf8[], in getUtf8Words() argument
169 lineBreak += grapheme_next_line_break_utf8(utf8 + lineBreak, utf8Units - lineBreak); in getUtf8Words()
174 const char* current = utf8; in getUtf8Words()
175 const char* end = utf8 + utf8Units; in getUtf8Words()
177 auto index = current - utf8; in getUtf8Words()
210 wordBreak += grapheme_next_word_break_utf8(utf8 + wordBreak, utf8Units - wordBreak); in getUtf8Words()