Home
last modified time | relevance | path

Searched refs:HALF_SHIFT (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterConstants.java161 static final int HALF_SHIFT = 10; field
DCharsetUTF8.java126 …targetArray[targetIndex++] = (char) ((char32 >>> UConverterConstants.HALF_SHIFT) + UConverterConst… in decodeLoop()
250 … (char) ((char32 >>> UConverterConstants.HALF_SHIFT) + UConverterConstants.SURROGATE_HIGH_START)); in decodeLoop()
/external/icu/icu4c/source/common/
Ducnv_u32.cpp31 #define HALF_SHIFT 10 macro
258 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE()
362 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
740 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_LE()
853 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()