/external/icu/icu4c/source/common/unicode/ |
utf.h | 152 ((uint32_t)(c)<0xd800 || \ 177 #define U_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) 193 #define U_IS_SURROGATE(c) (((c)&0xfffff800)==0xd800)
|
/external/libchrome/base/strings/ |
string16_unittest.cc | 31 initial_surrogate.push_back(0xd800); 37 surrogate_pair.push_back(0xd800); 43 unterminated_surrogate.push_back(0xd800);
|
/external/protobuf/src/google/protobuf/util/internal/ |
json_escaping.h | 47 static const uint16 kMinHighSurrogate = 0xd800;
|
/bionic/libc/bionic/ |
c16rtomb.cpp | 36 return c16 >= 0xd800 && c16 < 0xdc00; 48 char32_t c32 = (c16 & ~0xd800) << 10;
|
mbrtoc16.cpp | 49 *pc16 = ((c32 & 0xffc00) >> 10) | 0xd800;
|
/prebuilts/go/darwin-x86/src/unicode/utf16/ |
utf16_test.go | 32 []uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}}, 33 {[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1}, 88 {[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}, 90 {[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}}, 107 {0xd800, 0xdc00, 0x10000}, 108 {0xd800, 0xdc01, 0x10001}, 111 {0xd800, 'a', 0xfffd}, // illegal, replacement rune substituted 136 {rune(0xd800), true}, // surr [all...] |
/prebuilts/go/linux-x86/src/unicode/utf16/ |
utf16_test.go | 32 []uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}}, 33 {[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1}, 88 {[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}, 90 {[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}}, 107 {0xd800, 0xdc00, 0x10000}, 108 {0xd800, 0xdc01, 0x10001}, 111 {0xd800, 'a', 0xfffd}, // illegal, replacement rune substituted 136 {rune(0xd800), true}, // surr [all...] |
/external/python/cpython3/Objects/stringlib/ |
codecs.h | 659 if (((in[0] ^ 0xd800) & 660 (in[1] ^ 0xd800) & 661 (in[2] ^ 0xd800) & 662 (in[3] ^ 0xd800) & 0xf800) == 0) 674 if (ch < 0xd800) 695 if (((in[0] ^ 0xd800) & 696 (in[1] ^ 0xd800) & 697 (in[2] ^ 0xd800) & 698 (in[3] ^ 0xd800) & 0xf800) == 0) 709 if (ch < 0xd800) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
UTF16Util.java | 24 static final int suppOffset = (0xd800 << 10) + 0xdc00 - 0x10000; 35 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { 55 if (0xd800 <= ch2 && ch2 <= 0xdbff) { 71 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { 91 if (0xd800 <= ch2 && ch2 <= 0xdbff) { 187 hadLeadSurrogate = (0xd800 <= ch && ch <= 0xdbff); 215 hadLeadSurrogate = (0xd800 <= ch && ch <= 0xdbff); 250 public static final int LEAD_SURROGATE_MIN_VALUE = 0xD800;
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
UTF16Util.java | 20 static final int suppOffset = (0xd800 << 10) + 0xdc00 - 0x10000; 31 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { 51 if (0xd800 <= ch2 && ch2 <= 0xdbff) { 67 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { 87 if (0xd800 <= ch2 && ch2 <= 0xdbff) { 183 hadLeadSurrogate = (0xd800 <= ch && ch <= 0xdbff); 211 hadLeadSurrogate = (0xd800 <= ch && ch <= 0xdbff); 246 public static final int LEAD_SURROGATE_MIN_VALUE = 0xD800;
|
/external/libchrome/base/third_party/icu/ |
icu_utf.h | 79 ((uint32_t)(c) < 0xd800 || \ 89 #define CBU_IS_SURROGATE(c) (((c)&0xfffff800)==0xd800) 260 #define CBU16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800) 291 #define CBU16_SURROGATE_OFFSET ((0xd800<<10UL)+0xdc00-0x10000) 309 * Get the lead surrogate (0xd800..0xdbff) for a
|
/external/pcre/dist2/src/ |
pcre2_ord2utf.c | 107 *buffer++ = 0xd800 | (cvalue >> 10);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
BMPSet.java | 29 public static int U16_SURROGATE_OFFSET = ((0xd800 << 10) + 0xdc00 - 0x10000); 107 } else if (c < 0xd800 || (c >= 0xe000 && c <= 0xffff)) { 158 } else if (c < 0xd800 || 197 } else if (c < 0xd800 || 254 } else if (c < 0xd800 || 255 c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { 294 } else if (c < 0xd800 || 295 c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) {
|
Trie2_16.java | 91 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; 206 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 208 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT;
|
Trie2_32.java | 90 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; 203 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 205 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
BMPSet.java | 27 public static int U16_SURROGATE_OFFSET = ((0xd800 << 10) + 0xdc00 - 0x10000); 105 } else if (c < 0xd800 || (c >= 0xe000 && c <= 0xffff)) { 156 } else if (c < 0xd800 || 195 } else if (c < 0xd800 || 252 } else if (c < 0xd800 || 253 c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { 292 } else if (c < 0xd800 || 293 c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) {
|
Trie2_16.java | 89 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; 204 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 206 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT;
|
Trie2_32.java | 88 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; 201 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 203 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT;
|
/system/core/libcutils/ |
strdup8to16.cpp | 168 *dest++ = 0xd800 | ((ret - 0x10000) >> 10); 205 *dest++ = 0xd800 | ((ret - 0x10000) >> 10);
|
/external/icu/icu4c/source/test/cintltst/ |
utf16tst.c | 71 static uint16_t codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xddee,0xdfff,0}; 163 0xd800 180 0x11734, 0xd800, UTF_ERROR_VALUE 227 static UChar input[]={0x0061, 0xd800, 0xdc00, 0xdbff, 0xdfff, 0x0062, 0xd841, 0xd7ff, 0xd841, 0xdc41, 0xdc00, 0x0000}; 240 0xdc00, 0xdc00, UTF_ERROR_VALUE, 0xd800, 0xd800, UTF_ERROR_VALUE, 481 static UChar input[]={0x0061, 0xd800, 0xdc00, 0xdbff, 0xdfff, 0x0062, 0xd841, 0xd7ff, 0xd841, 0xdc41, 0xdc00, 0x0000}; 646 static UChar input[]={0x0061, 0xd800, 0xdc00, 0xdbff, 0xdfff, 0x0062, 0xd841, 0xd7ff, 0xd841, 0xdc41, 0xdc00, 0x0000}; 713 3, 0xd800, 719 3, 0xd800, [all...] |
/art/test/ti-agent/ |
ti_utf.h | 130 if ((ch >= 0xd800 && ch <= 0xdbff) && (char_count > 0)) { 175 if (ch >= 0xd800 && ch < 0xdc00) {
|
/external/v8/src/ |
unicode.h | 101 return (code & 0xfc00) == 0xd800; 123 return 0xd800 + (((char_code - 0x10000) >> 10) & 0x3ff);
|
/external/valgrind/none/tests/s390x/ |
cu24.c | 32 0xd800, 0xdc00, /* left corner case */ 45 0xd800, 0xdc01,
|
cu24_1.c | 32 0xd800, 0xdc00, /* left corner case */ 45 0xd800, 0xdc01,
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
FastXmlSerializerTest.java | 135 if (0xd800 <= i && i <= 0xdfff) { 145 for (int i = 0xd800; i < 0xdc00; i ++) {
|