Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DConvertUTFWrapper.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()
114 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp336 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local
337 if (SrcBytes && Alignment && Alignment < SrcBytes && !UnalignedAltivec) { in getMemoryOpCost()
338 Cost += LT.first*(SrcBytes/Alignment-1); in getMemoryOpCost()
/external/llvm/include/llvm/Support/
DConvertUTF.h243 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
252 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIARawSymbol.cpp102 const char *SrcBytes = reinterpret_cast<const char *>(Result16.m_str); in PrivateGetDIAValue() local
103 llvm::ArrayRef<char> SrcByteArray(SrcBytes, Result16.ByteLength()); in PrivateGetDIAValue()