Lines Matching refs:nChar

101         sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++;  in ImplConvertEucTwToUnicode()  local
105 if (nChar < 0x80) in ImplConvertEucTwToUnicode()
107 *pDestBufPtr++ = (sal_Unicode) nChar; in ImplConvertEucTwToUnicode()
110 else if (nChar >= 0xA1 && nChar <= 0xFE) in ImplConvertEucTwToUnicode()
112 nRow = nChar - 0xA1; in ImplConvertEucTwToUnicode()
115 else if (nChar == 0x8E) in ImplConvertEucTwToUnicode()
125 if (nChar >= 0xA1 && nChar <= 0xFE) in ImplConvertEucTwToUnicode()
138 if (nChar >= 0xA1 && nChar <= 0xB0) in ImplConvertEucTwToUnicode()
140 nPlane = nChar - 0xA1; in ImplConvertEucTwToUnicode()
151 if (nChar >= 0xA1 && nChar <= 0xFE) in ImplConvertEucTwToUnicode()
153 nRow = nChar - 0xA1; in ImplConvertEucTwToUnicode()
164 if (nChar >= 0xA1 && nChar <= 0xFE) in ImplConvertEucTwToUnicode()
191 nChar -= 0xA0; in ImplConvertEucTwToUnicode()
192 if (nChar >= nFirst && nChar <= nLast) in ImplConvertEucTwToUnicode()
195 = pCns116431992Data[nOffset + (nChar - nFirst)]; in ImplConvertEucTwToUnicode()
207 nOffset + (nChar - nFirst)]; in ImplConvertEucTwToUnicode()
318 sal_uInt32 nChar = *pSrcBuf++; in ImplConvertUnicodeToEucTw() local
321 if (ImplIsHighSurrogate(nChar)) in ImplConvertUnicodeToEucTw()
323 nHighSurrogate = (sal_Unicode) nChar; in ImplConvertUnicodeToEucTw()
327 else if (ImplIsLowSurrogate(nChar)) in ImplConvertUnicodeToEucTw()
328 nChar = ImplCombineSurrogates(nHighSurrogate, nChar); in ImplConvertUnicodeToEucTw()
335 if (ImplIsLowSurrogate(nChar) || ImplIsNoncharacter(nChar)) in ImplConvertUnicodeToEucTw()
341 if (nChar < 0x80) in ImplConvertUnicodeToEucTw()
343 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToEucTw()
348 sal_Int32 nOffset = pCns116431992PlaneOffsets[nChar >> 16]; in ImplConvertUnicodeToEucTw()
355 = pCns116431992PageOffsets[nOffset + ((nChar & 0xFF00) >> 8)]; in ImplConvertUnicodeToEucTw()
360 nChar &= 0xFF; in ImplConvertUnicodeToEucTw()
361 if (nChar < nFirst || nChar > nLast) in ImplConvertUnicodeToEucTw()
363 nOffset += 3 * (nChar - nFirst); in ImplConvertUnicodeToEucTw()
382 nChar, in ImplConvertUnicodeToEucTw()