Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc58 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
67 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
92 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
120 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
155 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
209 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
252 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
292 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
316 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
341 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
[all …]
Dzero_copy_stream_impl_lite.cc112 ArrayOutputStream::ArrayOutputStream(void* data, int size, int block_size) in ArrayOutputStream() function in google::protobuf::io::ArrayOutputStream
120 ArrayOutputStream::~ArrayOutputStream() { in ~ArrayOutputStream()
123 bool ArrayOutputStream::Next(void** data, int* size) { in Next()
137 void ArrayOutputStream::BackUp(int count) { in BackUp()
146 int64 ArrayOutputStream::ByteCount() const { in ByteCount()
Dzero_copy_stream_unittest.cc283 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
305 ArrayOutputStream* output = in TEST_F()
306 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
313 output = new ArrayOutputStream( in TEST_F()
355 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
390 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
422 ArrayOutputStream output(buffer, kBufferSize, block_size); in TEST_F()
450 ArrayOutputStream output(buffer, kBufferSize, block_size); in TEST_F()
481 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
509 ArrayOutputStream output(buffer, kBufferSize); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.h101 class LIBPROTOBUF_EXPORT ArrayOutputStream : public ZeroCopyOutputStream {
110 ArrayOutputStream(void* data, int size, int block_size = -1);
111 ~ArrayOutputStream();
127 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayOutputStream);
Dcoded_stream_unittest.cc324 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
341 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
367 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
559 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
575 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
633 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_1D()
965 ArrayOutputStream output(buffer_, sizeof(buffer_), 8); in TEST_F()
/external/protobuf/src/google/protobuf/
Dmessage_unittest.cc284 io::ArrayOutputStream coded_raw_output(NULL, 100); in TEST()
291 io::ArrayOutputStream raw_output(NULL, 0); in TEST()
Dmessage_lite.cc228 io::ArrayOutputStream out(target, size); in SerializeWithCachedSizesToArray()
Dextension_set_unittest.cc482 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
526 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
Dunknown_field_set_unittest.cc203 io::ArrayOutputStream raw_stream(string_as_array(&slow_buffer), size, 1); in TEST_F()
Dlite_unittest.cc540 google::protobuf::io::ArrayOutputStream array_stream( in main()
Dtext_format_unittest.cc390 io::ArrayOutputStream output_stream(buffer, 1); in TEST_F()
Dwire_format_unittest.cc495 io::ArrayOutputStream array_stream(string_as_array(&stream_data), size, 1); in TEST()
Dmap_test.cc2025 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc652 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
671 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST()
1915 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1936 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1958 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
1979 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
2000 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()
2021 io::ArrayOutputStream array_stream(string_as_array(&data), size, 1); in TEST_F()