Searched refs:trail_surrogate (Results 1 – 3 of 3) sorted by relevance
993 static uint32 AssembleUTF16(uint32 head_surrogate, uint32 trail_surrogate) { in AssembleUTF16() argument995 GOOGLE_DCHECK(IsTrailSurrogate(trail_surrogate)); in AssembleUTF16()997 (trail_surrogate - kMinTrailSurrogate)); in AssembleUTF16()1024 uint32 trail_surrogate; in FetchUnicodePoint() local1025 if (ReadHexDigits(p + 2, 4, &trail_surrogate) && in FetchUnicodePoint()1026 IsTrailSurrogate(trail_surrogate)) { in FetchUnicodePoint()1027 *code_point = AssembleUTF16(*code_point, trail_surrogate); in FetchUnicodePoint()
1731 void RegExpBuilder::AddTrailSurrogate(uc16 trail_surrogate) { in AddTrailSurrogate() argument1732 DCHECK(unibrow::Utf16::IsTrailSurrogate(trail_surrogate)); in AddTrailSurrogate()1738 unibrow::Utf16::CombineSurrogatePair(lead_surrogate, trail_surrogate); in AddTrailSurrogate()1744 surrogate_pair.Add(trail_surrogate, zone()); in AddTrailSurrogate()1750 pending_surrogate_ = trail_surrogate; in AddTrailSurrogate()
129 void AddTrailSurrogate(uc16 trail_surrogate);