Searched refs:trail_surrogate (Results 1 – 3 of 3) sorted by relevance
981 static uint32 AssembleUTF16(uint32 head_surrogate, uint32 trail_surrogate) { in AssembleUTF16() argument983 GOOGLE_DCHECK(IsTrailSurrogate(trail_surrogate)); in AssembleUTF16()985 (trail_surrogate - kMinTrailSurrogate)); in AssembleUTF16()1012 uint32 trail_surrogate; in FetchUnicodePoint() local1013 if (ReadHexDigits(p + 2, 4, &trail_surrogate) && in FetchUnicodePoint()1014 IsTrailSurrogate(trail_surrogate)) { in FetchUnicodePoint()1015 *code_point = AssembleUTF16(*code_point, trail_surrogate); in FetchUnicodePoint()
1531 void RegExpBuilder::AddTrailSurrogate(uc16 trail_surrogate) { in AddTrailSurrogate() argument1532 DCHECK(unibrow::Utf16::IsTrailSurrogate(trail_surrogate)); in AddTrailSurrogate()1538 unibrow::Utf16::CombineSurrogatePair(lead_surrogate, trail_surrogate); in AddTrailSurrogate()1544 surrogate_pair.Add(trail_surrogate, zone()); in AddTrailSurrogate()1550 pending_surrogate_ = trail_surrogate; in AddTrailSurrogate()
122 void AddTrailSurrogate(uc16 trail_surrogate);