/third_party/protobuf/src/google/protobuf/io/ |
D | printer_unittest.cc | 57 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 …]
|
D | zero_copy_stream_unittest.cc | 288 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 …]
|
D | zero_copy_stream_impl_lite.h | 101 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);
|
D | zero_copy_stream_impl_lite.cc | 105 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()
|
D | coded_stream_unittest.cc | 321 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/ |
D | cpp_unittest.inc | 699 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/ |
D | generated_message_util.cc | 301 io::ArrayOutputStream array_stream(output->ptr, INT_MAX); in SerializeMessageNoTable() 693 io::ArrayOutputStream array_stream(array_output.ptr, INT_MAX); in SerializeInternalToArray()
|
D | message_lite.cc | 346 io::ArrayOutputStream stream(target, size, 1); in SerializeToArrayImpl()
|
D | extension_set_unittest.cc | 542 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()
|
D | unknown_field_set_unittest.cc | 209 io::ArrayOutputStream raw_stream(::google::protobuf::string_as_array(&slow_buffer), size, in TEST_F()
|
D | map_test.cc | 2261 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()
|
D | lite_unittest.cc | 638 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&data), size, 1); in TEST()
|
D | message_unittest.inc | 358 io::ArrayOutputStream raw_output(nullptr, 0);
|
D | wire_format_unittest.cc | 508 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&stream_data), size, in TEST()
|
D | text_format_unittest.cc | 443 io::ArrayOutputStream output_stream(buffer, 1); in TEST_F()
|
/third_party/protobuf/src/google/protobuf/util/ |
D | json_util_test.cc | 624 io::ArrayOutputStream output_stream(proto_buffer, sizeof(proto_buffer)); in TEST_F()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 1766 io::ArrayOutputStream out(PyBytes_AS_STRING(result), size); in InternalSerializeToString()
|