Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs212 …public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this… in FindFieldByNumber() method in Google.Protobuf.Reflection.MessageDescriptor
291 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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany.cc104 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors()
105 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
Ddescriptor_unittest.cc740 TEST_F(DescriptorTest, FindFieldByNumber) { in TEST_F() argument
741 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F()
742 EXPECT_EQ(bar_, message_->FindFieldByNumber(6)); in TEST_F()
743 EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000)); in TEST_F()
744 EXPECT_EQ(qux_, message_->FindFieldByNumber(15)); in TEST_F()
745 EXPECT_TRUE(message_->FindFieldByNumber(837592) == NULL); in TEST_F()
746 EXPECT_TRUE(message_->FindFieldByNumber(2) == NULL); in TEST_F()
748 EXPECT_EQ(foo2_ , message2_->FindFieldByNumber(1)); in TEST_F()
749 EXPECT_EQ(bar2_ , message2_->FindFieldByNumber(2)); in TEST_F()
750 EXPECT_EQ(quux2_, message2_->FindFieldByNumber(6)); in TEST_F()
[all …]
Dtext_format.cc81 *type_url_field = descriptor->FindFieldByNumber(1); in GetAnyFieldDescriptors()
82 *value_field = descriptor->FindFieldByNumber(2); in GetAnyFieldDescriptors()
431 field = descriptor->FindFieldByNumber(field_number); in ConsumeField()
Dgenerated_message_reflection.cc534 field1 = descriptor_->FindFieldByNumber(oneof_case1); in SwapOneofField()
567 descriptor_->FindFieldByNumber(oneof_case2); in SwapOneofField()
1777 return descriptor_->FindFieldByNumber(field_number); in GetOneofFieldDescriptor()
2133 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case); in ClearOneof()
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()
4984 file_tables_->FindFieldByNumber(field->containing_type(), in CrossLinkField()
Dwire_format.cc403 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generator.cc120 field->message_type()->FindFieldByNumber(1); in GenerateField()
122 field->message_type()->FindFieldByNumber(2); in GenerateField()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc77 const google::protobuf::Field* FindFieldByNumber(
157 const google::protobuf::Field* field = FindFieldByNumber(type, tag >> 3); in FindAndVerifyField()
284 FindFieldByNumber(*field_type, 1); in RenderMap()
1068 const google::protobuf::Field* FindFieldByNumber( in FindFieldByNumber() function
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonParser.cs281 var keyField = type.FindFieldByNumber(1); in MergeMapField()
282 var valueField = type.FindFieldByNumber(2); in MergeMapField()
/frameworks/base/tools/incident_report/
Dmain.cpp54 FieldDescriptor const* field = descriptor->FindFieldByNumber(fieldId); in read_length_delimited()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.cc1123 return field->message_type()->FindFieldByNumber(kMapKeyField); in MapFieldKey()
1128 return field->message_type()->FindFieldByNumber(kMapValueField); in MapFieldValue()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.cc970 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser_unittest.cc2032 const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin); in FollowPath()