/external/protobuf/src/google/protobuf/io/ |
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); 152 // ArrayInputStream as follows: 153 // ArrayInputStream input(str.data(), str.size());
|
zero_copy_stream_impl_lite.cc | 52 ArrayInputStream::ArrayInputStream(const void* data, int size, 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 {
|
coded_stream_unittest.cc | 181 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 input(buffer_, sizeof(buffer_), kBlockSizes_case) [all...] |
zero_copy_stream_unittest.cc | 281 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 input3(buffer + 19, 6) [all...] |
tokenizer_unittest.cc | 119 // An input stream that is basically like an ArrayInputStream but sometimes 147 ArrayInputStream array_stream_;
|
/external/protobuf/src/google/protobuf/ |
message_unittest.cc | 164 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);
|
wire_format_unittest.cc | 87 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_input(data.data(), data.size()) [all...] |
text_format_unittest.cc | 343 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(), [all...] |
unknown_field_set_unittest.cc | 221 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(),
|
unknown_field_set.cc | 170 io::ArrayInputStream input(data, size);
|
extension_set_unittest.cc | 566 io::ArrayInputStream raw_input(data.data(), data.size()); 602 io::ArrayInputStream raw_input(data.data(), data.size());
|
text_format.cc | 784 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()); [all...] |
wire_format.cc | 666 io::ArrayInputStream raw_input(message_data.data(), [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
importer_unittest.cc | 91 return new io::ArrayInputStream(contents, strlen(contents));
|
parser_unittest.cc | 103 raw_input_.reset(new io::ArrayInputStream(text, strlen(text))); [all...] |