Home
last modified time | relevance | path

Searched refs:ArrayInputStream (Results 1 – 15 of 15) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc52 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()
Dzero_copy_stream_unittest.cc281 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 …]
Dcoded_stream_unittest.cc181 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 …]
Dzero_copy_stream_impl_lite.h60 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);
Dtokenizer_unittest.cc147 ArrayInputStream array_stream_;
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc87 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 …]
Dtext_format_unittest.cc343 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()
Dmessage_unittest.cc164 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()
Dunknown_field_set_unittest.cc221 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()
Dunknown_field_set.cc170 io::ArrayInputStream input(data, size); in ParseFromArray()
Dextension_set_unittest.cc566 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
602 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
Dtext_format.cc784 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()
Dwire_format.cc666 io::ArrayInputStream raw_input(message_data.data(), in ParseAndMergeMessageSetItem()
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc91 return new io::ArrayInputStream(contents, strlen(contents)); in Open()
Dparser_unittest.cc103 raw_input_.reset(new io::ArrayInputStream(text, strlen(text))); in SetupParser()