Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_unittest.cc1947 TEST_F(ReservedDescriptorTest, IsReservedNumber) { in TEST_F() argument
1948 EXPECT_FALSE(foo_->IsReservedNumber(1)); in TEST_F()
1949 EXPECT_TRUE (foo_->IsReservedNumber(2)); in TEST_F()
1950 EXPECT_FALSE(foo_->IsReservedNumber(3)); in TEST_F()
1951 EXPECT_FALSE(foo_->IsReservedNumber(8)); in TEST_F()
1952 EXPECT_TRUE (foo_->IsReservedNumber(9)); in TEST_F()
1953 EXPECT_TRUE (foo_->IsReservedNumber(10)); in TEST_F()
1954 EXPECT_TRUE (foo_->IsReservedNumber(11)); in TEST_F()
1955 EXPECT_FALSE(foo_->IsReservedNumber(12)); in TEST_F()
1956 EXPECT_FALSE(foo_->IsReservedNumber(13)); in TEST_F()
[all …]
Ddescriptor.h340 bool IsReservedNumber(int number) const;
1782 inline bool Descriptor::IsReservedNumber(int number) const { in IsReservedNumber() function