Home
last modified time | relevance | path

Searched refs:bigInt (Results 1 – 15 of 15) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DSimpleBigDecimal.java22 private final BigInteger bigInt; field in SimpleBigDecimal
46 public SimpleBigDecimal(BigInteger bigInt, int scale) in SimpleBigDecimal() argument
53 this.bigInt = bigInt; in SimpleBigDecimal()
78 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), in adjustScale()
85 return new SimpleBigDecimal(bigInt.add(b.bigInt), scale); in add()
90 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale); in add()
95 return new SimpleBigDecimal(bigInt.negate(), scale); in negate()
105 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)), in subtract()
112 return new SimpleBigDecimal(bigInt.multiply(b.bigInt), scale + scale); in multiply()
117 return new SimpleBigDecimal(bigInt.multiply(b), scale); in multiply()
[all …]
DLongArray.java322 public LongArray(BigInteger bigInt) in LongArray() argument
324 if (bigInt == null || bigInt.signum() < 0) in LongArray()
329 if (bigInt.signum() == 0) in LongArray()
335 byte[] barr = bigInt.toByteArray(); in LongArray()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DSimpleBigDecimal.java23 private final BigInteger bigInt; field in SimpleBigDecimal
47 public SimpleBigDecimal(BigInteger bigInt, int scale) in SimpleBigDecimal() argument
54 this.bigInt = bigInt; in SimpleBigDecimal()
79 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), in adjustScale()
86 return new SimpleBigDecimal(bigInt.add(b.bigInt), scale); in add()
91 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale); in add()
96 return new SimpleBigDecimal(bigInt.negate(), scale); in negate()
106 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)), in subtract()
113 return new SimpleBigDecimal(bigInt.multiply(b.bigInt), scale + scale); in multiply()
118 return new SimpleBigDecimal(bigInt.multiply(b), scale); in multiply()
[all …]
DLongArray.java323 public LongArray(BigInteger bigInt) in LongArray() argument
325 if (bigInt == null || bigInt.signum() < 0) in LongArray()
330 if (bigInt.signum() == 0) in LongArray()
336 byte[] barr = bigInt.toByteArray(); in LongArray()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java1004 public static byte[] encodeInteger(BigInteger bigInt) { in encodeInteger() argument
1005 if (bigInt == null) { in encodeInteger()
1008 return encodeBase64(toIntegerBytes(bigInt), false); in encodeInteger()
1018 static byte[] toIntegerBytes(BigInteger bigInt) { in toIntegerBytes() argument
1019 int bitlen = bigInt.bitLength(); in toIntegerBytes()
1022 byte[] bigBytes = bigInt.toByteArray(); in toIntegerBytes()
1024 if (((bigInt.bitLength() % 8) != 0) && (((bigInt.bitLength() / 8) + 1) == (bitlen / 8))) { in toIntegerBytes()
1032 if ((bigInt.bitLength() % 8) == 0) { in toIntegerBytes()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedLong.java226 BigInteger bigInt = BigInteger.valueOf(value & UNSIGNED_MASK); in bigIntegerValue() local
228 bigInt = bigInt.setBit(Long.SIZE - 1); in bigIntegerValue()
230 return bigInt; in bigIntegerValue()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUtil.hpp395 const int bigInt = ~0u/2; in elemsStr() local
398 const int wrapLength = wrapLengthParam > 0 ? wrapLengthParam : bigInt; in elemsStr()
/external/owasp/sanitizer/lib/commons-codec-1.4/
Dcommons-codec-1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...