Home
last modified time | relevance | path

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

/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter.cc93 int term_length = in GetTerm() local
95 if (term_length > 0 && std::isspace(text_[term_start_.utf8_index()])) { in GetTerm()
97 term_length = 1; in GetTerm()
99 return text_.substr(term_start_.utf8_index(), term_length); in GetTerm()
/external/icing/icing/tokenization/icu/
Dicu-language-segmenter.cc95 int term_length = term_end_index_exclusive_ - term_start_index_; in GetTerm() local
97 term_length = 0; in GetTerm()
100 term_length = 1; in GetTerm()
102 return text_.substr(term_start_index_, term_length); in GetTerm()
/external/icing/icing/query/
Dquery-processor_benchmark.cc259 int term_length = state.range(0) / 5; in BM_QueryFiveTerms() local
261 const std::string input_string_a(term_length, 'A'); in BM_QueryFiveTerms()
262 const std::string input_string_b(term_length, 'B'); in BM_QueryFiveTerms()
263 const std::string input_string_c(term_length, 'C'); in BM_QueryFiveTerms()
264 const std::string input_string_d(term_length, 'D'); in BM_QueryFiveTerms()
265 const std::string input_string_e(term_length, 'E'); in BM_QueryFiveTerms()
/external/python/cpython3/Modules/clinic/
D_cursesmodule.c.h3009 Py_ssize_t term_length; in _curses_setupterm() local
3010 term = PyUnicode_AsUTF8AndSize(args[0], &term_length); in _curses_setupterm()
3014 if (strlen(term) != (size_t)term_length) { in _curses_setupterm()