/external/protobuf/src/google/protobuf/ |
D | any.cc | 71 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors() 72 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
|
D | descriptor_unittest.cc | 845 TEST_F(DescriptorTest, FindFieldByNumber) { in TEST_F() argument 846 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F() 847 EXPECT_EQ(bar_, message_->FindFieldByNumber(6)); in TEST_F() 848 EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000)); in TEST_F() 849 EXPECT_EQ(qux_, message_->FindFieldByNumber(15)); in TEST_F() 850 EXPECT_TRUE(message_->FindFieldByNumber(837592) == nullptr); in TEST_F() 851 EXPECT_TRUE(message_->FindFieldByNumber(2) == nullptr); in TEST_F() 853 EXPECT_EQ(foo2_, message2_->FindFieldByNumber(1)); in TEST_F() 854 EXPECT_EQ(bar2_, message2_->FindFieldByNumber(2)); in TEST_F() 855 EXPECT_EQ(quux2_, message2_->FindFieldByNumber(6)); in TEST_F() [all …]
|
D | generated_message_reflection.cc | 504 field1 = descriptor_->FindFieldByNumber(oneof_case1); in SwapOneofField() 536 const FieldDescriptor* field2 = descriptor_->FindFieldByNumber(oneof_case2); in SwapOneofField() 1758 return descriptor_->FindFieldByNumber(field_number); in GetOneofFieldDescriptor() 2050 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case); in ClearOneof()
|
D | text_format_unittest.cc | 622 ->FindFieldByNumber( in TEST_F() 672 ->FindFieldByNumber( in TEST_F()
|
D | unknown_field_set_unittest.cc | 123 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); in TEST_F()
|
D | message.cc | 493 auto field = descriptor_->FindFieldByNumber(num); in _InternalParse()
|
D | descriptor.h | 290 const FieldDescriptor* FindFieldByNumber(int number) const;
|
D | descriptor.cc | 725 inline const FieldDescriptor* FindFieldByNumber(const Descriptor* parent, 962 inline const FieldDescriptor* FileDescriptorTables::FindFieldByNumber( in FindFieldByNumber() function in google::protobuf::FileDescriptorTables 1584 const FieldDescriptor* Descriptor::FindFieldByNumber(int key) const { in FindFieldByNumber() function in google::protobuf::Descriptor 1585 const FieldDescriptor* result = file()->tables_->FindFieldByNumber(this, key); in FindFieldByNumber() 5658 const FieldDescriptor* conflicting_field = file_tables_->FindFieldByNumber( in CrossLinkField()
|
D | wire_format.cc | 406 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial()
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | ftrace_descriptor_gen.cc | 67 ftrace_event->FindFieldByNumber(i); in GenerateFtraceDescriptors() 87 const auto* field = event_descriptor->FindFieldByNumber(j); in GenerateFtraceDescriptors()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 232 …public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this… in FindFieldByNumber() method in Google.Protobuf.Reflection.MessageDescriptor 338 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);
|
D | OneofAccessor.cs | 85 return descriptor.ContainingType.FindFieldByNumber(fieldNumber); in GetCaseFieldDescriptor()
|
D | DescriptorPool.cs | 209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) in FindFieldByNumber() method in Google.Protobuf.Reflection.DescriptorPool
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 113 Assert.AreEqual(field, messageType.FindFieldByNumber(1)); in MessageDescriptor() 114 Assert.Null(messageType.FindFieldByNumber(571283)); in MessageDescriptor() 219 .Select(fieldNumber => TestAllTypes.Descriptor.FindFieldByNumber(fieldNumber)) in OneofDescriptor()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | DescriptorsTest.cs | 191 Assert.AreEqual(field, messageType.FindFieldByNumber(1)); in MessageDescriptor() 192 Assert.Null(messageType.FindFieldByNumber(571283)); in MessageDescriptor() 329 .Select(fieldNumber => TestAllTypes.Descriptor.FindFieldByNumber(fieldNumber)) in OneofDescriptor()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 170 var field = descriptor.FindFieldByNumber(fieldNumber);
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 80 const google::protobuf::Field* FindFieldByNumber( 170 const google::protobuf::Field* field = FindFieldByNumber(type, tag >> 3); in FindAndVerifyField() 303 FindFieldByNumber(*field_type, 1); in RenderMap() 1111 const google::protobuf::Field* FindFieldByNumber( in FindFieldByNumber() function
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 171 field->message_type()->FindFieldByNumber(1); in GenerateField() 173 field->message_type()->FindFieldByNumber(2); in GenerateField()
|
/external/perfetto/tools/trace_to_text/ |
D | trace_to_text.cc | 176 trace_descriptor->FindFieldByNumber(kCompressedPacketFieldDescriptor); in TraceToText()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 286 var keyField = type.FindFieldByNumber(1); in MergeMapField() 287 var valueField = type.FindFieldByNumber(2); in MergeMapField()
|
/external/perfetto/tools/protoprofile/ |
D | main.cc | 289 const FieldDescriptor* field_descriptor = descriptor->FindFieldByNumber(id); in ComputeInner()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 972 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1282 return field->message_type()->FindFieldByNumber(kMapKeyField); in MapFieldKey() 1287 return field->message_type()->FindFieldByNumber(kMapValueField); in MapFieldValue()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.h | 2556 FieldDef* FindFieldByNumber(uint32_t number); 2558 const FieldDef* FindFieldByNumber(uint32_t number) const; 3067 const FieldDef* FindFieldByNumber(uint32_t num) const; 3741 inline FieldDef* MessageDef::FindFieldByNumber(uint32_t number) { 3747 inline const FieldDef* MessageDef::FindFieldByNumber(uint32_t number) const { 3979 inline const FieldDef* OneofDef::FindFieldByNumber(uint32_t num) const {
|
/external/protobuf/src/google/protobuf/util/ |
D | message_differencer.cc | 214 const FieldDescriptor* key = message1.GetDescriptor()->FindFieldByNumber(1); in IsMatch()
|