Lines Matching refs:nUtf32
34 sal_uInt32 nUtf32; member
77 sal_uInt32 nUtf32 = 0; in ImplConvertUtf8ToUnicode() local
88 nUtf32 = ((struct ImplUtf8ToUnicodeContext *) pContext)->nUtf32; in ImplConvertUtf8ToUnicode()
101 nUtf32 = nChar; in ImplConvertUtf8ToUnicode()
108 nUtf32 = (nChar & 0x1F) << 6; in ImplConvertUtf8ToUnicode()
113 nUtf32 = (nChar & 0x0F) << 12; in ImplConvertUtf8ToUnicode()
118 nUtf32 = (nChar & 0x07) << 18; in ImplConvertUtf8ToUnicode()
123 nUtf32 = (nChar & 0x03) << 24; in ImplConvertUtf8ToUnicode()
128 nUtf32 = (nChar & 0x01) << 30; in ImplConvertUtf8ToUnicode()
135 nUtf32 |= (nChar & 0x3F) << nShift; in ImplConvertUtf8ToUnicode()
155 if (!bCheckBom || nUtf32 != 0xFEFF in ImplConvertUtf8ToUnicode()
159 if (nUtf32 <= 0xFFFF) in ImplConvertUtf8ToUnicode()
161 *pDestBufPtr++ = (sal_Unicode) nUtf32; in ImplConvertUtf8ToUnicode()
164 else if (nUtf32 <= 0x10FFFF) in ImplConvertUtf8ToUnicode()
167 *pDestBufPtr++ = (sal_Unicode) ImplGetHighSurrogate(nUtf32); in ImplConvertUtf8ToUnicode()
168 *pDestBufPtr++ = (sal_Unicode) ImplGetLowSurrogate(nUtf32); in ImplConvertUtf8ToUnicode()
238 ((struct ImplUtf8ToUnicodeContext *) pContext)->nUtf32 = nUtf32; in ImplConvertUtf8ToUnicode()