Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/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()
116 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String()
142 bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF32ToUTF8String() argument
146 if (SrcBytes.size() % 4) in convertUTF32ToUTF8String()
150 if (SrcBytes.empty()) in convertUTF32ToUTF8String()
153 const UTF32 *Src = reinterpret_cast<const UTF32 *>(SrcBytes.begin()); in convertUTF32ToUTF8String()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DConvertUTF.h285 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
294 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
312 bool convertUTF32ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
/openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp794 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local
795 if (!SrcBytes || !Alignment || *Alignment >= SrcBytes) in getMemoryOpCost()
825 Cost += LT.first * ((SrcBytes / Alignment->value()) - 1); in getMemoryOpCost()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/
DDIARawSymbol.cpp78 const char *SrcBytes = reinterpret_cast<const char *>(V.bstrVal); in VariantFromVARIANT() local
79 llvm::ArrayRef<char> SrcByteArray(SrcBytes, SysStringByteLen(V.bstrVal)); in VariantFromVARIANT()
567 const char *SrcBytes = reinterpret_cast<const char *>(Result16.m_str); in getUndecoratedNameEx() local
568 llvm::ArrayRef<char> SrcByteArray(SrcBytes, Result16.ByteLength()); in getUndecoratedNameEx()
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp5090 SmallVector<int, SystemZ::VectorBytes> SrcBytes; in tryPrepareForUnpack() local
5095 SrcBytes.push_back(Bytes[Elt]); in tryPrepareForUnpack()
5108 if (SrcBytes[i] != -1 && SrcBytes[i] % 16 != int(i)) { in tryPrepareForUnpack()