Lines Matching refs:ResultPtr
20 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() argument
30 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide()
31 ResultPtr += Source.size(); in ConvertUTF8toWide()
37 UTF16 *targetStart = reinterpret_cast<UTF16*>(ResultPtr); in ConvertUTF8toWide()
43 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
50 UTF32 *targetStart = reinterpret_cast<UTF32*>(ResultPtr); in ConvertUTF8toWide()
56 ResultPtr = reinterpret_cast<char*>(targetStart); in ConvertUTF8toWide()
65 bool ConvertCodePointToUTF8(unsigned Source, char *&ResultPtr) { in ConvertCodePointToUTF8() argument
68 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8()
76 ResultPtr = reinterpret_cast<char*>(TargetStart); in ConvertCodePointToUTF8()
193 char *ResultPtr = reinterpret_cast<char *>(&Result[0]); in ConvertUTF8toWideInternal() local
195 if (!ConvertUTF8toWide(sizeof(wchar_t), Source, ResultPtr, ErrorPtr)) { in ConvertUTF8toWideInternal()
199 Result.resize(reinterpret_cast<wchar_t *>(ResultPtr) - &Result[0]); in ConvertUTF8toWideInternal()
235 UTF8 *ResultPtr = reinterpret_cast<UTF8 *>(&Result[0]); in convertWideToUTF8() local
237 if (ConvertUTF32toUTF8(&Start, End, &ResultPtr, ResultEnd, in convertWideToUTF8()
239 Result.resize(reinterpret_cast<char *>(ResultPtr) - &Result[0]); in convertWideToUTF8()