Searched refs:FindNestedTypeByName (Results 1 – 4 of 4) sorted by relevance
1775 TEST_F(NestedDescriptorTest, FindNestedTypeByName) { in TEST_F() argument1776 EXPECT_EQ(foo_, message_->FindNestedTypeByName("Foo")); in TEST_F()1777 EXPECT_EQ(bar_, message_->FindNestedTypeByName("Bar")); in TEST_F()1778 EXPECT_EQ(foo2_, message2_->FindNestedTypeByName("Foo")); in TEST_F()1779 EXPECT_EQ(baz2_, message2_->FindNestedTypeByName("Baz")); in TEST_F()1781 EXPECT_TRUE(message_->FindNestedTypeByName("NoSuchType") == nullptr); in TEST_F()1782 EXPECT_TRUE(message_->FindNestedTypeByName("Baz") == nullptr); in TEST_F()1783 EXPECT_TRUE(message2_->FindNestedTypeByName("Bar") == nullptr); in TEST_F()1785 EXPECT_TRUE(message_->FindNestedTypeByName("Qux") == nullptr); in TEST_F()6961 EXPECT_TRUE(foo->FindNestedTypeByName("NoSuchMessageType") == nullptr); in TEST_F()[all …]
362 const Descriptor* FindNestedTypeByName(ConstStringParam name) const;
1677 const Descriptor* Descriptor::FindNestedTypeByName(ConstStringParam key) const { in FindNestedTypeByName() function in google::protobuf::Descriptor
1044 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()