Searched refs:bigInt (Results 1 – 5 of 5) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | SimpleBigDecimal.java | 22 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 …]
|
D | LongArray.java | 322 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/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 1005 public static byte[] encodeInteger(BigInteger bigInt) { in encodeInteger() argument 1006 if (bigInt == null) { in encodeInteger() 1009 return encodeBase64(toIntegerBytes(bigInt), false); in encodeInteger() 1019 static byte[] toIntegerBytes(BigInteger bigInt) { in toIntegerBytes() argument 1020 int bitlen = bigInt.bitLength(); in toIntegerBytes() 1023 byte[] bigBytes = bigInt.toByteArray(); in toIntegerBytes() 1025 if (((bigInt.bitLength() % 8) != 0) && (((bigInt.bitLength() / 8) + 1) == (bitlen / 8))) { in toIntegerBytes() 1033 if ((bigInt.bitLength() % 8) == 0) { in toIntegerBytes()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedLong.java | 226 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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/ |
D | GlyphPage.java | 204 BigInteger bigInt = new BigInteger(1, md.digest()); in renderGlyph() local 205 hash = bigInt.toString(16); in renderGlyph()
|