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.java722 assertFalse(TestAllTypes.getDescriptor().isExtensionNumber(3)); in testMessageDescriptorExtensions()
723 assertTrue(TestAllExtensions.getDescriptor().isExtensionNumber(3)); in testMessageDescriptorExtensions()
724 assertTrue(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(42)); in testMessageDescriptorExtensions()
725 assertFalse(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(43)); in testMessageDescriptorExtensions()
726 assertFalse(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(4142)); in testMessageDescriptorExtensions()
727 assertTrue(TestMultipleExtensionRanges.getDescriptor().isExtensionNumber(4143)); in testMessageDescriptorExtensions()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java744 if (type.isExtensionNumber(fieldNumber)) { in mergeFieldFrom()
DDescriptors.java721 public boolean isExtensionNumber(final int number) { in isExtensionNumber() method in Descriptors.Descriptor
1388 if (!getContainingType().isExtensionNumber(getNumber())) { in crossLink()