Home
last modified time | relevance | path

Searched refs:isExtensionNumber (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java747 assertFalse(TestAllTypes.getDescriptor().isExtensionNumber(3)); in testMessageDescriptorExtensions()
748 assertTrue(TestAllExtensions.getDescriptor().isExtensionNumber(3)); in testMessageDescriptorExtensions()
749 assertTrue(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(42)); in testMessageDescriptorExtensions()
750 assertFalse(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(43)); in testMessageDescriptorExtensions()
751 assertFalse(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(4142)); in testMessageDescriptorExtensions()
752 assertTrue(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(4143)); in testMessageDescriptorExtensions()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java662 public boolean isExtensionNumber(final int number) { in isExtensionNumber() method in Descriptors.Descriptor
1322 if (!getContainingType().isExtensionNumber(getNumber())) { in crossLink()
DMessageReflection.java748 if (type.isExtensionNumber(fieldNumber)) { in mergeFieldFrom()