/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 52 ArrayInputStream::ArrayInputStream(const void* data, int size, in ArrayInputStream() function in google::protobuf::io::ArrayInputStream 61 ArrayInputStream::~ArrayInputStream() { in ~ArrayInputStream() 64 bool ArrayInputStream::Next(const void** data, int* size) { in Next() 78 void ArrayInputStream::BackUp(int count) { in BackUp() 87 bool ArrayInputStream::Skip(int count) { in Skip() 99 int64 ArrayInputStream::ByteCount() const { in ByteCount()
|
D | zero_copy_stream_unittest.cc | 281 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F() 306 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F() 334 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F() 357 ArrayInputStream input(buffer, size); in TEST_F() 369 ArrayInputStream input(buffer, size); in TEST_F() 390 ArrayInputStream input(data.data(), data.size()); in Uncompress() 447 ArrayInputStream input(str.data(), str.size()); in TEST_F() 665 ArrayInputStream input1(buffer , 12); in TEST_F() 666 ArrayInputStream input2(buffer + 12, 7); in TEST_F() 667 ArrayInputStream input3(buffer + 19, 6); in TEST_F() [all …]
|
D | coded_stream_unittest.cc | 181 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() 196 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() 216 ArrayInputStream input(buffer_, sizeof(buffer_)); in TEST_1D() 265 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() 349 ArrayInputStream input(buffer_, sizeof(buffer_)); in TEST_2D() 400 ArrayInputStream input(buffer_, kVarintErrorCases_case.size, in TEST_2D() 410 ArrayInputStream input(buffer_, kVarintErrorCases_case.size, in TEST_2D() 490 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() 505 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D() 579 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_1D() [all …]
|
D | zero_copy_stream_impl_lite.h | 60 class LIBPROTOBUF_EXPORT ArrayInputStream : public ZeroCopyInputStream { 69 ArrayInputStream(const void* data, int size, int block_size = -1); 70 ~ArrayInputStream(); 88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayInputStream);
|
D | tokenizer_unittest.cc | 147 ArrayInputStream array_stream_;
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 87 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 104 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 121 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 137 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 153 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 170 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 331 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 490 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 498 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 518 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() [all …]
|
D | text_format_unittest.cc | 343 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() 350 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F() 362 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() 374 io::ArrayInputStream input_stream1(parse_string.data(), in TEST_F() 385 io::ArrayInputStream input_stream2(parse_string.data(), in TEST_F() 400 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() 415 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F() 431 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F()
|
D | message_unittest.cc | 164 io::ArrayInputStream stream(data_with_junk.data(), data_with_junk.size()); in TEST() 173 io::ArrayInputStream stream(data.data(), data.size()); in TEST() 198 io::ArrayInputStream raw_input(NULL, 0); in TEST()
|
D | unknown_field_set_unittest.cc | 221 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F() 345 io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size()); in TEST_F() 367 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F()
|
D | unknown_field_set.cc | 170 io::ArrayInputStream input(data, size); in ParseFromArray()
|
D | extension_set_unittest.cc | 566 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST() 602 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
|
D | text_format.cc | 784 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFromString() 797 io::ArrayInputStream input_stream(input.data(), input.size()); in MergeFromString() 819 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFieldValueFromString()
|
D | wire_format.cc | 666 io::ArrayInputStream raw_input(message_data.data(), in ParseAndMergeMessageSetItem()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 91 return new io::ArrayInputStream(contents, strlen(contents)); in Open()
|
D | parser_unittest.cc | 103 raw_input_.reset(new io::ArrayInputStream(text, strlen(text))); in SetupParser()
|