Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc57 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
66 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
92 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
121 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
157 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
212 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
255 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
295 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
319 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
344 ArrayOutputStream output(buffer, sizeof(buffer)); in TEST()
[all …]
Dzero_copy_stream_unittest.cc288 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
310 ArrayOutputStream* output = in TEST_F()
311 new ArrayOutputStream(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
318 output = new ArrayOutputStream(buffer + pos, kBufferSize - pos, in TEST_F()
360 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
394 ArrayOutputStream output(buffer, kBufferSize, kBlockSizes[i]); in TEST_F()
425 ArrayOutputStream output(buffer, kBufferSize, block_size); in TEST_F()
452 ArrayOutputStream output(buffer, kBufferSize, block_size); in TEST_F()
482 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 PROTOBUF_EXPORT ArrayOutputStream : public ZeroCopyOutputStream {
110 ArrayOutputStream(void* data, int size, int block_size = -1);
111 ~ArrayOutputStream() override = default;
127 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayOutputStream);
Dzero_copy_stream_impl_lite.cc105 ArrayOutputStream::ArrayOutputStream(void* data, int size, int block_size) in ArrayOutputStream() function in google::protobuf::io::ArrayOutputStream
112 bool ArrayOutputStream::Next(void** data, int* size) { in Next()
126 void ArrayOutputStream::BackUp(int count) { in BackUp()
135 int64_t ArrayOutputStream::ByteCount() const { return position_; } in ByteCount()
Dcoded_stream_unittest.cc321 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
338 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
362 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
607 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
623 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
681 ArrayOutputStream output(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_1D()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc699 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
718 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
1945 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
1966 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
1988 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
2009 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
2030 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
2051 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1);
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_util.cc301 io::ArrayOutputStream array_stream(output->ptr, INT_MAX); in SerializeMessageNoTable()
693 io::ArrayOutputStream array_stream(array_output.ptr, INT_MAX); in SerializeInternalToArray()
Dmessage_lite.cc346 io::ArrayOutputStream stream(target, size, 1); in SerializeToArrayImpl()
Dextension_set_unittest.cc542 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
586 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
Dunknown_field_set_unittest.cc209 io::ArrayOutputStream raw_stream(::google::protobuf::string_as_array(&slow_buffer), size, in TEST_F()
Dmap_test.cc2261 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
3223 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&result), size); in DeterministicSerializationWithSerializePartialToCodedStream()
3237 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&result), size); in DeterministicSerializationWithSerializeToCodedStream()
3250 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&result), size); in DeterministicSerialization()
Dlite_unittest.cc638 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
Dmessage_unittest.inc358 io::ArrayOutputStream raw_output(nullptr, 0);
Dwire_format_unittest.cc508 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&stream_data), size, in TEST()
Dtext_format_unittest.cc443 io::ArrayOutputStream output_stream(buffer, 1); in TEST_F()
/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc624 io::ArrayOutputStream output_stream(proto_buffer, sizeof(proto_buffer)); in TEST_F()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc1766 io::ArrayOutputStream out(PyBytes_AS_STRING(result), size); in InternalSerializeToString()