Lines Matching refs:UTF16
36 UTF16 *targetStart = reinterpret_cast<UTF16 *>(ResultPtr);
94 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin());
95 const UTF16 *SrcEnd = reinterpret_cast<const UTF16 *>(SrcBytes.end());
97 assert((uintptr_t)Src % sizeof(UTF16) == 0);
100 std::vector<UTF16> ByteSwapped;
103 for (UTF16 &I : ByteSwapped)
134 bool convertUTF16ToUTF8String(ArrayRef<UTF16> Src, std::string &Out) {
137 Src.size() * sizeof(UTF16)),
200 SmallVectorImpl<UTF16> &DstUTF16) {
219 UTF16 *Dst = &DstUTF16[0];
220 UTF16 *DstEnd = Dst + DstUTF16.size();
282 llvm::ArrayRef<UTF16>(reinterpret_cast<const UTF16 *>(Source.data()),