Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc194 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
209 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
256 ArrayInputStream input(buffer_, sizeof(buffer_)); in TEST_1D()
305 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
389 ArrayInputStream input(buffer_, sizeof(buffer_)); in TEST_2D()
440 ArrayInputStream input(buffer_, kVarintErrorCases_case.size, in TEST_2D()
450 ArrayInputStream input(buffer_, kVarintErrorCases_case.size, in TEST_2D()
530 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
545 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_2D()
619 ArrayInputStream input(buffer_, sizeof(buffer_), kBlockSizes_case); in TEST_1D()
[all …]
Dzero_copy_stream_unittest.cc287 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F()
322 ArrayInputStream* input = in TEST_F()
323 new ArrayInputStream(buffer, size, kBlockSizes[j]); in TEST_F()
367 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F()
403 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F()
435 ArrayInputStream input(buffer, size, block_size); in TEST_F()
462 ArrayInputStream input(buffer, size, block_size); in TEST_F()
493 ArrayInputStream input(buffer, size, kBlockSizes[j]); in TEST_F()
518 ArrayInputStream input(buffer, size); in TEST_F()
532 ArrayInputStream input(buffer, size); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.cc58 ArrayInputStream::ArrayInputStream(const void* data, int size, in ArrayInputStream() function in google::protobuf::io::ArrayInputStream
67 ArrayInputStream::~ArrayInputStream() { in ~ArrayInputStream()
70 bool ArrayInputStream::Next(const void** data, int* size) { in Next()
84 void ArrayInputStream::BackUp(int count) { in BackUp()
93 bool ArrayInputStream::Skip(int count) { in Skip()
105 int64 ArrayInputStream::ByteCount() const { in ByteCount()
Dzero_copy_stream_impl_lite.h67 class LIBPROTOBUF_EXPORT ArrayInputStream : public ZeroCopyInputStream {
76 ArrayInputStream(const void* data, int size, int block_size = -1);
77 ~ArrayInputStream();
95 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArrayInputStream);
Dtokenizer_unittest.cc149 ArrayInputStream array_stream_;
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding_test.cc58 protobuf::io::ArrayInputStream(s_->data(), s_->size(), block_size_); in contents()
64 stream_->~ArrayInputStream(); in DeleteStream()
70 protobuf::io::ArrayInputStream* stream_;
71 char space_[sizeof(protobuf::io::ArrayInputStream)];
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc91 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
108 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
125 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
141 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
157 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
174 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
191 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
210 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
414 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
621 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
[all …]
Dtext_format_unittest.cc537 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F()
544 io::ArrayInputStream input_stream(proto_debug_string_.data(), in TEST_F()
575 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F()
587 io::ArrayInputStream input_stream1(parse_string.data(), in TEST_F()
598 io::ArrayInputStream input_stream2(parse_string.data(), in TEST_F()
613 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F()
669 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F()
685 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F()
Dmessage_unittest.cc167 io::ArrayInputStream stream(data_with_junk.data(), data_with_junk.size()); in TEST()
176 io::ArrayInputStream stream(data.data(), data.size()); in TEST()
201 io::ArrayInputStream raw_input(NULL, 0); in TEST()
Dunknown_field_set_unittest.cc229 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F()
362 io::ArrayInputStream raw_input(bizarro_data.data(), bizarro_data.size()); in TEST_F()
384 io::ArrayInputStream raw_input(all_fields_data_.data(), in TEST_F()
Dunknown_field_set.cc279 io::ArrayInputStream input(data, size); in ParseFromArray()
Dtext_format.cc1268 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFromString()
1285 io::ArrayInputStream input_stream(input.data(), input.size()); in MergeFromString()
1307 io::ArrayInputStream input_stream(input.data(), input.size()); in ParseFieldValueFromString()
Dextension_set_unittest.cc1127 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
1163 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
Dmap_test.cc2590 io::ArrayInputStream raw_input(data.data(), data.size()); in TEST()
2669 io::ArrayInputStream stream(data_with_junk.data(), data_with_junk.size()); in TEST()
2678 io::ArrayInputStream stream(data.data(), data.size()); in TEST()
Dwire_format.cc740 io::ArrayInputStream raw_input(message_data.data(), in ParseAndMergeMessageSetItem()
/external/perf_data_converter/src/quipper/
Dtest_utils.h47 ArrayInputStream arr1(file1_contents.data(), file1_contents.size()); in CompareTextProtoFiles()
48 ArrayInputStream arr2(file2_contents.data(), file2_contents.size()); in CompareTextProtoFiles()
/external/protobuf/src/google/protobuf/util/
Djson_util.cc99 io::ArrayInputStream input_stream(binary_input.data(), binary_input.size()); in BinaryToJsonString()
169 io::ArrayInputStream input_stream(json_input.data(), json_input.size()); in JsonToBinaryString()
/external/perf_data_converter/src/quipper/compat/
Dproto.h24 using ::google::protobuf::io::ArrayInputStream;
/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.cc171 ::google::protobuf::io::ArrayInputStream stream(data, sz); in DecodeFrame()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dmetadata_test.cc144 io::ArrayInputStream input(data.data(), data.size()); in DecodeMetadata()
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc35 using ::google::protobuf::io::ArrayInputStream;
Dpbtxt_to_pb.cc45 using ::google::protobuf::io::ArrayInputStream;
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc66 using google::protobuf::io::ArrayInputStream;
118 ArrayInputStream arr_stream(proto.data(), proto.size()); in ExecuteTest()
Dproto_writer.cc715 google::protobuf::io::ArrayInputStream input_stream(buffer_.data(), buffer_.size()); in WriteRootMessage()
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc109 return new io::ArrayInputStream(contents, strlen(contents)); in Open()

12