Searched refs:FindFieldByNumber (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 529 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 …]
|
D | generated_message_reflection.cc | 432 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()
|
D | unknown_field_set_unittest.cc | 118 const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); in TEST_F()
|
D | descriptor.cc | 527 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()
|
D | descriptor.h | 180 const FieldDescriptor* FindFieldByNumber(int number) const;
|
D | wire_format.cc | 386 field = descriptor->FindFieldByNumber(field_number); in ParseAndMergePartial()
|
D | text_format.cc | 384 field = descriptor->FindFieldByNumber(field_number); in ConsumeField()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 1572 const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin); in FollowPath()
|