Searched refs:IsExtensionNumber (Results 1 – 4 of 4) sorted by relevance
1830 TEST_F(ExtensionDescriptorTest, IsExtensionNumber) { in TEST_F() argument1831 EXPECT_FALSE(foo_->IsExtensionNumber( 9)); in TEST_F()1832 EXPECT_TRUE (foo_->IsExtensionNumber(10)); in TEST_F()1833 EXPECT_TRUE (foo_->IsExtensionNumber(19)); in TEST_F()1834 EXPECT_FALSE(foo_->IsExtensionNumber(20)); in TEST_F()1835 EXPECT_FALSE(foo_->IsExtensionNumber(29)); in TEST_F()1836 EXPECT_TRUE (foo_->IsExtensionNumber(30)); in TEST_F()1837 EXPECT_TRUE (foo_->IsExtensionNumber(39)); in TEST_F()1838 EXPECT_FALSE(foo_->IsExtensionNumber(40)); in TEST_F()
300 bool IsExtensionNumber(int number) const;1771 inline bool Descriptor::IsExtensionNumber(int number) const { in PROTOBUF_DEFINE_STRING_ACCESSOR()
406 if (field == NULL && descriptor->IsExtensionNumber(field_number)) { in ParseAndMergePartial()
426 if (descriptor->IsExtensionNumber(field_number)) { in ConsumeField()