Searched refs:IsReservedName (Results 1 – 3 of 3) sorted by relevance
482 bool IsReservedName(ConstStringParam name) const;1091 bool IsReservedName(ConstStringParam name) const;2128 inline bool Descriptor::IsReservedName(ConstStringParam name) const { in IsReservedName() function2147 inline bool EnumDescriptor::IsReservedName(ConstStringParam name) const { in IsReservedName() function
2139 TEST_F(ReservedDescriptorTest, IsReservedName) { in TEST_F() argument2140 EXPECT_TRUE(foo_->IsReservedName("foo")); in TEST_F()2141 EXPECT_TRUE(foo_->IsReservedName("bar")); in TEST_F()2142 EXPECT_FALSE(foo_->IsReservedName("baz")); in TEST_F()2270 TEST_F(ReservedEnumDescriptorTest, IsReservedName) { in TEST_F() argument2271 EXPECT_TRUE(foo_->IsReservedName("foo")); in TEST_F()2272 EXPECT_TRUE(foo_->IsReservedName("bar")); in TEST_F()2273 EXPECT_FALSE(foo_->IsReservedName("baz")); in TEST_F()
490 reserved_field = descriptor->IsReservedName(field_name); in ConsumeField()