Home
last modified time | relevance | path

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

/external/icing/icing/tokenization/icu/
Dicu-language-segmenter.cc74 term_start_index_ = ubrk_first(break_iterator_); in Advance()
76 term_start_index_ = term_end_index_exclusive_; in Advance()
95 int term_length = term_end_index_exclusive_ - term_start_index_; in GetTerm()
98 } else if (text_[term_start_index_] == kASCIISpace) { in GetTerm()
102 return text_.substr(term_start_index_, term_length); in GetTerm()
107 if (!offset_iterator_.MoveToUtf8(term_start_index_)) { in CalculateTermStart()
168 if (!offset_iterator_.MoveToUtf8(term_start_index_)) { in ResetToTermStartingAfterUtf32()
207 term_start_index_ = starting_utf8_index; in ResetToTermEndingBeforeUtf32()
225 if (!term_start_iterator.MoveToUtf8(term_start_index_)) { in ResetToTermEndingBeforeUtf32()
237 term_start_index_ = 0; in ResetToStartUtf32()
[all …]