Home
last modified time | relevance | path

Searched refs:FindFieldByNumber (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs208 …public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this… in FindFieldByNumber() method in Google.Protobuf.Reflection.MessageDescriptor
287 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);
DOneofAccessor.cs85 return descriptor.ContainingType.FindFieldByNumber(fieldNumber); in GetCaseFieldDescriptor()
DDescriptorPool.cs209 internal FieldDescriptor FindFieldByNumber(MessageDescriptor messageDescriptor, int number) in FindFieldByNumber() method in Google.Protobuf.Reflection.DescriptorPool
/external/protobuf/src/google/protobuf/
Dany.cc104 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors()
105 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
Ddescriptor_unittest.cc741 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 …]
Dgenerated_message_reflection.cc534 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()
Dtext_format.cc81 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors()
82 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
429 field = descriptor->FindFieldByNumber(field_number); in ConsumeField()
Dunknown_field_set_unittest.cc121 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); in TEST_F()
Ddescriptor.h230 const FieldDescriptor* FindFieldByNumber(int number) const;
Ddescriptor.cc584 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()
Dwire_format.cc403 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial()
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs113 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/
Druby_generator.cc120 field->message_type()->FindFieldByNumber(1); in GenerateField()
122 field->message_type()->FindFieldByNumber(2); in GenerateField()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc77 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/
DJsonParser.cs280 var keyField = type.FindFieldByNumber(1); in MergeMapField()
281 var valueField = type.FindFieldByNumber(2); in MergeMapField()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc946 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
/external/protobuf/php/ext/google/protobuf/
Dupb.h1888 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/
Dupb.h2366 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/
Dparser_unittest.cc2032 const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin); in FollowPath()