Home
last modified time | relevance | path

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

/external/icing/icing/transform/simple/
Dnone-normalizer.h34 : max_term_byte_size_(max_term_byte_size){}; in NoneNormalizer()
37 if (term.length() > max_term_byte_size_) { in NormalizeTerm()
38 return std::string(term.substr(0, max_term_byte_size_)); in NormalizeTerm()
45 int max_term_byte_size_;
/external/icing/icing/transform/map/
Dmap-normalizer.h29 : max_term_byte_size_(max_term_byte_size){}; in MapNormalizer()
44 int max_term_byte_size_;
Dmap-normalizer.cc78 if (normalized_text.length() > max_term_byte_size_) { in NormalizeTerm()
79 i18n_utils::SafeTruncateUtf8(&normalized_text, max_term_byte_size_); in NormalizeTerm()
/external/icing/icing/transform/icu/
Dicu-normalizer.cc120 max_term_byte_size_(max_term_byte_size) {} in IcuNormalizer()
149 if (normalized_text.length() > max_term_byte_size_) { in NormalizeTerm()
150 i18n_utils::SafeTruncateUtf8(&normalized_text, max_term_byte_size_); in NormalizeTerm()
Dicu-normalizer.h99 int max_term_byte_size_; variable