Home
last modified time | relevance | path

Searched refs:GrowingArrayByteSink (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dbytestream.cc85 GrowingArrayByteSink::GrowingArrayByteSink(size_t estimated_size) in GrowingArrayByteSink() function in google::protobuf::strings::GrowingArrayByteSink
91 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()
Dbytestream.h226 class LIBPROTOBUF_EXPORT GrowingArrayByteSink : public strings::ByteSink {
228 explicit GrowingArrayByteSink(size_t estimated_size);
229 virtual ~GrowingArrayByteSink();
243 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(GrowingArrayByteSink);
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc75 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_;