Home
last modified time | relevance | path

Searched refs:SrcBytes (Results 1 – 3 of 3) sorted by relevance

/trueos/contrib/llvm/lib/Support/
HDConvertUTFWrapper.cpp84 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF16ToUTF8String() argument
88 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()
113 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT); in convertUTF16ToUTF8String()
/trueos/contrib/llvm/lib/Target/PowerPC/
HDPPCTargetTransformInfo.cpp243 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local
244 if (SrcBytes && Alignment && Alignment < SrcBytes) in getMemoryOpCost()
245 Cost *= (SrcBytes/Alignment); in getMemoryOpCost()
/trueos/contrib/llvm/include/llvm/Support/
HDConvertUTF.h231 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
240 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);