Searched refs:coded_input (Results 1 – 7 of 7) sorted by relevance
/third_party/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 | 329 CodedInputStream* coded_input = new CodedInputStream(input); in TEST_F() local 331 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 333 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 336 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 338 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 341 delete coded_input; in TEST_F() 636 CodedInputStream* coded_input = new CodedInputStream(gzin); in TEST_F() local 638 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 640 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 644 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() [all …]
|
/third_party/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()
|
/third_party/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,
|
/third_party/protobuf/src/google/protobuf/ |
D | unknown_field_set.cc | 229 io::CodedInputStream coded_input(input); in ParseFromZeroCopyStream() local 230 return (ParseFromCodedStream(&coded_input) && in ParseFromZeroCopyStream() 231 coded_input.ConsumedEntireMessage()); in ParseFromZeroCopyStream()
|
D | wire_format_unittest.cc | 420 io::CodedInputStream coded_input(&raw_input); in TEST() local 421 EXPECT_TRUE(WireFormat::ParseAndMergePartial(&coded_input, &dest)); in TEST() 1202 io::CodedInputStream coded_input(&raw_input); in TEST_F() local 1204 EXPECT_FALSE(WireFormat::SkipMessage(&coded_input, &unknown_fields)); in TEST_F()
|