Lines Matching refs:nChar
84 sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++; in ImplConvertBig5HkscsToUnicode() local
86 if (nChar < 0x80) in ImplConvertBig5HkscsToUnicode()
88 *pDestBufPtr++ = (sal_Unicode) nChar; in ImplConvertBig5HkscsToUnicode()
91 else if (nChar >= 0x81 && nChar <= 0xFE) in ImplConvertBig5HkscsToUnicode()
92 nRow = nChar; in ImplConvertBig5HkscsToUnicode()
99 if ((nChar >= 0x40 && nChar <= 0x7E) in ImplConvertBig5HkscsToUnicode()
100 || (nChar >= 0xA1 && nChar <= 0xFE)) in ImplConvertBig5HkscsToUnicode()
111 if (nChar >= nFirst && nChar <= nLast) in ImplConvertBig5HkscsToUnicode()
113 = pBig5Hkscs2001Data[nOffset + (nChar - nFirst)]; in ImplConvertBig5HkscsToUnicode()
118 if (nChar >= nFirst in ImplConvertBig5HkscsToUnicode()
119 && nChar <= pBig5Data[nRow].mnTrailEnd) in ImplConvertBig5HkscsToUnicode()
122 = pBig5Data[nRow].mpToUniTrailTab[nChar - nFirst]; in ImplConvertBig5HkscsToUnicode()
141 if (nChar < p->mnTrail1Start) in ImplConvertBig5HkscsToUnicode()
143 if (nChar <= p->mnTrail1End) in ImplConvertBig5HkscsToUnicode()
149 + (nChar - p->mnTrail1Start); in ImplConvertBig5HkscsToUnicode()
153 || nChar < p->mnTrail2Start) in ImplConvertBig5HkscsToUnicode()
155 if (nChar <= p->mnTrail2End) in ImplConvertBig5HkscsToUnicode()
161 + (nChar - p->mnTrail2Start) in ImplConvertBig5HkscsToUnicode()
167 || nChar < p->mnTrail3Start) in ImplConvertBig5HkscsToUnicode()
169 if (nChar <= p->mnTrail3End) in ImplConvertBig5HkscsToUnicode()
175 + (nChar - p->mnTrail3Start) in ImplConvertBig5HkscsToUnicode()
198 nOffset + (nChar - nFirst)]; in ImplConvertBig5HkscsToUnicode()
308 sal_uInt32 nChar = *pSrcBuf++; in ImplConvertUnicodeToBig5Hkscs() local
311 if (ImplIsHighSurrogate(nChar)) in ImplConvertUnicodeToBig5Hkscs()
313 nHighSurrogate = (sal_Unicode) nChar; in ImplConvertUnicodeToBig5Hkscs()
317 else if (ImplIsLowSurrogate(nChar)) in ImplConvertUnicodeToBig5Hkscs()
318 nChar = ImplCombineSurrogates(nHighSurrogate, nChar); in ImplConvertUnicodeToBig5Hkscs()
325 if (ImplIsLowSurrogate(nChar) || ImplIsNoncharacter(nChar)) in ImplConvertUnicodeToBig5Hkscs()
331 if (nChar < 0x80) in ImplConvertUnicodeToBig5Hkscs()
333 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToBig5Hkscs()
339 sal_Int32 nOffset = pBig5Hkscs2001PlaneOffsets[nChar >> 16]; in ImplConvertUnicodeToBig5Hkscs()
343 = pBig5Hkscs2001PageOffsets[nOffset + ((nChar & 0xFF00) in ImplConvertUnicodeToBig5Hkscs()
350 sal_uInt32 nIndex = nChar & 0xFF; in ImplConvertUnicodeToBig5Hkscs()
360 sal_uInt32 nIndex1 = nChar >> 8; in ImplConvertUnicodeToBig5Hkscs()
363 sal_uInt32 nIndex2 = nChar & 0xFF; in ImplConvertUnicodeToBig5Hkscs()
381 if (nChar >= p->mnUniStart && nChar <= p->mnUniEnd) in ImplConvertUnicodeToBig5Hkscs()
383 sal_uInt32 nIndex = nChar - p->mnUniStart; in ImplConvertUnicodeToBig5Hkscs()
423 nChar, in ImplConvertUnicodeToBig5Hkscs()