Searched refs:ExpectTag (Results 1 – 5 of 5) sorted by relevance
110 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()134 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()165 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()210 if (!stream.ExpectTag(kFixed32Tag(1))) return false; in ParseFloatList()239 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseInt64List()253 if (!stream.ExpectTag(kVarintTag(1))) return false; in ParseInt64List()328 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatureMapEntry()330 if (!stream->ExpectTag(kDelimitedTag(2))) return false; in ParseFeatureMapEntry()348 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatures()364 if (!stream->ExpectTag(kDelimitedTag(1))) { in ParseExample()[all …]
249 TEST_1D(CodedStreamTest, ExpectTag, kVarintCases) { in TEST_1D() argument269 EXPECT_FALSE(coded_input.ExpectTag(expected_value + 1)); in TEST_1D()270 EXPECT_TRUE(coded_input.ExpectTag(expected_value)); in TEST_1D()272 EXPECT_FALSE(coded_input.ExpectTag(expected_value)); in TEST_1D()
299 PROTOBUF_ALWAYS_INLINE bool ExpectTag(uint32 expected);1080 inline bool CodedInputStream::ExpectTag(uint32 expected) { in ExpectTag() function
418 if (input->ExpectTag(kKeyTag)) {
1058 while (elements_already_reserved > 0 && input->ExpectTag(tag)) { in ReadRepeatedPrimitive()