Searched refs:HALF_SHIFT (Results 1 – 2 of 2) sorted by relevance
28 #define HALF_SHIFT 10 macro255 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE()359 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()737 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_LE()850 ch = ((ch - SURROGATE_HIGH_START) << HALF_SHIFT) + ch2 + SURROGATE_LOW_BASE; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
49 #define HALF_SHIFT 10 macro179 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8()308 *(myTarget++) = (UChar) ((ch >> HALF_SHIFT) + SURROGATE_HIGH_START); in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()