Home
last modified time | relevance | path

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

/external/icing/icing/tokenization/icu/
Dicu-language-segmenter.cc107 if (!offset_iterator_.MoveToUtf8(term_start_index_)) { in CalculateTermStart()
111 return offset_iterator_; in CalculateTermStart()
116 if (!offset_iterator_.MoveToUtf8(term_end_index_exclusive_)) { in CalculateTermEndExclusive()
120 return offset_iterator_; in CalculateTermEndExclusive()
132 if (!offset_iterator_.MoveToUtf32(offset)) { in ResetToTermStartingAfterUtf32()
134 if (offset_iterator_.utf8_index() != text_.length()) { in ResetToTermStartingAfterUtf32()
142 if (offset_iterator_.utf8_index() == text_.length()) { in ResetToTermStartingAfterUtf32()
146 offset_iterator_.utf32_index(), offset_iterator_.utf8_index(), in ResetToTermStartingAfterUtf32()
153 ubrk_following(break_iterator_, offset_iterator_.utf8_index()); in ResetToTermStartingAfterUtf32()
168 if (!offset_iterator_.MoveToUtf8(term_start_index_)) { in ResetToTermStartingAfterUtf32()
[all …]