Lines Matching +full:0 +full:xd800

4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
36 // The status value for a correct code point is 0. This allows a valid value to
50 __ok = 0,
64 /// The Standard refers to UAX \#29 for Unicode 12.0.0
82 return __value >= 0xd800 && __value <= 0xdbff; in __is_high_surrogate()
86 return __value >= 0xdc00 && __value <= 0xdfff; in __is_low_surrogate()
91 return __value >= 0xd800 && __value <= 0xdfff; in __is_surrogate()
96 return __value <= 0x10ffff; in __is_code_point()
108 if ((*__char & 0b1100'0000) != 0b1000'0000) in __is_continuation()
143 …// U+0800..U+0FFF E0 A0..BF 80..BF U+0800..U+FFFF 3 code unit ra…
164 case 0: in __consume()
171 char32_t __value = static_cast<unsigned char>(*__first_++) & 0x1f; in __consume()
173 __value |= static_cast<unsigned char>(*__first_++) & 0x3f; in __consume()
176 if (__value < 0x0080) [[unlikely]] in __consume()
186 char32_t __value = static_cast<unsigned char>(*__first_++) & 0x0f; in __consume()
188 __value |= static_cast<unsigned char>(*__first_++) & 0x3f; in __consume()
190 __value |= static_cast<unsigned char>(*__first_++) & 0x3f; in __consume()
193 if (__value < 0x0800) [[unlikely]] in __consume()
207 char32_t __value = static_cast<unsigned char>(*__first_++) & 0x07; in __consume()
209 __value |= static_cast<unsigned char>(*__first_++) & 0x3f; in __consume()
211 __value |= static_cast<unsigned char>(*__first_++) & 0x3f; in __consume()
213 __value |= static_cast<unsigned char>(*__first_++) & 0x3f; in __consume()
216 if (__value < 0x10000) [[unlikely]] in __consume()
240 return __value >= 0xd800 && __value <= 0xdbff; in __is_surrogate_pair_high()
244 return __value >= 0xdc00 && __value <= 0xdfff; in __is_surrogate_pair_low()
275 __value -= 0xd800; in __consume()
277 __value += static_cast<char32_t>(*__first_++) - 0xdc00; in __consume()
278 __value += 0x10000; in __consume()