Searched refs:term_length (Results 1 – 4 of 4) sorted by relevance
93 int term_length = in GetTerm() local95 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()
95 int term_length = term_end_index_exclusive_ - term_start_index_; in GetTerm() local97 term_length = 0; in GetTerm()100 term_length = 1; in GetTerm()102 return text_.substr(term_start_index_, term_length); in GetTerm()
259 int term_length = state.range(0) / 5; in BM_QueryFiveTerms() local261 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()
3009 Py_ssize_t term_length; in _curses_setupterm() local3010 term = PyUnicode_AsUTF8AndSize(args[0], &term_length); in _curses_setupterm()3014 if (strlen(term) != (size_t)term_length) { in _curses_setupterm()