Searched refs:ExpectTag (Results 1 – 7 of 7) sorted by relevance
153 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()188 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()219 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()264 if (!stream.ExpectTag(kFixed32Tag(1))) return false; in ParseFloatList()293 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseInt64List()307 if (!stream.ExpectTag(kVarintTag(1))) return false; in ParseInt64List()460 if (!stream->ExpectTag(kDelimitedTag(1)) || !stream->ReadVarint32(&length)) { in ParseBytesFeature()467 if (!stream->ExpectTag(kDelimitedTag(1)) || in ParseBytesFeature()505 if (!stream->ExpectTag(kDelimitedTag(2)) || !stream->ReadVarint32(&length)) { in ParseFloatFeature()513 if (!stream->ExpectTag(kDelimitedTag(1)) || in ParseFloatFeature()[all …]
97 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatureMapEntry()99 if (!stream->ExpectTag(kDelimitedTag(2))) return false; in ParseFeatureMapEntry()117 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatures()133 if (!stream->ExpectTag(kDelimitedTag(1))) { in ParseExample()
159 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()194 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()225 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()270 if (!stream.ExpectTag(kFixed32Tag(1))) return false; in ParseFloatList()299 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseInt64List()313 if (!stream.ExpectTag(kVarintTag(1))) return false; in ParseInt64List()388 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatureMapEntry()390 if (!stream->ExpectTag(kDelimitedTag(2))) return false; in ParseFeatureMapEntry()408 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatures()424 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()