Lines Matching refs:nChar
102 sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++; in ImplConvertIso2022JpToUnicode() local
106 if (nChar == 0x1B) /* ESC */ in ImplConvertIso2022JpToUnicode()
108 else if (nChar < 0x80) in ImplConvertIso2022JpToUnicode()
110 *pDestBufPtr++ = (sal_Unicode) nChar; in ImplConvertIso2022JpToUnicode()
121 if (nChar == 0x1B) /* ESC */ in ImplConvertIso2022JpToUnicode()
123 else if (nChar < 0x80) in ImplConvertIso2022JpToUnicode()
126 switch (nChar) in ImplConvertIso2022JpToUnicode()
129 nChar = 0xA5; /* YEN SIGN */ in ImplConvertIso2022JpToUnicode()
133 nChar = 0xAF; /* MACRON */ in ImplConvertIso2022JpToUnicode()
136 *pDestBufPtr++ = (sal_Unicode) nChar; in ImplConvertIso2022JpToUnicode()
148 if (nChar == 0x1B) /* ESC */ in ImplConvertIso2022JpToUnicode()
150 else if (nChar >= 0x21 && nChar <= 0x7E) in ImplConvertIso2022JpToUnicode()
152 nRow = nChar; in ImplConvertIso2022JpToUnicode()
163 if (nChar >= 0x21 && nChar <= 0x7E) in ImplConvertIso2022JpToUnicode()
167 if (nChar >= nFirst in ImplConvertIso2022JpToUnicode()
168 && nChar <= pJisX0208Data[nRow].mnTrailEnd) in ImplConvertIso2022JpToUnicode()
170 mpToUniTrailTab[nChar - nFirst]; in ImplConvertIso2022JpToUnicode()
190 switch (nChar) in ImplConvertIso2022JpToUnicode()
207 switch (nChar) in ImplConvertIso2022JpToUnicode()
224 switch (nChar) in ImplConvertIso2022JpToUnicode()
348 sal_uInt32 nChar = *pSrcBuf++; in ImplConvertUnicodeToIso2022Jp() local
351 if (ImplIsHighSurrogate(nChar)) in ImplConvertUnicodeToIso2022Jp()
353 nHighSurrogate = (sal_Unicode) nChar; in ImplConvertUnicodeToIso2022Jp()
357 else if (ImplIsLowSurrogate(nChar)) in ImplConvertUnicodeToIso2022Jp()
358 nChar = ImplCombineSurrogates(nHighSurrogate, nChar); in ImplConvertUnicodeToIso2022Jp()
365 if (ImplIsLowSurrogate(nChar) || ImplIsNoncharacter(nChar)) in ImplConvertUnicodeToIso2022Jp()
371 if (nChar == 0x0A || nChar == 0x0D) /* LF, CR */ in ImplConvertUnicodeToIso2022Jp()
386 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToIso2022Jp()
390 else if (nChar == 0x1B) in ImplConvertUnicodeToIso2022Jp()
392 else if (nChar < 0x80) in ImplConvertUnicodeToIso2022Jp()
407 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToIso2022Jp()
414 sal_uInt32 nIndex1 = nChar >> 8; in ImplConvertUnicodeToIso2022Jp()
417 sal_uInt32 nIndex2 = nChar & 0xFF; in ImplConvertUnicodeToIso2022Jp()
427 switch (nChar) in ImplConvertUnicodeToIso2022Jp()
470 nChar, in ImplConvertUnicodeToIso2022Jp()