Searched refs:FindNestedTypeByName (Results 1 – 4 of 4) sorted by relevance
1636 TEST_F(NestedDescriptorTest, FindNestedTypeByName) { in TEST_F() argument1637 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 …]
266 const Descriptor* FindNestedTypeByName(const string& name) const;
1412 Descriptor::FindNestedTypeByName(const string& key) const { in FindNestedTypeByName() function in google::protobuf::Descriptor
1015 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()