Searched refs:ArrayInputStream (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.h60 class LIBPROTOBUF_EXPORT ArrayInputStream : public ZeroCopyInputStream { class in namespace:google::protobuf::io
69 ArrayInputStream(const void* data, int size, int block_size = -1);
70 ~ArrayInputStream();
88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayInputStream);
152 // ArrayInputStream as follows:
153 // ArrayInputStream input(str.data(), str.size());
H A Dzero_copy_stream_impl_lite.cc52 ArrayInputStream::ArrayInputStream(const void* data, int size, function in class:google::protobuf::io::ArrayInputStream
61 ArrayInputStream::~ArrayInputStream() {
64 bool ArrayInputStream::Next(const void** data, int* size) {
78 void ArrayInputStream::BackUp(int count) {
87 bool ArrayInputStream::Skip(int count) {
99 int64 ArrayInputStream::ByteCount() const {
H A Dcoded_stream_unittest.cc187 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
202 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
249 ArrayInputStream input(buffer_, sizeof(buffer_));
298 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
382 ArrayInputStream input(buffer_, sizeof(buffer_));
433 ArrayInputStream input(buffer_, kVarintErrorCases_case.size,
443 ArrayInputStream input(buffer_, kVarintErrorCases_case.size,
523 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
538 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
612 ArrayInputStream inpu
[all...]
H A Dzero_copy_stream_unittest.cc282 ArrayInputStream input(buffer, size, kBlockSizes[j]);
317 ArrayInputStream* input =
318 new ArrayInputStream(buffer, size, kBlockSizes[j]);
362 ArrayInputStream input(buffer, size, kBlockSizes[j]);
398 ArrayInputStream input(buffer, size, kBlockSizes[j]);
430 ArrayInputStream input(buffer, size, block_size);
457 ArrayInputStream input(buffer, size, block_size);
488 ArrayInputStream input(buffer, size, kBlockSizes[j]);
513 ArrayInputStream input(buffer, size);
527 ArrayInputStream inpu
[all...]
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.h60 class LIBPROTOBUF_EXPORT ArrayInputStream : public ZeroCopyInputStream { class in namespace:google::protobuf::io
69 ArrayInputStream(const void* data, int size, int block_size = -1);
70 ~ArrayInputStream();
88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayInputStream);
152 // ArrayInputStream as follows:
153 // ArrayInputStream input(str.data(), str.size());
H A Dzero_copy_stream_impl_lite.cc52 ArrayInputStream::ArrayInputStream(const void* data, int size, function in class:google::protobuf::io::ArrayInputStream
61 ArrayInputStream::~ArrayInputStream() {
64 bool ArrayInputStream::Next(const void** data, int* size) {
78 void ArrayInputStream::BackUp(int count) {
87 bool ArrayInputStream::Skip(int count) {
99 int64 ArrayInputStream::ByteCount() const {
H A Dcoded_stream_unittest.cc181 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
196 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
216 ArrayInputStream input(buffer_, sizeof(buffer_));
265 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
349 ArrayInputStream input(buffer_, sizeof(buffer_));
400 ArrayInputStream input(buffer_, kVarintErrorCases_case.size,
410 ArrayInputStream input(buffer_, kVarintErrorCases_case.size,
490 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
505 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case);
579 ArrayInputStream inpu
[all...]
H A Dzero_copy_stream_unittest.cc281 ArrayInputStream input(buffer, size, kBlockSizes[j]);
306 ArrayInputStream input(buffer, size, kBlockSizes[j]);
334 ArrayInputStream input(buffer, size, kBlockSizes[j]);
357 ArrayInputStream input(buffer, size);
369 ArrayInputStream input(buffer, size);
390 ArrayInputStream input(data.data(), data.size());
447 ArrayInputStream input(str.data(), str.size());
665 ArrayInputStream input1(buffer , 12);
666 ArrayInputStream input2(buffer + 12, 7);
667 ArrayInputStream input
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc87 io::ArrayInputStream raw_input(data.data(), data.size());
104 io::ArrayInputStream raw_input(data.data(), data.size());
121 io::ArrayInputStream raw_input(data.data(), data.size());
137 io::ArrayInputStream raw_input(data.data(), data.size());
153 io::ArrayInputStream raw_input(data.data(), data.size());
170 io::ArrayInputStream raw_input(data.data(), data.size());
331 io::ArrayInputStream raw_input(data.data(), data.size());
538 io::ArrayInputStream raw_input(data.data(), data.size());
546 io::ArrayInputStream raw_input(data.data(), data.size());
566 io::ArrayInputStream raw_inpu
[all...]
H A Dmessage_unittest.cc164 io::ArrayInputStream stream(data_with_junk.data(), data_with_junk.size());
173 io::ArrayInputStream stream(data.data(), data.size());
198 io::ArrayInputStream raw_input(NULL, 0);
H A Dtext_format_unittest.cc358 io::ArrayInputStream input_stream(proto_debug_string_.data(),
365 io::ArrayInputStream input_stream(proto_debug_string_.data(),
396 io::ArrayInputStream input_stream(parse_string.data(),
408 io::ArrayInputStream input_stream1(parse_string.data(),
419 io::ArrayInputStream input_stream2(parse_string.data(),
434 io::ArrayInputStream input_stream(parse_string.data(),
477 io::ArrayInputStream input_stream(parse_string.data(),
493 io::ArrayInputStream input_stream(parse_string.data(),
H A Dunknown_field_set_unittest.cc221 io::ArrayInputStream raw_input(all_fields_data_.data(),
354 io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size());
376 io::ArrayInputStream raw_input(all_fields_data_.data(),
H A Dunknown_field_set.cc230 io::ArrayInputStream input(data, size);
H A Dtext_format.cc1059 io::ArrayInputStream input_stream(input.data(), input.size());
1074 io::ArrayInputStream input_stream(input.data(), input.size());
1096 io::ArrayInputStream input_stream(input.data(), input.size());
H A Dextension_set_unittest.cc646 io::ArrayInputStream raw_input(data.data(), data.size());
682 io::ArrayInputStream raw_input(data.data(), data.size());
/external/protobuf/src/google/protobuf/
H A Dmessage_unittest.cc164 io::ArrayInputStream stream(data_with_junk.data(), data_with_junk.size());
173 io::ArrayInputStream stream(data.data(), data.size());
198 io::ArrayInputStream raw_input(NULL, 0);
H A Dwire_format_unittest.cc87 io::ArrayInputStream raw_input(data.data(), data.size());
104 io::ArrayInputStream raw_input(data.data(), data.size());
121 io::ArrayInputStream raw_input(data.data(), data.size());
137 io::ArrayInputStream raw_input(data.data(), data.size());
153 io::ArrayInputStream raw_input(data.data(), data.size());
170 io::ArrayInputStream raw_input(data.data(), data.size());
331 io::ArrayInputStream raw_input(data.data(), data.size());
490 io::ArrayInputStream raw_input(data.data(), data.size());
498 io::ArrayInputStream raw_input(data.data(), data.size());
518 io::ArrayInputStream raw_inpu
[all...]
H A Dtext_format_unittest.cc343 io::ArrayInputStream input_stream(proto_debug_string_.data(),
350 io::ArrayInputStream input_stream(proto_debug_string_.data(),
362 io::ArrayInputStream input_stream(parse_string.data(),
374 io::ArrayInputStream input_stream1(parse_string.data(),
385 io::ArrayInputStream input_stream2(parse_string.data(),
400 io::ArrayInputStream input_stream(parse_string.data(),
415 io::ArrayInputStream input_stream(parse_string.data(),
431 io::ArrayInputStream input_stream(parse_string.data(),
H A Dunknown_field_set_unittest.cc221 io::ArrayInputStream raw_input(all_fields_data_.data(),
345 io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size());
367 io::ArrayInputStream raw_input(all_fields_data_.data(),
H A Dunknown_field_set.cc170 io::ArrayInputStream input(data, size);
H A Dextension_set_unittest.cc566 io::ArrayInputStream raw_input(data.data(), data.size());
602 io::ArrayInputStream raw_input(data.data(), data.size());
H A Dtext_format.cc784 io::ArrayInputStream input_stream(input.data(), input.size());
797 io::ArrayInputStream input_stream(input.data(), input.size());
819 io::ArrayInputStream input_stream(input.data(), input.size());
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc91 return new io::ArrayInputStream(contents, strlen(contents));
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter_unittest.cc91 return new io::ArrayInputStream(contents, strlen(contents));
H A Dparser_unittest.cc103 raw_input_.reset(new io::ArrayInputStream(text, strlen(text)));

Completed in 664 milliseconds

12