Searched refs:IsTrailByte (Results 1 – 5 of 5) sorted by relevance
37 while (IsTrailByte(str[truncate_at]) && (truncate_at > 0)) { in SafeTruncateLength()44 TC3_DCHECK(!IsTrailByte(str[0]) && GetNumBytesForUTF8Char(str) > 0); in ValidCharToRune()73 if (IsTrailByte(str[0])) { in IsValidChar()84 if (!IsTrailByte(str[k])) { in IsValidChar()
35 static inline bool IsTrailByte(char x) { in IsTrailByte() function
32 inline bool IsTrailByte(char x) { return static_cast<signed char>(x) < -0x40; } in IsTrailByte() function58 } while (IsTrailByte(in[*pos]) && *pos < size); in ForwardNUTF8CharPositions()79 } while (IsTrailByte(in[*pos]) && *pos > start); in BackNUTF8CharPositions()
58 skipped_count += IsTrailByte(*ptr++) ? 1 : 0; in UTF8StrLen()
313 while (IsTrailByte(*--it_)) { in operator --()