/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MessageDescriptor.cs | 208 …public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this… in FindFieldByNumber() method in Google.Protobuf.Reflection.MessageDescriptor 287 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/src/google/protobuf/ |
D | any.cc | 104 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors() 105 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
|
D | descriptor_unittest.cc | 741 TEST_F(DescriptorTest, FindFieldByNumber) { in TEST_F() argument 742 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F() 743 EXPECT_EQ(bar_, message_->FindFieldByNumber(6)); in TEST_F() 744 EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000)); in TEST_F() 745 EXPECT_EQ(qux_, message_->FindFieldByNumber(15)); in TEST_F() 746 EXPECT_TRUE(message_->FindFieldByNumber(837592) == NULL); in TEST_F() 747 EXPECT_TRUE(message_->FindFieldByNumber(2) == NULL); in TEST_F() 749 EXPECT_EQ(foo2_ , message2_->FindFieldByNumber(1)); in TEST_F() 750 EXPECT_EQ(bar2_ , message2_->FindFieldByNumber(2)); in TEST_F() 751 EXPECT_EQ(quux2_, message2_->FindFieldByNumber(6)); in TEST_F() [all …]
|
D | generated_message_reflection.cc | 534 field1 = descriptor_->FindFieldByNumber(oneof_case1); in SwapOneofField() 567 descriptor_->FindFieldByNumber(oneof_case2); in SwapOneofField() 1776 return descriptor_->FindFieldByNumber(field_number); in GetOneofFieldDescriptor() 2132 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case); in ClearOneof()
|
D | text_format.cc | 81 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors() 82 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors() 429 field = descriptor->FindFieldByNumber(field_number); in ConsumeField()
|
D | unknown_field_set_unittest.cc | 121 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); in TEST_F()
|
D | descriptor.h | 230 const FieldDescriptor* FindFieldByNumber(int number) const;
|
D | descriptor.cc | 584 inline const FieldDescriptor* FindFieldByNumber( 822 inline const FieldDescriptor* FileDescriptorTables::FindFieldByNumber( in FindFieldByNumber() function in google::protobuf::FileDescriptorTables 1324 Descriptor::FindFieldByNumber(int key) const { in FindFieldByNumber() function in google::protobuf::Descriptor 1326 file()->tables_->FindFieldByNumber(this, key); in FindFieldByNumber() 4967 file_tables_->FindFieldByNumber(field->containing_type(), in CrossLinkField()
|
D | wire_format.cc | 403 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial()
|
/external/protobuf/csharp/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/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 120 field->message_type()->FindFieldByNumber(1); in GenerateField() 122 field->message_type()->FindFieldByNumber(2); in GenerateField()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 77 const google::protobuf::Field* FindFieldByNumber( 155 const google::protobuf::Field* field = FindFieldByNumber(type, tag >> 3); in FindAndVerifyField() 278 FindFieldByNumber(*field_type, 1); in RenderMap() 1062 const google::protobuf::Field* FindFieldByNumber( in FindFieldByNumber() function
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 280 var keyField = type.FindFieldByNumber(1); in MergeMapField() 281 var valueField = type.FindFieldByNumber(2); in MergeMapField()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 946 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.h | 1888 FieldDef* FindFieldByNumber(uint32_t number); 1890 const FieldDef* FindFieldByNumber(uint32_t number) const; 2352 const FieldDef* FindFieldByNumber(uint32_t num) const; 2701 inline FieldDef* MessageDef::FindFieldByNumber(uint32_t number) { in FindFieldByNumber() function 2707 inline const FieldDef* MessageDef::FindFieldByNumber(uint32_t number) const { in FindFieldByNumber() function 2936 inline const FieldDef* OneofDef::FindFieldByNumber(uint32_t num) const { in FindFieldByNumber() function
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.h | 2366 FieldDef* FindFieldByNumber(uint32_t number); 2368 const FieldDef* FindFieldByNumber(uint32_t number) const; 2838 const FieldDef* FindFieldByNumber(uint32_t num) const; 3326 inline FieldDef* MessageDef::FindFieldByNumber(uint32_t number) { 3332 inline const FieldDef* MessageDef::FindFieldByNumber(uint32_t number) const { 3564 inline const FieldDef* OneofDef::FindFieldByNumber(uint32_t num) const {
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2032 const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin); in FollowPath()
|