Searched refs:n_valid_bytes (Results 1 – 1 of 1) sorted by relevance
93 int n_valid_bytes = internal::UTF8SpnStructurallyValid(str); in ReplaceInvalidCodePoints() local94 StringPiece valid_part = str.substr(0, n_valid_bytes); in ReplaceInvalidCodePoints()97 if (n_valid_bytes == str.size()) { in ReplaceInvalidCodePoints()105 str.remove_prefix(n_valid_bytes + 1); in ReplaceInvalidCodePoints()