Home
last modified time | relevance | path

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

/external/perfetto/src/protozero/test/
Dfake_scattered_buffer.cc41 FakeScatteredBuffer::FakeScatteredBuffer(size_t chunk_size) in FakeScatteredBuffer() function in protozero::FakeScatteredBuffer
44 FakeScatteredBuffer::~FakeScatteredBuffer() {} in ~FakeScatteredBuffer()
46 ContiguousMemoryRange FakeScatteredBuffer::GetNewBuffer() { in GetNewBuffer()
54 std::string FakeScatteredBuffer::GetChunkAsString(size_t chunk_index) { in GetChunkAsString()
58 void FakeScatteredBuffer::GetBytes(size_t start, size_t length, uint8_t* buf) { in GetBytes()
67 std::string FakeScatteredBuffer::GetBytesAsString(size_t start, size_t length) { in GetBytesAsString()
Dfake_scattered_buffer.h30 class FakeScatteredBuffer : public ScatteredStreamWriter::Delegate {
32 explicit FakeScatteredBuffer(size_t chunk_size);
33 ~FakeScatteredBuffer() override;
/external/perfetto/src/protozero/
Dscattered_stream_writer_unittest.cc33 FakeScatteredBuffer delegate(kChunkSize); in TEST()
Dmessage_unittest.cc55 buffer_.reset(new FakeScatteredBuffer(kChunkSize)); in SetUp()
128 std::unique_ptr<FakeScatteredBuffer> buffer_;