Lines Matching refs:pDestBuf
39 sal_Unicode* pDestBuf, sal_Size nDestChars, in ImplDBCSToUnicode() argument
55 pEndDestBuf = pDestBuf+nDestChars; in ImplDBCSToUnicode()
203 if ( pDestBuf == pEndDestBuf ) in ImplDBCSToUnicode()
209 *pDestBuf = cConv; in ImplDBCSToUnicode()
210 pDestBuf++; in ImplDBCSToUnicode()
215 return (nDestChars - (pEndDestBuf-pDestBuf)); in ImplDBCSToUnicode()
222 sal_Char* pDestBuf, sal_Size nDestBytes, in ImplUnicodeToDBCS() argument
245 pEndDestBuf = pDestBuf+nDestBytes; in ImplUnicodeToDBCS()
339 &pDestBuf, in ImplUnicodeToDBCS()
351 if ( pDestBuf == pEndDestBuf ) in ImplUnicodeToDBCS()
357 *pDestBuf = (sal_Char)(sal_uChar)(cConv & 0xFF); in ImplUnicodeToDBCS()
358 pDestBuf++; in ImplUnicodeToDBCS()
362 if ( pDestBuf+1 >= pEndDestBuf ) in ImplUnicodeToDBCS()
368 *pDestBuf = (sal_Char)(sal_uChar)((cConv >> 8) & 0xFF); in ImplUnicodeToDBCS()
369 pDestBuf++; in ImplUnicodeToDBCS()
370 *pDestBuf = (sal_Char)(sal_uChar)(cConv & 0xFF); in ImplUnicodeToDBCS()
371 pDestBuf++; in ImplUnicodeToDBCS()
378 return (nDestBytes - (pEndDestBuf-pDestBuf)); in ImplUnicodeToDBCS()
391 sal_Unicode* pDestBuf, sal_Size nDestChars, in ImplEUCJPToUnicode() argument
408 pEndDestBuf = pDestBuf+nDestChars; in ImplEUCJPToUnicode()
536 if ( pDestBuf == pEndDestBuf ) in ImplEUCJPToUnicode()
542 *pDestBuf = cConv; in ImplEUCJPToUnicode()
543 pDestBuf++; in ImplEUCJPToUnicode()
548 return (nDestChars - (pEndDestBuf-pDestBuf)); in ImplEUCJPToUnicode()
556 sal_Char* pDestBuf, sal_Size nDestBytes, in ImplUnicodeToEUCJP() argument
573 pEndDestBuf = pDestBuf+nDestBytes; in ImplUnicodeToEUCJP()
631 &pDestBuf, in ImplUnicodeToEUCJP()
645 if ( pDestBuf == pEndDestBuf ) in ImplUnicodeToEUCJP()
651 *pDestBuf = (sal_Char)(sal_uChar)(cConv & 0xFF); in ImplUnicodeToEUCJP()
652 pDestBuf++; in ImplUnicodeToEUCJP()
657 if ( pDestBuf+1 >= pEndDestBuf ) in ImplUnicodeToEUCJP()
663 *pDestBuf = (sal_Char)(sal_uChar)((cConv >> 8) & 0xFF); in ImplUnicodeToEUCJP()
664 pDestBuf++; in ImplUnicodeToEUCJP()
665 *pDestBuf = (sal_Char)(sal_uChar)(cConv & 0xFF); in ImplUnicodeToEUCJP()
666 pDestBuf++; in ImplUnicodeToEUCJP()
670 if ( pDestBuf+2 >= pEndDestBuf ) in ImplUnicodeToEUCJP()
676 *pDestBuf = (sal_Char)(sal_uChar)((cConv >> 16) & 0xFF); in ImplUnicodeToEUCJP()
677 pDestBuf++; in ImplUnicodeToEUCJP()
678 *pDestBuf = (sal_Char)(sal_uChar)((cConv >> 8) & 0xFF); in ImplUnicodeToEUCJP()
679 pDestBuf++; in ImplUnicodeToEUCJP()
680 *pDestBuf = (sal_Char)(sal_uChar)(cConv & 0xFF); in ImplUnicodeToEUCJP()
681 pDestBuf++; in ImplUnicodeToEUCJP()
688 return (nDestBytes - (pEndDestBuf-pDestBuf)); in ImplUnicodeToEUCJP()