Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc529 TEST_F(DescriptorTest, FindFieldByNumber) { in TEST_F() argument
530 EXPECT_EQ(foo_, message_->FindFieldByNumber(1)); in TEST_F()
531 EXPECT_EQ(bar_, message_->FindFieldByNumber(6)); in TEST_F()
532 EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000)); in TEST_F()
533 EXPECT_EQ(qux_, message_->FindFieldByNumber(15)); in TEST_F()
534 EXPECT_TRUE(message_->FindFieldByNumber(837592) == NULL); in TEST_F()
535 EXPECT_TRUE(message_->FindFieldByNumber(2) == NULL); in TEST_F()
537 EXPECT_EQ(foo2_ , message2_->FindFieldByNumber(1)); in TEST_F()
538 EXPECT_EQ(bar2_ , message2_->FindFieldByNumber(2)); in TEST_F()
539 EXPECT_EQ(quux2_, message2_->FindFieldByNumber(6)); in TEST_F()
[all …]
Dgenerated_message_reflection.cc432 field1 = descriptor_->FindFieldByNumber(oneof_case1); in SwapOneofField()
465 descriptor_->FindFieldByNumber(oneof_case2); in SwapOneofField()
1407 return descriptor_->FindFieldByNumber(field_number); in GetOneofFieldDescriptor()
1589 const FieldDescriptor* field = descriptor_->FindFieldByNumber(oneof_case); in ClearOneof()
Dunknown_field_set_unittest.cc118 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); in TEST_F()
Ddescriptor.cc527 inline const FieldDescriptor* FindFieldByNumber(
730 inline const FieldDescriptor* FileDescriptorTables::FindFieldByNumber( in FindFieldByNumber() function in google::protobuf::FileDescriptorTables
1178 Descriptor::FindFieldByNumber(int key) const { in FindFieldByNumber() function in google::protobuf::Descriptor
1180 file()->tables_->FindFieldByNumber(this, key); in FindFieldByNumber()
4328 file_tables_->FindFieldByNumber(field->containing_type(), in CrossLinkField()
Ddescriptor.h180 const FieldDescriptor* FindFieldByNumber(int number) const;
Dwire_format.cc386 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial()
Dtext_format.cc384 field = descriptor->FindFieldByNumber(field_number); in ConsumeField()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc1572 const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin); in FollowPath()