Searched refs:IsTrailSurrogate (Results 1 – 9 of 9) sorted by relevance
69 if (!IsTrailSurrogate(code_units[i + 1])) return true; in HasUnpairedSurrogate()72 } else if (IsTrailSurrogate(code_unit)) { in HasUnpairedSurrogate()162 (Utf16::IsLeadSurrogate(c) || Utf16::IsTrailSurrogate(c))) { in Encode()
103 return IsLeadSurrogate(lead) && IsTrailSurrogate(trail); in IsSurrogatePair()108 static inline bool IsTrailSurrogate(int code) { in IsTrailSurrogate() function
299 if (unibrow::Utf16::IsTrailSurrogate(cc2)) { in Encode()304 } else if (!unibrow::Utf16::IsTrailSurrogate(cc1)) { in Encode()
984 static inline bool IsTrailSurrogate(uint32 code_point) { in IsTrailSurrogate() function992 GOOGLE_DCHECK(IsTrailSurrogate(trail_surrogate)); in AssembleUTF16()1022 IsTrailSurrogate(trail_surrogate)) { in FetchUnicodePoint()
544 DCHECK(!unibrow::Utf16::IsTrailSurrogate(kEndOfInput)); in CombineSurrogatePair()545 if (unibrow::Utf16::IsTrailSurrogate(c1)) { in CombineSurrogatePair()
405 if (unibrow::Utf16::IsTrailSurrogate(c1)) { in ReadNext()1417 unibrow::Utf16::IsTrailSurrogate(trail)) { in ParseUnicodeEscape()2065 DCHECK(unibrow::Utf16::IsTrailSurrogate(trail_surrogate)); in AddTrailSurrogate()2146 } else if (unicode() && unibrow::Utf16::IsTrailSurrogate(c)) { in AddUnicodeCharacter()
776 unibrow::Utf16::IsTrailSurrogate(atom->data().at(0)); in RationalizeConsecutiveAtoms()789 unibrow::Utf16::IsTrailSurrogate(alt_atom->data().at(0)); in RationalizeConsecutiveAtoms()
1129 unibrow::Utf16::IsTrailSurrogate(subject_->Get(last_index + 1))) { in AdvanceZeroLength()
5649 unibrow::Utf16::IsTrailSurrogate(read_start[read_index + 1])) { in WriteUtf8Impl()