Searched refs:coded_input (Results 1 – 4 of 4) sorted by relevance
190 CodedInputStream coded_input(&input); in TEST_2D() local193 EXPECT_TRUE(coded_input.ReadVarint32(&value)); in TEST_2D()205 CodedInputStream coded_input(&input); in TEST_2D() local208 EXPECT_EQ(expected_value, coded_input.ReadTag()); in TEST_2D()210 EXPECT_TRUE(coded_input.LastTagWas(expected_value)); in TEST_2D()211 EXPECT_FALSE(coded_input.LastTagWas(expected_value + 1)); in TEST_2D()252 CodedInputStream coded_input(&input); in TEST_1D() local257 coded_input.ReadRaw(&dummy, 1); in TEST_1D()264 EXPECT_FALSE(coded_input.ExpectTag(expected_value + 1)); in TEST_1D()265 EXPECT_TRUE(coded_input.ExpectTag(expected_value)); in TEST_1D()[all …]
319 CodedInputStream* coded_input = new CodedInputStream(input); in TEST_F() local321 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()323 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()326 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()328 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()331 delete coded_input; in TEST_F()632 CodedInputStream* coded_input = new CodedInputStream(gzin); in TEST_F() local634 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()636 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()640 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()[all …]
207 io::CodedInputStream coded_input(input); in ParseFromZeroCopyStream() local208 return (ParseFromCodedStream(&coded_input) && in ParseFromZeroCopyStream()209 coded_input.ConsumedEntireMessage()); in ParseFromZeroCopyStream()
411 io::CodedInputStream coded_input(&raw_input); in TEST() local412 EXPECT_TRUE(WireFormat::ParseAndMergePartial(&coded_input, &dest)); in TEST()926 io::CodedInputStream coded_input(&raw_input); in TEST_F() local928 EXPECT_FALSE(WireFormat::SkipMessage(&coded_input, &unknown_fields)); in TEST_F()