Searched refs:minimumValue (Results 1 – 3 of 3) sorted by relevance
38 private BigInteger minimumValue = null; // null == unbounded. field in Asn1Integer56 minimumValue = minimum == null ? null : new BigInteger(minimum); in setValueRange()84 minimumValue == null || value.compareTo(minimumValue) >= 0, in validateValue()114 if (maximumValue != null && minimumValue != null) { in encodePerImpl()116 BigInteger normalizedValue = value.subtract(minimumValue); in encodePerImpl()117 BigInteger range = maximumValue.subtract(minimumValue); in encodePerImpl()121 } else if (minimumValue != null) { in encodePerImpl()125 PerAlignedUtils.encodeBigNonNegativeWholeNumber(value.subtract(minimumValue))) in encodePerImpl()127 PerUnalignedUtils.encodeBigNonNegativeWholeNumber(value.subtract(minimumValue))); in encodePerImpl()182 if (maximumValue != null && minimumValue != null) { in decodePerImpl()[all …]
36 int value, int minimumValue, int maximumValue) { in encodeConstrainedWholeNumber() argument37 int normalizedValue = value - minimumValue; in encodeConstrainedWholeNumber()39 int range = maximumValue - minimumValue; in encodeConstrainedWholeNumber()63 BitStreamReader reader, int minimumValue, int maximumValue) { in decodeConstrainedWholeNumber() argument65 long range = (long) maximumValue - (long) minimumValue; in decodeConstrainedWholeNumber()68 return (int) normalizedResult + minimumValue; in decodeConstrainedWholeNumber()
40 int minimumValue, in encodeSmallConstrainedWholeNumber() argument42 int normalizedValue = value - minimumValue; in encodeSmallConstrainedWholeNumber()44 int range = maximumValue - minimumValue; in encodeSmallConstrainedWholeNumber()87 int minimumValue, in decodeSmallConstrainedWholeNumber() argument90 int range = maximumValue - minimumValue; in decodeSmallConstrainedWholeNumber()93 return normalizedResult + minimumValue; in decodeSmallConstrainedWholeNumber()