Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1636 TEST_F(NestedDescriptorTest, FindNestedTypeByName) { in TEST_F() argument
1637 EXPECT_EQ(foo_ , message_ ->FindNestedTypeByName("Foo")); in TEST_F()
1638 EXPECT_EQ(bar_ , message_ ->FindNestedTypeByName("Bar")); in TEST_F()
1639 EXPECT_EQ(foo2_, message2_->FindNestedTypeByName("Foo")); in TEST_F()
1640 EXPECT_EQ(baz2_, message2_->FindNestedTypeByName("Baz")); in TEST_F()
1642 EXPECT_TRUE(message_ ->FindNestedTypeByName("NoSuchType") == NULL); in TEST_F()
1643 EXPECT_TRUE(message_ ->FindNestedTypeByName("Baz" ) == NULL); in TEST_F()
1644 EXPECT_TRUE(message2_->FindNestedTypeByName("Bar" ) == NULL); in TEST_F()
1646 EXPECT_TRUE(message_->FindNestedTypeByName("Qux") == NULL); in TEST_F()
6201 EXPECT_TRUE(foo->FindNestedTypeByName("NoSuchMessageType") == NULL); in TEST_F()
[all …]
Ddescriptor.h266 const Descriptor* FindNestedTypeByName(const string& name) const;
Ddescriptor.cc1412 Descriptor::FindNestedTypeByName(const string& key) const { in FindNestedTypeByName() function in google::protobuf::Descriptor
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc1015 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()