Home
last modified time | relevance | path

Searched refs:ExpectTag (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc110 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 …]
/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc249 TEST_1D(CodedStreamTest, ExpectTag, kVarintCases) { in TEST_1D() argument
269 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()
Dcoded_stream.h299 PROTOBUF_ALWAYS_INLINE bool ExpectTag(uint32 expected);
1080 inline bool CodedInputStream::ExpectTag(uint32 expected) { in ExpectTag() function
/external/protobuf/src/google/protobuf/
Dmap_entry_lite.h418 if (input->ExpectTag(kKeyTag)) {
Dwire_format_lite.h1058 while (elements_already_reserved > 0 && input->ExpectTag(tag)) { in ReadRepeatedPrimitive()