Searched refs:normalizedValue (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Integer.java | 61 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeAligned() argument 64 normalizedValue.intValue(), range.intValue()); in encodeNormalizedIntegerWithRangeAligned() 68 PerAlignedUtils.encodeBigNonNegativeWholeNumber(normalizedValue), in encodeNormalizedIntegerWithRangeAligned() 75 BigInteger normalizedValue, BigInteger range) { in encodeNormalizedIntegerWithRangeUnaligned() argument 77 normalizedValue.longValue(), range.longValue()); in encodeNormalizedIntegerWithRangeUnaligned() 116 BigInteger normalizedValue = value.subtract(minimumValue); in encodePerImpl() local 119 ? encodeNormalizedIntegerWithRangeAligned(normalizedValue, range) in encodePerImpl() 120 : encodeNormalizedIntegerWithRangeUnaligned(normalizedValue, range); in encodePerImpl() 185 BigInteger normalizedValue = aligned in decodePerImpl() local 188 value = minimumValue.add(normalizedValue); in decodePerImpl()
|
D | PerAlignedUtils.java | 42 int normalizedValue = value - minimumValue; in encodeSmallConstrainedWholeNumber() local 45 return encodeNormalizedSmallConstrainedWholeNumber(normalizedValue, range); in encodeSmallConstrainedWholeNumber() 58 int normalizedValue, int range) { in encodeNormalizedSmallConstrainedWholeNumber() argument 60 Preconditions.checkArgument(normalizedValue >= 0, in encodeNormalizedSmallConstrainedWholeNumber() 68 (byte) normalizedValue); in encodeNormalizedSmallConstrainedWholeNumber() 75 result.appendByte((byte) (normalizedValue)); in encodeNormalizedSmallConstrainedWholeNumber() 78 result.appendByte((byte) ((normalizedValue & 0xFF00) >>> 8)); in encodeNormalizedSmallConstrainedWholeNumber() 79 result.appendByte((byte) (normalizedValue & 0x00FF)); in encodeNormalizedSmallConstrainedWholeNumber()
|
D | PerUnalignedUtils.java | 37 int normalizedValue = value - minimumValue; in encodeConstrainedWholeNumber() local 40 return encodeNormalizedConstrainedWholeNumber(normalizedValue, range); in encodeConstrainedWholeNumber() 53 long normalizedValue, long range) { in encodeNormalizedConstrainedWholeNumber() argument 57 result.appendBit((normalizedValue >> i & 1) != 0); in encodeNormalizedConstrainedWholeNumber()
|