Home
last modified time | relevance | path

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

/external/icing/icing/util/
Di18n-utils.cc102 str->resize(SafeTruncateUtf8Length(str->c_str(), truncate_to_length)); in SafeTruncateUtf8()
105 int SafeTruncateUtf8Length(const char* str, int desired_length) { in SafeTruncateUtf8Length() function
Di18n-utils.h58 int SafeTruncateUtf8Length(const char* str, int desired_length);
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.cc2215 size_t offset = i18n_utils::SafeTruncateUtf8Length(key, cur_key - key); in FindNewBranchingPrefixLength()
2246 len = i18n_utils::SafeTruncateUtf8Length(key, len); in FindBranchingPrefixLengths()