Lines Matching +full:0 +full:x3f
30 static constexpr size_t MASK1 = 0x80;
31 static constexpr size_t MASK2 = 0x20;
32 static constexpr size_t MASK3 = 0x10;
33 static constexpr size_t LOW_3BITS = 0x7;
34 static constexpr size_t LOW_4BITS = 0xF;
35 static constexpr size_t LOW_5BITS = 0x1F;
36 static constexpr size_t LOW_6BITS = 0x3F;
37 static constexpr size_t L_SURROGATE_START = 0xDC00;
38 static constexpr size_t H_SURROGATE_START = 0xD800;
39 static constexpr size_t SURROGATE_RAIR_START = 0x10000;
44 static constexpr uint16_t DECODE_LEAD_LOW = 0xD800;
45 static constexpr uint16_t DECODE_LEAD_HIGH = 0xDBFF;
46 static constexpr uint16_t DECODE_TRAIL_LOW = 0xDC00;
47 static constexpr uint16_t DECODE_TRAIL_HIGH = 0xDFFF;
48 static constexpr uint32_t DECODE_FIRST_FACTOR = 0x400;
49 static constexpr uint32_t DECODE_SECOND_FACTOR = 0x10000;
52 static constexpr uint16_t SURROGATE_MASK = 0xF800;
53 static constexpr uint16_t UTF16_REPLACEMENT_CHARACTER = 0xFFFD;
55 static constexpr uint8_t BIT_MASK_1 = 0x80;
56 static constexpr uint8_t BIT_MASK_2 = 0xC0;
57 static constexpr uint8_t BIT_MASK_3 = 0xE0;
58 static constexpr uint8_t BIT_MASK_4 = 0xF0;
59 static constexpr uint8_t BIT_MASK_5 = 0xF8;
60 static constexpr uint8_t BIT_MASK_FF = 0xFF;
61 static constexpr uint16_t BIT16_MASK = 0x3FF;
63 static constexpr uint8_t UTF8_1B_MAX = 0x7f;
65 static constexpr uint16_t UTF8_2B_MAX = 0x7ff;
66 static constexpr uint8_t UTF8_2B_FIRST = 0xc0;
67 static constexpr uint8_t UTF8_2B_SECOND = 0x80;
68 static constexpr uint8_t UTF8_2B_THIRD = 0x3f;
69 static constexpr uint8_t UTF8_2B_FIRST_MIN = 0xc2; // the minimum for 2 bytes is 128, which is 0xc…
71 static constexpr uint16_t UTF8_3B_MAX = 0xffff;
72 static constexpr uint8_t UTF8_3B_FIRST = 0xe0;
73 static constexpr uint8_t UTF8_3B_SECOND = 0x80;
74 static constexpr uint8_t UTF8_3B_THIRD = 0x80;
75 static constexpr uint8_t UTF8_3B_SECOND_MIN = 0xa0; // the minimum for 3 bytes is 2048, which is 0…
76 static constexpr uint8_t UTF8_3B_RESERVED_FIRST = 0xED;
77 static constexpr uint8_t UTF8_3B_RESERVED_SECOND_MIN = 0xA0;
78 static constexpr uint8_t UTF8_3B_RESERVED_SECOND_MAX = 0xBF; // U+D800~U+DFFF is reserved for UTF-1…
80 static constexpr uint8_t UTF8_4B_FIRST = 0xf0;
81 static constexpr uint8_t UTF8_4B_SECOND_MIN = 0x90; // the minimum for 4 bytes is 65536, which is …
82 static constexpr uint8_t UTF8_4B_FIRST_MAX = 0xF4; // the maximum for 4 bytes is 1114111, which is …
83 static constexpr uint8_t UTF8_4B_SECOND_MAX = 0x8F;
85 static constexpr uint8_t byteMask = 0xbf;
86 static constexpr uint8_t byteMark = 0x80;
88 static constexpr uint8_t latin1Limit = 0xFF;
101 static const unsigned char firstByteMark[7] = {0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC};
146 return (ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f'); in IsHexDigits()