Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc108 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in GetNumElementsInBytesList()
132 if (!stream.ExpectTag(kDelimitedTag(1))) return false; in ParseBytesList()
161 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseFloatList()
195 if (!stream.ExpectTag(kFixed32Tag(1))) return false; in ParseFloatList()
223 if (!stream.ExpectTag(kDelimitedTag(1))) return false; // packed tag in ParseInt64List()
237 if (!stream.ExpectTag(kVarintTag(1))) return false; in ParseInt64List()
312 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatureMapEntry()
314 if (!stream->ExpectTag(kDelimitedTag(2))) return false; in ParseFeatureMapEntry()
332 if (!stream->ExpectTag(kDelimitedTag(1))) return false; in ParseFeatures()
348 if (!stream->ExpectTag(kDelimitedTag(1))) { in ParseExample()
[all …]
/external/protobuf/src/google/protobuf/
Dtype.pb.cc394 if (input->ExpectTag(18)) goto parse_fields; in MergePartialFromCodedStream()
409 if (input->ExpectTag(18)) goto parse_loop_fields; in MergePartialFromCodedStream()
411 if (input->ExpectTag(26)) goto parse_oneofs; in MergePartialFromCodedStream()
429 if (input->ExpectTag(26)) goto parse_oneofs; in MergePartialFromCodedStream()
430 if (input->ExpectTag(34)) goto parse_options; in MergePartialFromCodedStream()
445 if (input->ExpectTag(34)) goto parse_loop_options; in MergePartialFromCodedStream()
447 if (input->ExpectTag(42)) goto parse_source_context; in MergePartialFromCodedStream()
460 if (input->ExpectTag(48)) goto parse_syntax; in MergePartialFromCodedStream()
1170 if (input->ExpectTag(16)) goto parse_cardinality; in MergePartialFromCodedStream()
1186 if (input->ExpectTag(24)) goto parse_number; in MergePartialFromCodedStream()
[all …]
Dapi.pb.cc301 if (input->ExpectTag(18)) goto parse_methods; in MergePartialFromCodedStream()
316 if (input->ExpectTag(18)) goto parse_loop_methods; in MergePartialFromCodedStream()
317 if (input->ExpectTag(26)) goto parse_loop_options; in MergePartialFromCodedStream()
332 if (input->ExpectTag(26)) goto parse_loop_options; in MergePartialFromCodedStream()
334 if (input->ExpectTag(34)) goto parse_version; in MergePartialFromCodedStream()
351 if (input->ExpectTag(42)) goto parse_source_context; in MergePartialFromCodedStream()
364 if (input->ExpectTag(50)) goto parse_mixins; in MergePartialFromCodedStream()
379 if (input->ExpectTag(50)) goto parse_loop_mixins; in MergePartialFromCodedStream()
381 if (input->ExpectTag(56)) goto parse_syntax; in MergePartialFromCodedStream()
1048 if (input->ExpectTag(18)) goto parse_request_type_url; in MergePartialFromCodedStream()
[all …]
Ddescriptor.pb.cc975 if (input->ExpectTag(10)) goto parse_loop_file; in MergePartialFromCodedStream()
1301 if (input->ExpectTag(18)) goto parse_package; in MergePartialFromCodedStream()
1318 if (input->ExpectTag(26)) goto parse_dependency; in MergePartialFromCodedStream()
1336 if (input->ExpectTag(26)) goto parse_dependency; in MergePartialFromCodedStream()
1337 if (input->ExpectTag(34)) goto parse_message_type; in MergePartialFromCodedStream()
1352 if (input->ExpectTag(34)) goto parse_loop_message_type; in MergePartialFromCodedStream()
1353 if (input->ExpectTag(42)) goto parse_loop_enum_type; in MergePartialFromCodedStream()
1368 if (input->ExpectTag(42)) goto parse_loop_enum_type; in MergePartialFromCodedStream()
1369 if (input->ExpectTag(50)) goto parse_loop_service; in MergePartialFromCodedStream()
1384 if (input->ExpectTag(50)) goto parse_loop_service; in MergePartialFromCodedStream()
[all …]
Dstruct.pb.cc315 if (input->ExpectTag(10)) goto parse_loop_fields; in MergePartialFromCodedStream()
633 if (input->ExpectTag(17)) goto parse_number_value; in MergePartialFromCodedStream()
649 if (input->ExpectTag(26)) goto parse_string_value; in MergePartialFromCodedStream()
666 if (input->ExpectTag(32)) goto parse_bool_value; in MergePartialFromCodedStream()
682 if (input->ExpectTag(42)) goto parse_struct_value; in MergePartialFromCodedStream()
695 if (input->ExpectTag(50)) goto parse_list_value; in MergePartialFromCodedStream()
1331 if (input->ExpectTag(10)) goto parse_loop_values; in MergePartialFromCodedStream()
Dfield_mask.pb.cc206 if (input->ExpectTag(10)) goto parse_paths; in MergePartialFromCodedStream()
Dduration.pb.cc226 if (input->ExpectTag(16)) goto parse_nanos; in MergePartialFromCodedStream()
Dmap_entry_lite.h148 if (!input->ExpectTag(kValueTag)) break; in MergePartialFromCodedStream()
Dtimestamp.pb.cc240 if (input->ExpectTag(16)) goto parse_nanos; in MergePartialFromCodedStream()
Dany.pb.cc226 if (input->ExpectTag(18)) goto parse_value; in MergePartialFromCodedStream()
Dwire_format_lite_inl.h240 while (elements_already_reserved > 0 && input->ExpectTag(tag)) { in ReadRepeatedPrimitive()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.cc279 if (input->ExpectTag(10)) goto parse_file_to_generate; in MergePartialFromCodedStream()
280 if (input->ExpectTag(18)) goto parse_parameter; in MergePartialFromCodedStream()
297 if (input->ExpectTag(122)) goto parse_proto_file; in MergePartialFromCodedStream()
312 if (input->ExpectTag(122)) goto parse_loop_proto_file; in MergePartialFromCodedStream()
781 if (input->ExpectTag(18)) goto parse_insertion_point; in MergePartialFromCodedStream()
798 if (input->ExpectTag(122)) goto parse_content; in MergePartialFromCodedStream()
1142 if (input->ExpectTag(122)) goto parse_file; in MergePartialFromCodedStream()
1157 if (input->ExpectTag(122)) goto parse_loop_file; in MergePartialFromCodedStream()
/external/protobuf/src/google/protobuf/io/
Dcoded_stream_unittest.cc251 TEST_1D(CodedStreamTest, ExpectTag, kVarintCases) { in TEST_1D() argument
271 EXPECT_FALSE(coded_input.ExpectTag(expected_value + 1)); in TEST_1D()
272 EXPECT_TRUE(coded_input.ExpectTag(expected_value)); in TEST_1D()
274 EXPECT_FALSE(coded_input.ExpectTag(expected_value)); in TEST_1D()
Dcoded_stream.h266 GOOGLE_ATTRIBUTE_ALWAYS_INLINE bool ExpectTag(uint32 expected);
1003 inline bool CodedInputStream::ExpectTag(uint32 expected) { in ExpectTag() function