Searched refs:SrcBytes (Results 1 – 5 of 5) sorted by relevance
86 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out) { in convertUTF16ToUTF8String() argument90 if (SrcBytes.size() % 2) in convertUTF16ToUTF8String()94 if (SrcBytes.empty()) in convertUTF16ToUTF8String()97 const UTF16 *Src = reinterpret_cast<const UTF16 *>(SrcBytes.begin()); in convertUTF16ToUTF8String()98 const UTF16 *SrcEnd = reinterpret_cast<const UTF16 *>(SrcBytes.end()); in convertUTF16ToUTF8String()118 Out.resize(SrcBytes.size() * UNI_MAX_UTF8_BYTES_PER_CODE_POINT + 1); in convertUTF16ToUTF8String()
261 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);270 bool convertUTF16ToUTF8String(ArrayRef<char> SrcBytes, std::string &Out);
1145 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() local1146 if (!SrcBytes || !Alignment || *Alignment >= SrcBytes) in getMemoryOpCost()1176 Cost += LT.first * ((SrcBytes / Alignment->value()) - 1); in getMemoryOpCost()
78 const char *SrcBytes = reinterpret_cast<const char *>(V.bstrVal); in VariantFromVARIANT() local79 llvm::ArrayRef<char> SrcByteArray(SrcBytes, SysStringByteLen(V.bstrVal)); in VariantFromVARIANT()567 const char *SrcBytes = reinterpret_cast<const char *>(Result16.m_str); in getUndecoratedNameEx() local568 llvm::ArrayRef<char> SrcByteArray(SrcBytes, Result16.ByteLength()); in getUndecoratedNameEx()
4801 SmallVector<int, SystemZ::VectorBytes> SrcBytes; in tryPrepareForUnpack() local4806 SrcBytes.push_back(Bytes[Elt]); in tryPrepareForUnpack()4819 if (SrcBytes[i] != -1 && SrcBytes[i] % 16 != int(i)) { in tryPrepareForUnpack()