Lines Matching refs:nChar
134 sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++; in ImplConvertIso2022CnToUnicode() local
139 if (nChar == 0x0E) /* SO */ in ImplConvertIso2022CnToUnicode()
144 else if (nChar == 0x1B) /* ESC */ in ImplConvertIso2022CnToUnicode()
146 else if (nChar < 0x80) in ImplConvertIso2022CnToUnicode()
148 *pDestBufPtr++ = (sal_Unicode) nChar; in ImplConvertIso2022CnToUnicode()
159 if (nChar == 0x0F) /* SI */ in ImplConvertIso2022CnToUnicode()
164 else if (nChar == 0x1B) /* ESC */ in ImplConvertIso2022CnToUnicode()
166 else if (nChar >= 0x21 && nChar <= 0x7E) in ImplConvertIso2022CnToUnicode()
168 nRow = nChar; in ImplConvertIso2022CnToUnicode()
179 if (nChar >= 0x21 && nChar <= 0x7E) in ImplConvertIso2022CnToUnicode()
190 nChar += 0x80; in ImplConvertIso2022CnToUnicode()
192 if (nChar >= nFirst in ImplConvertIso2022CnToUnicode()
193 && nChar <= pGb2312Data[nRow].mnTrailEnd) in ImplConvertIso2022CnToUnicode()
195 mpToUniTrailTab[nChar - nFirst]; in ImplConvertIso2022CnToUnicode()
215 if (nChar >= 0x21 && nChar <= 0x7E) in ImplConvertIso2022CnToUnicode()
217 nRow = nChar; in ImplConvertIso2022CnToUnicode()
228 if (nChar >= 0x21 && nChar <= 0x7E) in ImplConvertIso2022CnToUnicode()
241 if (nChar == 0x24) /* $ */ in ImplConvertIso2022CnToUnicode()
243 else if (nChar == 0x4E) /* N */ in ImplConvertIso2022CnToUnicode()
253 if (nChar == 0x29) /* ) */ in ImplConvertIso2022CnToUnicode()
255 else if (nChar == 0x2A) /* * */ in ImplConvertIso2022CnToUnicode()
266 if (nChar == 0x41) /* A */ in ImplConvertIso2022CnToUnicode()
272 else if (nChar == 0x47) /* G */ in ImplConvertIso2022CnToUnicode()
286 if (nChar == 0x48) /* H */ in ImplConvertIso2022CnToUnicode()
314 nChar -= 0x20; in ImplConvertIso2022CnToUnicode()
315 if (nChar >= nFirst && nChar <= nLast) in ImplConvertIso2022CnToUnicode()
318 = pCns116431992Data[nOffset + (nChar - nFirst)]; in ImplConvertIso2022CnToUnicode()
330 nOffset + (nChar - nFirst)]; in ImplConvertIso2022CnToUnicode()
442 sal_uInt32 nChar) in ImplIso2022CnTranslateTo2312() argument
444 sal_uInt32 nIndex1 = nChar >> 8; in ImplIso2022CnTranslateTo2312()
447 sal_uInt32 nIndex2 = nChar & 0xFF; in ImplIso2022CnTranslateTo2312()
460 sal_uInt32 nChar) in ImplIso2022CnTranslateTo116431() argument
462 sal_Int32 nOffset = pCns116431992PlaneOffsets[nChar >> 16]; in ImplIso2022CnTranslateTo116431()
468 nOffset = pCns116431992PageOffsets[nOffset + ((nChar & 0xFF00) >> 8)]; in ImplIso2022CnTranslateTo116431()
473 nChar &= 0xFF; in ImplIso2022CnTranslateTo116431()
474 if (nChar < nFirst || nChar > nLast) in ImplIso2022CnTranslateTo116431()
476 nOffset += 3 * (nChar - nFirst); in ImplIso2022CnTranslateTo116431()
531 sal_uInt32 nChar = *pSrcBuf++; in ImplConvertUnicodeToIso2022Cn() local
534 if (ImplIsHighSurrogate(nChar)) in ImplConvertUnicodeToIso2022Cn()
536 nHighSurrogate = (sal_Unicode) nChar; in ImplConvertUnicodeToIso2022Cn()
540 else if (ImplIsLowSurrogate(nChar)) in ImplConvertUnicodeToIso2022Cn()
541 nChar = ImplCombineSurrogates(nHighSurrogate, nChar); in ImplConvertUnicodeToIso2022Cn()
548 if (ImplIsLowSurrogate(nChar) || ImplIsNoncharacter(nChar)) in ImplConvertUnicodeToIso2022Cn()
554 if (nChar == 0x0A || nChar == 0x0D) /* LF, CR */ in ImplConvertUnicodeToIso2022Cn()
570 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToIso2022Cn()
574 else if (nChar == 0x0E || nChar == 0x0F || nChar == 0x1B) in ImplConvertUnicodeToIso2022Cn()
576 else if (nChar < 0x80) in ImplConvertUnicodeToIso2022Cn()
589 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToIso2022Cn()
601 nBytes = ImplIso2022CnTranslateTo2312(pGb2312Data, nChar); in ImplConvertUnicodeToIso2022Cn()
612 nChar); in ImplConvertUnicodeToIso2022Cn()
622 nBytes = ImplIso2022CnTranslateTo2312(pGb2312Data, nChar); in ImplConvertUnicodeToIso2022Cn()
633 nChar); in ImplConvertUnicodeToIso2022Cn()
647 nChar); in ImplConvertUnicodeToIso2022Cn()
654 nBytes = ImplIso2022CnTranslateTo2312(pGb2312Data, nChar); in ImplConvertUnicodeToIso2022Cn()
712 sal_Int32 nOffset = pCns116431992PlaneOffsets[nChar >> 16]; in ImplConvertUnicodeToIso2022Cn()
720 + ((nChar & 0xFF00) >> 8)]; in ImplConvertUnicodeToIso2022Cn()
725 nChar &= 0xFF; in ImplConvertUnicodeToIso2022Cn()
726 if (nChar < nFirst || nChar > nLast) in ImplConvertUnicodeToIso2022Cn()
728 nOffset += 3 * (nChar - nFirst); in ImplConvertUnicodeToIso2022Cn()
763 nChar, in ImplConvertUnicodeToIso2022Cn()