Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddescriptor.h424 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() function
2037 inline bool EnumDescriptor::IsReservedName(const std::string& name) const { in IsReservedName() function
Ddescriptor_unittest.cc2123 TEST_F(ReservedDescriptorTest, IsReservedName) { in TEST_F() argument
2124 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() argument
2255 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()
Dtext_format.cc504 reserved_field = descriptor->IsReservedName(field_name); in ConsumeField()