Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc62 constexpr uint8 kDelimitedTag(uint32 tag) { return (tag << 3) | 2; } in kDelimitedTag() function
82 case kDelimitedTag(1): in ParseDataType()
85 case kDelimitedTag(2): in ParseDataType()
88 case kDelimitedTag(3): in ParseDataType()
108 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()
132 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()
156 if (peek_tag != kDelimitedTag(1) && peek_tag != kFixed32Tag(1)) { in ParseFloatList()
160 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatList()
161 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()
219 if (peek_tag != kDelimitedTag(1) && peek_tag != kVarintTag(1)) { in ParseInt64List()
[all …]