Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dexample_proto_fast_parsing.h153 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 …]
Dexample_proto_fast_parsing.cc97 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()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc159 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 …]
/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()