Searched refs:coded_input (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/src/google/protobuf/io/ |
D | coded_stream_unittest.cc | 196 CodedInputStream coded_input(&input); in TEST_2D() local 199 EXPECT_TRUE(coded_input.ReadVarint32(&value)); in TEST_2D() 211 CodedInputStream coded_input(&input); in TEST_2D() local 214 EXPECT_EQ(expected_value, coded_input.ReadTag()); in TEST_2D() 216 EXPECT_TRUE(coded_input.LastTagWas(expected_value)); in TEST_2D() 217 EXPECT_FALSE(coded_input.LastTagWas(expected_value + 1)); in TEST_2D() 257 CodedInputStream coded_input(&input); in TEST_1D() local 262 coded_input.ReadRaw(&dummy, 1); in TEST_1D() 269 EXPECT_FALSE(coded_input.ExpectTag(expected_value + 1)); in TEST_1D() 270 EXPECT_TRUE(coded_input.ExpectTag(expected_value)); in TEST_1D() [all …]
|
D | zero_copy_stream_unittest.cc | 328 CodedInputStream* coded_input = new CodedInputStream(input); in TEST_F() local 330 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 332 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 335 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 337 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 340 delete coded_input; in TEST_F() 635 CodedInputStream* coded_input = new CodedInputStream(gzin); in TEST_F() local 637 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 639 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 643 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | delimited_message_util.cc | 60 io::CodedInputStream coded_input(input); in ParseDelimitedFromZeroCopyStream() local 61 return ParseDelimitedFromCodedStream(message, &coded_input, clean_eof); in ParseDelimitedFromZeroCopyStream()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | type_info_test_helper.cc | 89 io::CodedInputStream* coded_input, const std::string& type_url) { in NewProtoSource() argument 93 return new ProtoStreamObjectSource(coded_input, type_resolver_.get(), in NewProtoSource()
|
D | type_info_test_helper.h | 74 ProtoStreamObjectSource* NewProtoSource(io::CodedInputStream* coded_input,
|
/external/protobuf/src/google/protobuf/ |
D | unknown_field_set.cc | 230 io::CodedInputStream coded_input(input); in ParseFromZeroCopyStream() local 231 return (ParseFromCodedStream(&coded_input) && in ParseFromZeroCopyStream() 232 coded_input.ConsumedEntireMessage()); in ParseFromZeroCopyStream()
|
D | wire_format_unittest.cc | 414 io::CodedInputStream coded_input(&raw_input); in TEST() local 415 EXPECT_TRUE(WireFormat::ParseAndMergePartial(&coded_input, &dest)); in TEST() 1197 io::CodedInputStream coded_input(&raw_input); in TEST_F() local 1199 EXPECT_FALSE(WireFormat::SkipMessage(&coded_input, &unknown_fields)); in TEST_F()
|