Searched refs:IsReservedName (Results 1 – 2 of 2) sorted by relevance
352 bool IsReservedName(const string& name) const;1779 inline bool Descriptor::IsReservedName(const string& name) const { in IsReservedName() function
1970 TEST_F(ReservedDescriptorTest, IsReservedName) { in TEST_F() argument1971 EXPECT_TRUE (foo_->IsReservedName("foo")); in TEST_F()1972 EXPECT_TRUE (foo_->IsReservedName("bar")); in TEST_F()1973 EXPECT_FALSE(foo_->IsReservedName("baz")); in TEST_F()