Searched refs:SafeTruncateUtf8Length (Results 1 – 3 of 3) sorted by relevance
102 str->resize(SafeTruncateUtf8Length(str->c_str(), truncate_to_length)); in SafeTruncateUtf8()105 int SafeTruncateUtf8Length(const char* str, int desired_length) { in SafeTruncateUtf8Length() function
58 int SafeTruncateUtf8Length(const char* str, int desired_length);
2215 size_t offset = i18n_utils::SafeTruncateUtf8Length(key, cur_key - key); in FindNewBranchingPrefixLength()2246 len = i18n_utils::SafeTruncateUtf8Length(key, len); in FindBranchingPrefixLengths()