Home
last modified time | relevance | path

Searched refs:FindNestedTypeByName (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1775 TEST_F(NestedDescriptorTest, FindNestedTypeByName) { in TEST_F() argument
1776 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 …]
Ddescriptor.h362 const Descriptor* FindNestedTypeByName(ConstStringParam name) const;
Ddescriptor.cc1677 const Descriptor* Descriptor::FindNestedTypeByName(ConstStringParam key) const { in FindNestedTypeByName() function in google::protobuf::Descriptor
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc1044 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()