Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Ddescriptor.h352 bool IsReservedName(const string& name) const;
1779 inline bool Descriptor::IsReservedName(const string& name) const { in IsReservedName() function
Ddescriptor_unittest.cc1970 TEST_F(ReservedDescriptorTest, IsReservedName) { in TEST_F() argument
1971 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()