| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | BinaryStreamRef.cpp | 24 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in __anon5a058c9a0111::ArrayRefImpl 26 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 47 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in __anon5a058c9a0111::MutableArrayRefImpl 49 return BBS.readBytes(Offset, Size, Buffer); in readBytes() 79 Error BinaryStreamRef::readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in BinaryStreamRef 83 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
|
| H A D | BinaryStreamReader.cpp | 37 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | BinaryByteStream.h | 40 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 D | BinaryStreamReader.h | 59 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 D | BinaryStream.h | 44 virtual Error readBytes(uint64_t Offset, uint64_t Size,
|
| H A D | BinaryItemStream.h | 41 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function
|
| H A D | BinaryStreamRef.h | 187 Error readBytes(uint64_t Offset, uint64_t Size,
|
| H A D | BinaryStreamArray.h | 285 if (auto EC = Stream.readBytes(Off, sizeof(T), Data)) {
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | BinaryStreamTest.cpp | 34 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in __anone0c2a0990111::BrokenStream 211 EXPECT_THAT_ERROR(Stream.Input->readBytes(4, 2, Buffer), Failed()); in TEST_F() 225 ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded()); in TEST_F() 236 EXPECT_THAT_ERROR(Ref.readBytes(0, 6, Buffer), Failed()); in TEST_F() 242 ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded()); in TEST_F() 258 EXPECT_THAT_ERROR(Ref.readBytes(2, 2, Buffer), Failed()); in TEST_F() 326 EXPECT_THAT_ERROR(Original.readBytes(0, InputData.size(), Result), in TEST_F() 331 EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result), in TEST_F() 336 EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result), in TEST_F() 341 EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result), in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/ |
| H A D | MappedBlockStream.cpp | 87 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()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/ |
| H A D | MappedBlockStreamTest.cpp | 39 Error readBytes(uint64_t Offset, uint64_t Size, in readBytes() function in __anon8ef2c6610111::DiscontiguousStream 95 EXPECT_THAT_ERROR(SR.readBytes(0U, 1U, Buffer), Failed()); in TEST() 97 EXPECT_THAT_ERROR(SR.readBytes(1U, 1U, Buffer), Failed()); in TEST() 268 EXPECT_THAT_ERROR(S->readBytes(0, 1, Buffer), Succeeded()); in TEST() 270 EXPECT_THAT_ERROR(S->readBytes(9, 1, Buffer), Succeeded()); in TEST() 276 EXPECT_THAT_ERROR(S->readBytes(0, 1, Buffer), Succeeded()); in TEST() 278 EXPECT_THAT_ERROR(S->readBytes(9, 1, Buffer), Succeeded()); in TEST() 284 EXPECT_THAT_ERROR(S->readBytes(0, 1, Buffer), Succeeded()); in TEST() 286 EXPECT_THAT_ERROR(S->readBytes(9, 1, Buffer), Succeeded()); in TEST() 306 EXPECT_THAT_ERROR(S->readBytes(0, 8, Buffer), Succeeded()); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/MSF/ |
| H A D | MappedBlockStream.h | 61 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,
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/Shared/ |
| H A D | SimpleRemoteEPCUtils.cpp | 138 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()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLTypeHashing.cpp | 60 cantFail(Reader.readBytes(S, 8)); in fromDebugH()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugChecksumsSubsection.cpp | 44 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize)) in operator ()()
|
| H A D | CodeViewRecordIO.cpp | 112 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) in mapByteVectorTail() 247 if (auto EC = Reader->readBytes(GuidBytes, GuidSize)) in mapGuid()
|
| H A D | TypeStreamMerger.cpp | 346 cantFail(Stream.readBytes(0, Stream.getLength(), Buffer)); in remapAllTypes()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CVRecord.h | 105 if (auto EC = Reader.readBytes(RawData, Prefix->RecordLen + sizeof(uint16_t))) in readCVRecordFromStream()
|
| H A D | TypeDeserializer.h | 154 if (auto EC = Mapping.Reader.readBytes(CVR.Data, RecordLength)) in visitKnownMemberImpl()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | PDBFile.cpp | 109 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData() 158 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) in parseFileHeaders()
|
| H A D | LinePrinter.cpp | 238 consumeError(Reader.readBytes(Data, Len)); in formatMsfStreamData()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | SimpleRemoteEPCUtils.h | 130 Error readBytes(char *Dst, size_t Size, bool *IsEOF = nullptr);
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | PDB.cpp | 592 cantFail(symData.readBytes(0, symData.getLength(), symsBuffer)); in analyzeSymbolSubsection() 670 cantFail(sr.readBytes(0, sr.getLength(), symsBuffer)); in writeAllModuleSymbolRecords() 886 cantFail(sr.readBytes(0, sr.getLength(), subsec)); in addUnrelocatedSubsection() 900 cantFail(sr.readBytes(0, sr.getLength(), subsec)); in addFrameDataSubsection()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | BytesOutputStyle.cpp | 439 auto EC = Reader.readBytes(Data, Size); in dumpByteRanges()
|
| H A D | ExplainOutputStyle.cpp | 222 cantFail(File.pdb().getMsfBuffer().readBytes(FileOffset, 1, Bytes)); in explainPdbFpmBlockOffset()
|