Home
last modified time | relevance | path

Searched refs:IsExtensionNumber (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1830 TEST_F(ExtensionDescriptorTest, IsExtensionNumber) { in TEST_F() argument
1831 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()
Ddescriptor.h300 bool IsExtensionNumber(int number) const;
1771 inline bool Descriptor::IsExtensionNumber(int number) const { in PROTOBUF_DEFINE_STRING_ACCESSOR()
Dwire_format.cc406 if (field == NULL && descriptor->IsExtensionNumber(field_number)) { in ParseAndMergePartial()
Dtext_format.cc426 if (descriptor->IsExtensionNumber(field_number)) { in ConsumeField()