Searched refs:DECODE_LEAD_LOW (Results 1 – 7 of 7) sorted by relevance
29 ASSERT((lead >= DECODE_LEAD_LOW && lead <= DECODE_LEAD_HIGH) && in UTF16Decode()31 …uint32_t cp = (lead - DECODE_LEAD_LOW) * DECODE_FIRST_FACTOR + (trail - DECODE_TRAIL_LOW) + DECODE… in UTF16Decode()37 return DECODE_LEAD_LOW <= ch && ch <= DECODE_LEAD_HIGH; in IsUTF16HighSurrogate()49 …if ((high & SURROGATE_MASK) != DECODE_LEAD_LOW || !IsUTF16HighSurrogate(high) || *index == len - 1… in DecodeUTF16()57 …return ((high - DECODE_LEAD_LOW) << UTF16_OFFSET) + (low - DECODE_TRAIL_LOW) + DECODE_SECOND_FACTO… in DecodeUTF16()
25 static constexpr uint16_t DECODE_LEAD_LOW = 0xD800; variable
254 …if (UNLIKELY(*current_ >= utf_helper::DECODE_LEAD_LOW && *current_ <= utf_helper::DECODE_LEAD_HIGH… in SlowParseString()
68 if (position + 1 == len || first < base::utf_helper::DECODE_LEAD_LOW || in Next()
240 if (cc < base::utf_helper::DECODE_LEAD_LOW || cc > base::utf_helper::DECODE_LEAD_HIGH) { in Encode()459 base::utf_helper::DECODE_LEAD_LOW); // 10: means shift left by 10 digits in Decode()
326 …if (first < base::utf_helper::DECODE_LEAD_LOW || first > base::utf_helper::DECODE_LEAD_HIGH || pos… in CodePointAt()
98 EXPECT_TRUE(lead >= DECODE_LEAD_LOW && lead <= DECODE_LEAD_HIGH); in HWTEST_F_L0()104 EXPECT_TRUE(lead >= DECODE_LEAD_LOW && lead <= DECODE_LEAD_HIGH); in HWTEST_F_L0()