Home
last modified time | relevance | path

Searched refs:ArrayOutputStream (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
153 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
227 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
239 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
263 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
Dzero_copy_stream_impl_lite.cc110 ArrayOutputStream::ArrayOutputStream(void* data, int size, int block_size) in ArrayOutputStream() function in google::protobuf::io::ArrayOutputStream
118 ArrayOutputStream::~ArrayOutputStream() { in ~ArrayOutputStream()
121 bool ArrayOutputStream::Next(void** data, int* size) { in Next()
135 void ArrayOutputStream::BackUp(int count) { in BackUp()
144 int64 ArrayOutputStream::ByteCount() const { in ByteCount()
Dzero_copy_stream_unittest.cc278 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
300 ArrayOutputStream* output = in TEST_F()
301 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
308 output = new ArrayOutputStream( in TEST_F()
350 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
385 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
417 ArrayOutputStream output(buffer, kBufferSize, block_size); in TEST_F()
445 ArrayOutputStream output(buffer, kBufferSize, block_size); in TEST_F()
476 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
504 ArrayOutputStream output(buffer, kBufferSize); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.h95 class LIBPROTOBUF_EXPORT ArrayOutputStream : public ZeroCopyOutputStream {
104 ArrayOutputStream(void* data, int size, int block_size = -1);
105 ~ArrayOutputStream();
121 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayOutputStream);
Dcoded_stream_unittest.cc317 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
334 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
360 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
552 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
568 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
626 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_1D()
958 ArrayOutputStream output(buffer_, sizeof(buffer_), 8); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc627 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
646 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
1850 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1871 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1893 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1914 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1935 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1956 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
/external/protobuf/src/google/protobuf/
Dmessage_lite.cc221 io::ArrayOutputStream out(target, size); in SerializeWithCachedSizesToArray()
Dmessage_unittest.cc247 io::ArrayOutputStream raw_output(NULL, 0); in TEST()
Dextension_set_unittest.cc370 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
414 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
Dunknown_field_set_unittest.cc200 io::ArrayOutputStream raw_stream(string_as_array(&slow_buffer), size, 1); in TEST_F()
Dtext_format_unittest.cc385 io::ArrayOutputStream output_stream(buffer, 1); in TEST_F()
Dwire_format_unittest.cc491 io::ArrayOutputStream array_stream(string_as_array(&stream_data), size, 1); in TEST()