Lines Matching refs:nCode

79     sal_uInt32 nCode = 0;  in ImplConvertGb18030ToUnicode()  local
88 nCode = ((ImplGb18030ToUnicodeContext *) pContext)->m_nCode; in ImplConvertGb18030ToUnicode()
107 nCode = nChar - 0x81; in ImplConvertGb18030ToUnicode()
120 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode()
126 nCode = nCode * 190 + (nChar <= 0x7E ? nChar - 0x40 : in ImplConvertGb18030ToUnicode()
129 *pDestBufPtr++ = pGb18030Data[nCode]; in ImplConvertGb18030ToUnicode()
144 nCode = nCode * 126 + (nChar - 0x81); in ImplConvertGb18030ToUnicode()
157 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode()
160 if (nCode >= 189000 && nCode <= 1237575) in ImplConvertGb18030ToUnicode()
163 nCode -= 189000 - 0x10000; in ImplConvertGb18030ToUnicode()
165 = (sal_Unicode) ImplGetHighSurrogate(nCode); in ImplConvertGb18030ToUnicode()
167 = (sal_Unicode) ImplGetLowSurrogate(nCode); in ImplConvertGb18030ToUnicode()
180 else if (nCode < pRange->m_nFirstLinear) in ImplConvertGb18030ToUnicode()
186 + (nCode - nFirstNonRange)]; in ImplConvertGb18030ToUnicode()
191 else if (nCode < pRange->m_nPastLinear) in ImplConvertGb18030ToUnicode()
197 + (nCode in ImplConvertGb18030ToUnicode()
268 ((ImplGb18030ToUnicodeContext *) pContext)->m_nCode = nCode; in ImplConvertGb18030ToUnicode()
343 sal_uInt32 nCode in ImplConvertUnicodeToGb18030() local
347 >= (nCode <= 0xFFFF ? 2 : 4)) in ImplConvertUnicodeToGb18030()
349 if (nCode > 0xFFFF) in ImplConvertUnicodeToGb18030()
351 *pDestBufPtr++ = (sal_Char) (nCode >> 24); in ImplConvertUnicodeToGb18030()
352 *pDestBufPtr++ = (sal_Char) (nCode >> 16 & 0xFF); in ImplConvertUnicodeToGb18030()
354 *pDestBufPtr++ = (sal_Char) (nCode >> 8 & 0xFF); in ImplConvertUnicodeToGb18030()
355 *pDestBufPtr++ = (sal_Char) (nCode & 0xFF); in ImplConvertUnicodeToGb18030()
365 sal_uInt32 nCode in ImplConvertUnicodeToGb18030() local
368 *pDestBufPtr++ = (sal_Char) (nCode / 12600 + 0x81); in ImplConvertUnicodeToGb18030()
370 = (sal_Char) (nCode / 1260 % 10 + 0x30); in ImplConvertUnicodeToGb18030()
371 *pDestBufPtr++ = (sal_Char) (nCode / 10 % 126 + 0x81); in ImplConvertUnicodeToGb18030()
372 *pDestBufPtr++ = (sal_Char) (nCode % 10 + 0x30); in ImplConvertUnicodeToGb18030()
385 sal_uInt32 nCode = nChar - 0x10000; in ImplConvertUnicodeToGb18030() local
386 *pDestBufPtr++ = (sal_Char) (nCode / 12600 + 0x90); in ImplConvertUnicodeToGb18030()
387 *pDestBufPtr++ = (sal_Char) (nCode / 1260 % 10 + 0x30); in ImplConvertUnicodeToGb18030()
388 *pDestBufPtr++ = (sal_Char) (nCode / 10 % 126 + 0x81); in ImplConvertUnicodeToGb18030()
389 *pDestBufPtr++ = (sal_Char) (nCode % 10 + 0x30); in ImplConvertUnicodeToGb18030()