Home
last modified time | relevance | path

Searched refs:SURROGATE_HIGH_START (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterConstants.java162 static final int SURROGATE_HIGH_START = 0xD800; field
DCharsetUTF8.java142 … = (char) ((char32 >>> UConverterConstants.HALF_SHIFT) + UConverterConstants.SURROGATE_HIGH_START); in decodeLoop()
277 … (char) ((char32 >>> UConverterConstants.HALF_SHIFT) + UConverterConstants.SURROGATE_HIGH_START)); in decodeLoop()
/external/icu/icu4c/source/common/
Ducnv_u32.c32 #define SURROGATE_HIGH_START 0xD800 macro
256 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE()
360 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
735 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_LE()
848 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
Ducnv_u8.c55 #define SURROGATE_HIGH_START 0xD800 macro
191 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8()
320 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c29 #define SURROGATE_HIGH_START 0xD800 macro
719 if (currCh == SURROGATE_HIGH_START) { in TestRegressionUTF8()
790 if (currCh == SURROGATE_HIGH_START) { in TestRegressionUTF32()