Searched refs:IsLeadSurrogate (Results 1 – 8 of 8) sorted by relevance
65 if (IsLeadSurrogate(code_unit)) { in HasUnpairedSurrogate()154 DCHECK(!Utf16::IsLeadSurrogate(Utf16::kNoPreviousCharacter)); in Encode()162 (Utf16::IsLeadSurrogate(c) || Utf16::IsTrailSurrogate(c))) { in Encode()195 DCHECK(!Utf16::IsLeadSurrogate(Utf16::kNoPreviousCharacter)); in Length()
103 return IsLeadSurrogate(lead) && IsTrailSurrogate(trail); in IsSurrogatePair()105 static inline bool IsLeadSurrogate(int code) { in IsLeadSurrogate() function
292 if (unibrow::Utf16::IsLeadSurrogate(cc1)) { in Encode()
56 unibrow::Utf16::IsLeadSurrogate(static_cast<uc16>(c0))) { in ReadNext()1185 if (result && unicode() && unibrow::Utf16::IsLeadSurrogate(*value) && in ParseUnicodeEscape()1849 DCHECK(unibrow::Utf16::IsLeadSurrogate(lead_surrogate)); in AddLeadSurrogate()1861 DCHECK(unibrow::Utf16::IsLeadSurrogate(lead_surrogate)); in AddTrailSurrogate()1940 } else if (unicode() && unibrow::Utf16::IsLeadSurrogate(c)) { in AddUnicodeCharacter()
674 !unibrow::Utf16::IsLeadSurrogate(atom->data().at(0))); in FixSingleCharacterDisjunctions()688 !unibrow::Utf16::IsLeadSurrogate(atom->data().at(0))); in FixSingleCharacterDisjunctions()
1028 unibrow::Utf16::IsLeadSurrogate(subject_->Get(last_index)) && in AdvanceZeroLength()
533 DCHECK(!unibrow::Utf16::IsLeadSurrogate(kEndOfInput)); in CombineSurrogatePair()534 if (unibrow::Utf16::IsLeadSurrogate(c0_)) { in CombineSurrogatePair()
5388 unibrow::Utf16::IsLeadSurrogate(character) && in WriteUtf8Impl()