Home
last modified time | relevance | path

Searched refs:ListFields (Results 1 – 25 of 35) sorted by relevance

12

/external/protobuf/python/google/protobuf/internal/
Dextension_dict.py119 my_fields = self._extended_message.ListFields()
120 other_fields = other._extended_message.ListFields()
132 fields = self._extended_message.ListFields()
189 return (f[0] for f in self._extended_message.ListFields()
Dpython_message.py814 def ListFields(self): function
819 cls.ListFields = ListFields
987 if not self.ListFields() == other.ListFields():
1057 for field_descriptor, field_value in self.ListFields():
1108 for field_descriptor, field_value in self.ListFields():
1262 for field, value in self.ListFields():
1390 for field, value in self.ListFields():
Dreflection_test.py469 proto.ListFields())
478 proto.ListFields())
497 proto.ListFields())
508 proto.ListFields())
524 proto.ListFields())
536 proto.ListFields())
3073 for field_descriptor, _ in proto.ListFields():
3079 for field_descriptor, _ in proto.ListFields():
Dunknown_fields_test.py85 self.assertEqual(0, len(self.empty_message.ListFields()))
/external/protobuf/src/google/protobuf/
Dreflection_ops.cc89 from_reflection->ListFields(from, &fields); in Merge()
169 reflection->ListFields(*message, &fields); in Clear()
192 reflection->ListFields(message, &fields); in IsInitialized()
244 reflection->ListFields(*message, &fields); in DiscardUnknownFields()
317 reflection->ListFields(message, &fields); in FindInitializationErrors()
Dextension_set_unittest.cc361 reflection->ListFields(message3, &fields); in TEST()
378 reflection->ListFields(message1, &fields); in TEST()
487 reflection->ListFields(*message1, &fields); in TEST()
502 reflection->ListFields(message1, &fields); in TEST()
Dgenerated_message_reflection_unittest.cc259 reflection->ListFields(message2, &fields); in TEST()
274 reflection->ListFields(message1, &fields); in TEST()
683 reflection->ListFields(message, &fields); in TEST()
Dtest_util.h1114 reflection->ListFields(*message, &output); in RemoveLastRepeatedsViaReflection()
1128 reflection->ListFields(*message, &output); in ReleaseLastRepeatedsViaReflection()
1148 reflection->ListFields(*message, &output); in SwapRepeatedsViaReflection()
1162 reflection->ListFields(*message, &fields); in SetAllocatedOptionalMessageFieldsToNullViaReflection()
1182 from_reflection->ListFields(*from_message, &fields); in SetAllocatedOptionalMessageFieldsToMessageViaReflection()
Dmap_test_util.cc879 reflection->ListFields(*message, &output); in RemoveLastMapsViaReflection()
891 reflection->ListFields(*message, &output); in ReleaseLastMapsViaReflection()
907 reflection->ListFields(*message, &output); in SwapMapsViaReflection()
Dwire_format.cc725 message_reflection->ListFields(message, &fields); in SerializeWithCachedSizes()
1092 message_reflection->ListFields(message, &fields); in ByteSize()
Dmessage.h472 void ListFields(const Message& message,
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare.py139 for desc, values in pb.ListFields():
229 return dict((desc.number, value) for desc, value in pb.ListFields())
/external/protobuf/benchmarks/util/
Ddata_proto2_to_proto3_util.h20 reflection->ListFields(*message, &set_fields); in StripMessage()
/external/protobuf/python/google/protobuf/
Dmessage.py240 def ListFields(self): member in Message
Djson_format.py208 fields = message.ListFields()
308 if not message.ListFields():
Dtext_format.py412 fields = message.ListFields()
/external/perfetto/src/trace_processor/util/
Dproto_to_json.cc109 ref->ListFields(message, &field_descs); in MessageFieldsToJson()
183 message.GetReflection()->ListFields(message, &field_descs); in MessageFieldOptionsToJson()
/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc71 self->parent->message->GetReflection()->ListFields(*self->parent->message, in len()
117 self->parent->message->GetReflection()->ListFields(*self->parent->message, in GetIter()
Dmessage.cc2033 static PyObject* ListFields(CMessage* self) { in ListFields() function
2035 self->message->GetReflection()->ListFields(*self->message, &fields); in ListFields()
2560 { "ListFields", (PyCFunction)ListFields, METH_NOARGS,
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc62 reflection->ListFields(message, &fields); in UsesExtensions()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_file.cc63 reflection->ListFields(message, &fields); in UsesExtensions()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc805 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
806 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
820 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
821 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
849 msg1.GetReflection()->ListFields(msg1, &fields); in TEST()
895 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
896 msg2.GetReflection()->ListFields(msg2, &fields2); in TEST()
914 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
941 reflection->ListFields(msg1, &fields1); in TEST()
969 msg1.GetReflection()->ListFields(msg1, &fields1); in TEST()
[all …]
Dtype_resolver_util.cc149 reflection->ListFields(options, &fields); in ConvertOptionsInternal()
Dmessage_differencer.cc608 reflection->ListFields(message, &tmp_message_fields_); in RetrieveFields()
616 reflection->ListFields(message, &tmp_message_fields_); in RetrieveFields()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc92 reflection->ListFields(message, &fields); in CollectExtensions()

12