reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/BinaryStreamRef.h
  188   Error readBytes(uint32_t Offset, uint32_t Size,

References

include/llvm/Support/BinaryStreamArray.h
  283     if (auto EC = Stream.readBytes(Off, sizeof(T), Data)) {
lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  360   cantFail(Stream.readBytes(0, Stream.getLength(), Buffer));
lib/DebugInfo/MSF/MappedBlockStream.cpp
  188   if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData))
  230   if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) {
  256     if (auto EC = MsfData.readBytes(Offset, BlockSize, BlockData))
lib/Support/BinaryStreamReader.cpp
   38   if (auto EC = Stream.readBytes(Offset, Size, Buffer))
  162   auto EC = Stream.readBytes(Offset, 1, Buffer);
tools/lld/COFF/PDB.cpp
  828   cantFail(symData.readBytes(0, symData.getLength(), symsBuffer));
tools/llvm-pdbutil/DumpOutputStyle.cpp
 1223     cantFail(NameBuffer.readBytes(0, NameBuffer.getLength(), Contents));
tools/llvm-pdbutil/ExplainOutputStyle.cpp
  219   cantFail(File.pdb().getMsfBuffer().readBytes(FileOffset, 1, Bytes));
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
   95   EXPECT_THAT_ERROR(SR.readBytes(0U, 1U, Buffer), Failed());
   97   EXPECT_THAT_ERROR(SR.readBytes(1U, 1U, Buffer), Failed());
unittests/Support/BinaryStreamTest.cpp
  225     ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded());
  236     EXPECT_THAT_ERROR(Ref.readBytes(0, 6, Buffer), Failed());
  242     ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded());
  258     EXPECT_THAT_ERROR(Ref.readBytes(2, 2, Buffer), Failed());
  326   EXPECT_THAT_ERROR(Original.readBytes(0, InputData.size(), Result),
  331   EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result),
  336   EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result),
  341   EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result),
  346   EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result),
  351   EXPECT_THAT_ERROR(Dropped.readBytes(0, Dropped.getLength(), Result),
  479       if (auto EC = Stream.readBytes(0, Len, Bytes))