Searched refs:FakeScatteredBuffer (Results 1 – 4 of 4) sorted by relevance
41 FakeScatteredBuffer::FakeScatteredBuffer(size_t chunk_size) in FakeScatteredBuffer() function in protozero::FakeScatteredBuffer44 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()
30 class FakeScatteredBuffer : public ScatteredStreamWriter::Delegate {32 explicit FakeScatteredBuffer(size_t chunk_size);33 ~FakeScatteredBuffer() override;
33 FakeScatteredBuffer delegate(kChunkSize); in TEST()
55 buffer_.reset(new FakeScatteredBuffer(kChunkSize)); in SetUp()128 std::unique_ptr<FakeScatteredBuffer> buffer_;