Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 25 of 25) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DBinaryStreamRef.cpp24 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in __anon62fa0aa10111::ArrayRefImpl
26 return BBS.readBytes(Offset, Size, Buffer); in readBytes()
47 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in __anon62fa0aa10111::MutableArrayRefImpl
49 return BBS.readBytes(Offset, Size, Buffer); in readBytes()
78 Error BinaryStreamRef::readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in BinaryStreamRef
82 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
H A DBinaryStreamReader.cpp37 Error BinaryStreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { in readBytes() function in BinaryStreamReader
38 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) in readBytes()
50 if (auto Err = readBytes(NextByte, 1)) in readULEB128()
65 if (auto Err = readBytes(NextByte, 1)) in readSLEB128()
124 if (auto EC = readBytes(Bytes, Length)) in readFixedString()
162 auto EC = Stream.readBytes(Offset, 1, Buffer); in peek()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DBinaryByteStream.h40 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function
99 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function
101 return ImmutableStream.readBytes(Offset, Size, Buffer); in readBytes()
147 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function
240 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function
242 return Impl.readBytes(Offset, Size, Buffer); in readBytes()
H A DBinaryStreamReader.h59 Error readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size);
73 if (auto EC = readBytes(Bytes, sizeof(T))) in readInteger()
164 if (auto EC = readBytes(Buffer, sizeof(T))) in readObject()
191 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) in readArray()
H A DBinaryStream.h44 virtual Error readBytes(uint64_t Offset, uint64_t Size,
H A DBinaryItemStream.h41 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function
H A DBinaryStreamRef.h187 Error readBytes(uint64_t Offset, uint64_t Size,
H A DBinaryStreamArray.h285 if (auto EC = Stream.readBytes(Off, sizeof(T), Data)) {
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp87 Error MappedBlockStream::readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in MappedBlockStream
151 if (auto EC = readBytes(Offset, MutableArrayRef<uint8_t>(WriteBuffer, Size))) in readBytes()
187 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) in readLongestContiguousChunk()
229 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) { in tryReadContiguously()
238 Error MappedBlockStream::readBytes(uint64_t Offset, in readBytes() function in MappedBlockStream
255 if (auto EC = MsfData.readBytes(Offset, BlockSize, BlockData)) in readBytes()
372 Error WritableMappedBlockStream::readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in WritableMappedBlockStream
374 return ReadInterface.readBytes(Offset, Size, Buffer); in readBytes()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h61 Error readBytes(uint64_t Offset, uint64_t Size,
84 Error readBytes(uint64_t Offset, MutableArrayRef<uint8_t> Buffer);
128 Error readBytes(uint64_t Offset, uint64_t Size,
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp138 Error FDSimpleRemoteEPCTransport::readBytes(char *Dst, size_t Size, in readBytes() function in llvm::orc::FDSimpleRemoteEPCTransport
194 if (auto Err2 = readBytes(HeaderBuffer, FDMsgHeader::Size, &IsEOF)) { in listenLoop()
227 if (auto Err2 = readBytes(ArgBytes.data(), ArgBytes.size())) { in listenLoop()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp60 cantFail(Reader.readBytes(S, 8)); in fromDebugH()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DDebugChecksumsSubsection.cpp44 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize)) in operator ()()
H A DCodeViewRecordIO.cpp112 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) in mapByteVectorTail()
247 if (auto EC = Reader->readBytes(GuidBytes, GuidSize)) in mapGuid()
H A DTypeStreamMerger.cpp345 cantFail(Stream.readBytes(0, Stream.getLength(), Buffer)); in remapAllTypes()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DCVRecord.h105 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
H A DTypeDeserializer.h154 if (auto EC = Mapping.Reader.readBytes(CVR.Data, RecordLength)) in visitKnownMemberImpl()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp109 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData()
158 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) in parseFileHeaders()
H A DLinePrinter.cpp238 consumeError(Reader.readBytes(Data, Len)); in formatMsfStreamData()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.h130 Error readBytes(char *Dst, size_t Size, bool *IsEOF = nullptr);
/openbsd-src/gnu/llvm/lld/COFF/
H A DPDB.cpp596 cantFail(symData.readBytes(0, symData.getLength(), symsBuffer)); in analyzeSymbolSubsection()
675 cantFail(sr.readBytes(0, sr.getLength(), symsBuffer)); in writeAllModuleSymbolRecords()
893 cantFail(sr.readBytes(0, sr.getLength(), subsec)); in addUnrelocatedSubsection()
907 cantFail(sr.readBytes(0, sr.getLength(), subsec)); in addFrameDataSubsection()
H A DDebugTypes.cpp784 checkError(stream.readBytes(0, stream.getLength(), debugTypes)); in typeArrayToBytes()
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp439 auto EC = Reader.readBytes(Data, Size); in dumpByteRanges()
H A DExplainOutputStyle.cpp222 cantFail(File.pdb().getMsfBuffer().readBytes(FileOffset, 1, Bytes)); in explainPdbFpmBlockOffset()
H A DDumpOutputStyle.cpp1114 cantFail(NameBuffer.readBytes(0, NameBuffer.getLength(), Contents)); in dumpStringTableFromPdb()