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

References

include/llvm/Support/BinaryStreamArray.h
  113   bool empty() const { return Stream.getLength() == 0; }
  161     if (IterRef.getLength() == 0)
  207       if (IterRef.getLength() == 0) {
  266     assert(Stream.getLength() % sizeof(T) == 0);
  293   uint32_t size() const { return Stream.getLength() / sizeof(T); }
include/llvm/Support/BinaryStreamReader.h
  256   uint32_t getLength() const { return Stream.getLength(); }
include/llvm/Support/BinaryStreamRef.h
   65     N = std::min(N, getLength());
   84     N = std::min(N, getLength());
   92       Result.Length = getLength();
  100     assert(N <= getLength());
  101     return drop_back(getLength() - N);
  106     assert(N <= getLength());
  107     return drop_front(getLength() - N);
  136     if (Offset > getLength())
  138     if (getLength() < DataSize + Offset)
  218   uint32_t size() const { return StreamData.getLength(); }
  234     if (Offset > getLength())
include/llvm/Support/BinaryStreamWriter.h
  185   uint32_t getLength() const { return Stream.getLength(); }
lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp
   48   return sizeof(DebugSubsectionHeader) + Data.getLength();
   65                                  : Contents.getRecordData().getLength();
   80                                  : Contents.getRecordData().getLength();
lib/DebugInfo/CodeView/TypeStreamMerger.cpp
  360   cantFail(Stream.readBytes(0, Stream.getLength(), Buffer));
lib/DebugInfo/PDB/Native/DbiModuleList.cpp
  175   if (ModInfo.getLength() == 0)
  180   if (auto EC = Reader.readArray(Descriptors, ModInfo.getLength()))
  189   if (FileInfo.getLength() == 0)
lib/Support/BinaryStreamRef.cpp
   97   uint32_t MaxLength = getLength() - Offset;
lib/Support/BinaryStreamWriter.cpp
   62   return writeStreamRef(Ref, Ref.getLength());
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
  363   cantFail(Reader.readArray(ModuleDescriptors, ModiSubstreamData.getLength()));
unittests/Support/BinaryStreamTest.cpp
  224     ASSERT_EQ(InputData.size(), Ref.getLength());
  279   EXPECT_EQ(0U, ConstRef.getLength());
  285   EXPECT_EQ(2U, ConstRef.getLength());
  296   EXPECT_EQ(1U, Dropped.getLength());
  299   EXPECT_EQ(4U, ConstRef.getLength());
  300   EXPECT_EQ(3U, Dropped.getLength());
  306   EXPECT_EQ(6U, ConstRef.getLength());
  307   EXPECT_EQ(5U, Dropped.getLength());
  313   EXPECT_EQ(8U, ConstRef.getLength());
  314   EXPECT_EQ(4U, Dropped.getLength());
  324   ASSERT_EQ(InputData.size(), Original.getLength());
  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),