Home
last modified time | relevance | path

Searched refs:GetWrittenBytes (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DStreamTest.cpp167 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
171 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
177 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
181 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
185 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
189 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
195 EXPECT_EQ(0U, s.GetWrittenBytes()); in TEST_F()
199 EXPECT_EQ(6U, s.GetWrittenBytes()); in TEST_F()
203 EXPECT_EQ(1U, s.GetWrittenBytes()); in TEST_F()
209 EXPECT_EQ(0U, s.GetWrittenBytes()); in TEST_F()
[all …]
/external/llvm-project/lldb/source/Core/
DOpcode.cpp25 const uint32_t previous_bytes = s->GetWrittenBytes(); in Dump()
54 uint32_t bytes_written_so_far = s->GetWrittenBytes() - previous_bytes; in Dump()
59 return s->GetWrittenBytes() - previous_bytes; in Dump()
DSourceManager.cpp554 size_t bytes_written = s->GetWrittenBytes(); in DisplaySourceLines()
598 return s->GetWrittenBytes() - bytes_written; in DisplaySourceLines()
/external/llvm-project/lldb/include/lldb/Utility/
DStream.h49 ByteDelta(Stream &s) : m_stream(&s), m_start(s.GetWrittenBytes()) {} in ByteDelta()
52 size_t operator*() const { return m_stream->GetWrittenBytes() - m_start; }
107 size_t GetWrittenBytes() const { return m_bytes_written; } in GetWrittenBytes() function
403 return m_target.GetWrittenBytes(); in current_pos()