Searched refs:GrowingArrayByteSink (Results 1 – 3 of 3) sorted by relevance
85 GrowingArrayByteSink::GrowingArrayByteSink(size_t estimated_size) in GrowingArrayByteSink() function in google::protobuf::strings::GrowingArrayByteSink91 GrowingArrayByteSink::~GrowingArrayByteSink() { in ~GrowingArrayByteSink()95 void GrowingArrayByteSink::Append(const char* bytes, size_t n) { in Append()112 char* GrowingArrayByteSink::GetBuffer(size_t* nbytes) { in GetBuffer()121 void GrowingArrayByteSink::Expand(size_t amount) { // Expand by at least 50%. in Expand()130 void GrowingArrayByteSink::ShrinkToFit() { in ShrinkToFit()
226 class LIBPROTOBUF_EXPORT GrowingArrayByteSink : public strings::ByteSink {228 explicit GrowingArrayByteSink(size_t estimated_size);229 virtual ~GrowingArrayByteSink();243 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(GrowingArrayByteSink);
75 using strings::GrowingArrayByteSink;105 output_(new GrowingArrayByteSink(1000)), in BaseProtoStreamObjectWriterTest()111 output_(new GrowingArrayByteSink(1000)), in BaseProtoStreamObjectWriterTest()122 output_(new GrowingArrayByteSink(1000)), in BaseProtoStreamObjectWriterTest()168 google::protobuf::scoped_ptr<GrowingArrayByteSink> output_;