Searched refs:kDelimitedTag (Results 1 – 3 of 3) sorted by relevance
107 constexpr uint8 kDelimitedTag(uint32 tag) { return (tag << 3) | 2; } in kDelimitedTag() function127 case kDelimitedTag(1): in ParseDataType()130 case kDelimitedTag(2): in ParseDataType()133 case kDelimitedTag(3): in ParseDataType()153 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()188 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()213 if (peek_tag != kDelimitedTag(1) && peek_tag != kFixed32Tag(1)) { in ParseFloatList()218 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatList()219 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()289 if (peek_tag != kDelimitedTag(1) && peek_tag != kVarintTag(1)) { in ParseInt64List()[all …]
100 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatureMapEntry()102 if (!stream->ExpectTag(kDelimitedTag(2))) return false; in ParseFeatureMapEntry()120 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatures()136 if (!stream->ExpectTag(kDelimitedTag(1))) { in ParseExample()
113 constexpr uint8 kDelimitedTag(uint32 tag) { return (tag << 3) | 2; } in kDelimitedTag() function133 case kDelimitedTag(1): in ParseDataType()136 case kDelimitedTag(2): in ParseDataType()139 case kDelimitedTag(3): in ParseDataType()159 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()194 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()219 if (peek_tag != kDelimitedTag(1) && peek_tag != kFixed32Tag(1)) { in ParseFloatList()224 if (peek_tag == kDelimitedTag(1)) { // packed in ParseFloatList()225 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()295 if (peek_tag != kDelimitedTag(1) && peek_tag != kVarintTag(1)) { in ParseInt64List()[all …]