Searched refs:IsReservedName (Results 1 – 3 of 3) sorted by relevance
424 bool IsReservedName(const std::string& name) const;1000 bool IsReservedName(const std::string& name) const;2018 inline bool Descriptor::IsReservedName(const std::string& name) const { in IsReservedName() function2037 inline bool EnumDescriptor::IsReservedName(const std::string& name) const { in IsReservedName() function
2123 TEST_F(ReservedDescriptorTest, IsReservedName) { in TEST_F() argument2124 EXPECT_TRUE(foo_->IsReservedName("foo")); in TEST_F()2125 EXPECT_TRUE(foo_->IsReservedName("bar")); in TEST_F()2126 EXPECT_FALSE(foo_->IsReservedName("baz")); in TEST_F()2254 TEST_F(ReservedEnumDescriptorTest, IsReservedName) { in TEST_F() argument2255 EXPECT_TRUE(foo_->IsReservedName("foo")); in TEST_F()2256 EXPECT_TRUE(foo_->IsReservedName("bar")); in TEST_F()2257 EXPECT_FALSE(foo_->IsReservedName("baz")); in TEST_F()
504 reserved_field = descriptor->IsReservedName(field_name); in ConsumeField()