Searched refs:SrcBytes (Results 1 – 4 of 4) sorted by relevance
84 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF16ToUTF8String() argument88 if (SrcBytes.size() % 2) in convertUTF16ToUTF8String()92 if (SrcBytes.empty()) in convertUTF16ToUTF8String()95 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin()); in convertUTF16ToUTF8String()96 const UTF16 *SrcEnd = reinterpret_cast<const UTF16 *>(SrcBytes.end()); in convertUTF16ToUTF8String()114 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String()
336 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local337 if (SrcBytes && Alignment && Alignment < SrcBytes && !UnalignedAltivec) { in getMemoryOpCost()338 Cost += LT.first*(SrcBytes/Alignment-1); in getMemoryOpCost()
243 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);252 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
102 const char *SrcBytes = reinterpret_cast<const char *>(Result16.m_str); in PrivateGetDIAValue() local103 llvm::ArrayRef<char> SrcByteArray(SrcBytes, Result16.ByteLength()); in PrivateGetDIAValue()