Lines Matching refs:pDestBufPtr
83 sal_Unicode * pDestBufPtr = pDestBuf; in ImplConvertUtf8ToUnicode() local
84 sal_Unicode * pDestBufEnd = pDestBufPtr + nDestChars; in ImplConvertUtf8ToUnicode()
160 if (pDestBufPtr != pDestBufEnd) in ImplConvertUtf8ToUnicode()
161 *pDestBufPtr++ = (sal_Unicode) nUtf32; in ImplConvertUtf8ToUnicode()
165 if (pDestBufEnd - pDestBufPtr >= 2) in ImplConvertUtf8ToUnicode()
167 *pDestBufPtr++ = (sal_Unicode) ImplGetHighSurrogate(nUtf32); in ImplConvertUtf8ToUnicode()
168 *pDestBufPtr++ = (sal_Unicode) ImplGetLowSurrogate(nUtf32); in ImplConvertUtf8ToUnicode()
184 bUndefined, sal_True, 0, nFlags, &pDestBufPtr, pDestBufEnd, in ImplConvertUtf8ToUnicode()
221 sal_False, sal_True, 0, nFlags, &pDestBufPtr, in ImplConvertUtf8ToUnicode()
246 return pDestBufPtr - pDestBuf; in ImplConvertUtf8ToUnicode()
273 sal_Char * pDestBufPtr = pDestBuf; in ImplConvertUnicodeToUtf8() local
274 sal_Char * pDestBufEnd = pDestBufPtr + nDestBytes; in ImplConvertUnicodeToUtf8()
285 if (pDestBufEnd - pDestBufPtr >= 3) in ImplConvertUnicodeToUtf8()
288 *pDestBufPtr++ = (sal_Char) (unsigned char) 0xEF; in ImplConvertUnicodeToUtf8()
289 *pDestBufPtr++ = (sal_Char) (unsigned char) 0xBB; in ImplConvertUnicodeToUtf8()
290 *pDestBufPtr++ = (sal_Char) (unsigned char) 0xBF; in ImplConvertUnicodeToUtf8()
322 if (pDestBufPtr != pDestBufEnd) in ImplConvertUnicodeToUtf8()
323 *pDestBufPtr++ = (sal_Char) nChar; in ImplConvertUnicodeToUtf8()
327 if (pDestBufEnd - pDestBufPtr >= 2) in ImplConvertUnicodeToUtf8()
329 *pDestBufPtr++ = (sal_Char) (0xC0 | (nChar >> 6)); in ImplConvertUnicodeToUtf8()
330 *pDestBufPtr++ = (sal_Char) (0x80 | (nChar & 0x3F)); in ImplConvertUnicodeToUtf8()
335 if (pDestBufEnd - pDestBufPtr >= 3) in ImplConvertUnicodeToUtf8()
337 *pDestBufPtr++ = (sal_Char) (0xE0 | (nChar >> 12)); in ImplConvertUnicodeToUtf8()
338 *pDestBufPtr++ = (sal_Char) (0x80 | ((nChar >> 6) & 0x3F)); in ImplConvertUnicodeToUtf8()
339 *pDestBufPtr++ = (sal_Char) (0x80 | (nChar & 0x3F)); in ImplConvertUnicodeToUtf8()
343 else if (pDestBufEnd - pDestBufPtr >= 4) in ImplConvertUnicodeToUtf8()
345 *pDestBufPtr++ = (sal_Char) (0xF0 | (nChar >> 18)); in ImplConvertUnicodeToUtf8()
346 *pDestBufPtr++ = (sal_Char) (0x80 | ((nChar >> 12) & 0x3F)); in ImplConvertUnicodeToUtf8()
347 *pDestBufPtr++ = (sal_Char) (0x80 | ((nChar >> 6) & 0x3F)); in ImplConvertUnicodeToUtf8()
348 *pDestBufPtr++ = (sal_Char) (0x80 | (nChar & 0x3F)); in ImplConvertUnicodeToUtf8()
357 &pDestBufPtr, in ImplConvertUnicodeToUtf8()
390 &pDestBufPtr, in ImplConvertUnicodeToUtf8()
414 return pDestBufPtr - pDestBuf; in ImplConvertUnicodeToUtf8()