Lines Matching refs:nChar

94         sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++;  in ImplConvertGb18030ToUnicode()  local
98 if (nChar < 0x80) in ImplConvertGb18030ToUnicode()
100 *pDestBufPtr++ = (sal_Unicode) nChar; in ImplConvertGb18030ToUnicode()
103 else if (nChar == 0x80) in ImplConvertGb18030ToUnicode()
105 else if (nChar <= 0xFE) in ImplConvertGb18030ToUnicode()
107 nCode = nChar - 0x81; in ImplConvertGb18030ToUnicode()
118 if (nChar >= 0x30 && nChar <= 0x39) in ImplConvertGb18030ToUnicode()
120 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode()
123 else if ((nChar >= 0x40 && nChar <= 0x7E) in ImplConvertGb18030ToUnicode()
124 || (nChar >= 0x80 && nChar <= 0xFE)) in ImplConvertGb18030ToUnicode()
126 nCode = nCode * 190 + (nChar <= 0x7E ? nChar - 0x40 : in ImplConvertGb18030ToUnicode()
127 nChar - 0x80 + 63); in ImplConvertGb18030ToUnicode()
142 if (nChar >= 0x81 && nChar <= 0xFE) in ImplConvertGb18030ToUnicode()
144 nCode = nCode * 126 + (nChar - 0x81); in ImplConvertGb18030ToUnicode()
155 if (nChar >= 0x30 && nChar <= 0x39) in ImplConvertGb18030ToUnicode()
157 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode()
307 sal_uInt32 nChar = *pSrcBuf++; in ImplConvertUnicodeToGb18030() local
310 if (ImplIsHighSurrogate(nChar)) in ImplConvertUnicodeToGb18030()
312 nHighSurrogate = (sal_Unicode) nChar; in ImplConvertUnicodeToGb18030()
316 else if (ImplIsLowSurrogate(nChar)) in ImplConvertUnicodeToGb18030()
317 nChar = ImplCombineSurrogates(nHighSurrogate, nChar); in ImplConvertUnicodeToGb18030()
324 if (ImplIsLowSurrogate(nChar) || ImplIsNoncharacter(nChar)) in ImplConvertUnicodeToGb18030()
330 if (nChar < 0x80) in ImplConvertUnicodeToGb18030()
332 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToGb18030()
335 else if (nChar < 0x10000) in ImplConvertUnicodeToGb18030()
341 if (nChar < pRange->m_nFirstUnicode) in ImplConvertUnicodeToGb18030()
345 + (nChar - nFirstNonRange)]; in ImplConvertUnicodeToGb18030()
361 else if (nChar <= pRange->m_nLastUnicode) in ImplConvertUnicodeToGb18030()
367 + (nChar - pRange->m_nFirstUnicode); in ImplConvertUnicodeToGb18030()
385 sal_uInt32 nCode = nChar - 0x10000; in ImplConvertUnicodeToGb18030()
398 nChar, in ImplConvertUnicodeToGb18030()