Searched refs:stream_writer_ (Results 1 – 3 of 3) sorted by relevance
56 stream_writer_.reset(new ScatteredStreamWriter(buffer_.get())); in SetUp()74 stream_writer_.reset(); in TearDown()78 void ResetMessage(FakeRootMessage* msg) { msg->Reset(stream_writer_.get()); } in ResetMessage()91 msg->Reset(stream_writer_.get()); in NewMessage()99 stream_writer_->bytes_available(); in GetNumSerializedBytes()129 std::unique_ptr<ScatteredStreamWriter> stream_writer_; member in protozero::__anond5a56dfb0111::MessageTest
56 stream_writer_ = stream_writer; in Reset()153 message->Reset(stream_writer_, arena_); in BeginNestedMessageInternal()158 stream_writer_->ReserveBytes(proto_utils::kMessageLengthFieldSize)); in BeginNestedMessageInternal()
176 const ScatteredStreamWriter* stream_writer() const { return stream_writer_; } in stream_writer()201 stream_writer_->WriteBytes(src_begin, size); in WriteToStream()209 ScatteredStreamWriter* stream_writer_; variable