Searched refs:IsReservedNumber (Results 1 – 2 of 2) sorted by relevance
1948 TEST_F(ReservedDescriptorTest, IsReservedNumber) { in TEST_F() argument1949 EXPECT_FALSE(foo_->IsReservedNumber(1)); in TEST_F()1950 EXPECT_TRUE (foo_->IsReservedNumber(2)); in TEST_F()1951 EXPECT_FALSE(foo_->IsReservedNumber(3)); in TEST_F()1952 EXPECT_FALSE(foo_->IsReservedNumber(8)); in TEST_F()1953 EXPECT_TRUE (foo_->IsReservedNumber(9)); in TEST_F()1954 EXPECT_TRUE (foo_->IsReservedNumber(10)); in TEST_F()1955 EXPECT_TRUE (foo_->IsReservedNumber(11)); in TEST_F()1956 EXPECT_FALSE(foo_->IsReservedNumber(12)); in TEST_F()1957 EXPECT_FALSE(foo_->IsReservedNumber(13)); in TEST_F()[all …]
340 bool IsReservedNumber(int number) const;1775 inline bool Descriptor::IsReservedNumber(int number) const { in IsReservedNumber() function