Home
last modified time | relevance | path

Searched refs:IsReservedName (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Ddescriptor.h482 bool IsReservedName(ConstStringParam name) const;
1091 bool IsReservedName(ConstStringParam name) const;
2128 inline bool Descriptor::IsReservedName(ConstStringParam name) const { in IsReservedName() function
2147 inline bool EnumDescriptor::IsReservedName(ConstStringParam name) const { in IsReservedName() function
Ddescriptor_unittest.cc2139 TEST_F(ReservedDescriptorTest, IsReservedName) { in TEST_F() argument
2140 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() argument
2271 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()
Dtext_format.cc490 reserved_field = descriptor->IsReservedName(field_name); in ConsumeField()