/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasRequestPushMessage.java | 20 import java.math.BigInteger; 60 new BigInteger(handle, 16);
|
BluetoothMasClient.java | 32 import java.math.BigInteger; [all...] |
/external/pdfium/third_party/bigint/ |
BigInteger.cc | 7 #include "BigInteger.hh" 9 void BigInteger::operator =(const BigInteger &x) { 19 BigInteger::BigInteger(const Blk *b, Index blen, Sign s) : mag(b, blen) { 38 BigInteger::BigInteger(const BigUnsigned &x, Sign s) : mag(x) { 59 * negative BigInteger instead of an exception. */ 62 BigInteger::BigInteger(unsigned long x) : mag(x) { sign = mag.isZero() ? zero : positive; [all...] |
BigInteger.hh | 12 /* A BigInteger object represents a signed integer of size limited only by 16 * A BigInteger is just an aggregate of a BigUnsigned and a sign. (It is no 19 class BigInteger { 29 // Enumeration for the sign of a BigInteger. 38 BigInteger() : sign(zero), mag() {} 41 BigInteger(const BigInteger &x) : sign(x.sign), mag(x.mag) {}; 44 void operator=(const BigInteger &x); 47 BigInteger(const Blk *b, Index blen, Sign s); 50 BigInteger(const Blk *b, Index blen) : mag(b, blen) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
RequestPushMessage.java | 22 import java.math.BigInteger; 61 new BigInteger(handle, 16);
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
BigIntegerMath.java | 31 import java.math.BigInteger; 37 * A class for arithmetic on values of type {@code BigInteger}. 53 public static boolean isPowerOfTwo(BigInteger x) { 67 public static int log2(BigInteger x, RoundingMode mode) { 85 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( 99 BigInteger x2 = x.pow(2); 115 @VisibleForTesting static final BigInteger SQRT2_PRECOMPUTED_BITS = 116 new BigInteger("16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a", 16); 133 public static BigInteger factorial(int n) { 138 return BigInteger.valueOf(LongMath.factorials[n]) [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
RSAMultiPrimePrivateCrtKeySpecTest.java | 27 import java.math.BigInteger; 42 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE), 43 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE), 44 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
biginteger.h | 28 class BigInteger { 32 BigInteger(const BigInteger& rhs) : count_(rhs.count_) { 36 explicit BigInteger(uint64_t u) : count_(1) { 40 BigInteger(const char* decimals, size_t length) : count_(1) { 55 BigInteger& operator=(const BigInteger &rhs) 64 BigInteger& operator=(uint64_t u) { 70 BigInteger& operator+=(uint64_t u) { 87 BigInteger& operator*=(uint64_t u) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 24 import java.math.BigInteger; 40 public final Set<BigInteger> serialBlacklist; 61 new BigInteger(value, 16); 123 private static final Set<BigInteger> readSerialBlackList(String path) { 134 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 137 new BigInteger("077a59bcd53459601ca6907267a6dd1c", 16), 138 new BigInteger("047ecbe9fca55f7bd09eae36e10cae1e", 16), 139 new BigInteger("d8f35f4eb7872b2dab0692e315382fb0", 16), 140 new BigInteger("b0b7133ed096f9b56fae91c874bd3ac0", 16) [all...] |
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
CertBlacklist.java | 24 import java.math.BigInteger; 38 private final Set<BigInteger> serialBlacklist; 44 public CertBlacklist(Set<BigInteger> serialBlacklist, Set<byte[]> pubkeyBlacklist) { 56 Set<BigInteger> serialBlacklist = readSerialBlackList(defaultSerialBlacklistPath); 62 new BigInteger(value, 16); 124 private static final Set<BigInteger> readSerialBlackList(String path) { 135 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 138 new BigInteger("077a59bcd53459601ca6907267a6dd1c", 16), 139 new BigInteger("047ecbe9fca55f7bd09eae36e10cae1e", 16) [all...] |
/external/guava/guava/src/com/google/common/math/ |
BigIntegerMath.java | 33 import java.math.BigInteger; 39 * A class for arithmetic on values of type {@code BigInteger}. 55 public static boolean isPowerOfTwo(BigInteger x) { 69 public static int log2(BigInteger x, RoundingMode mode) { 87 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( 101 BigInteger x2 = x.pow(2); 117 @VisibleForTesting static final BigInteger SQRT2_PRECOMPUTED_BITS = 118 new BigInteger("16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a", 16); 129 public static int log10(BigInteger x, RoundingMode mode) { 136 BigInteger approxPow = BigInteger.TEN.pow(approxLog10) [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/nodes/ |
Tag.java | 19 import java.math.BigInteger; 59 intSet.add(BigInteger.class);
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
RsaKeyTest.java | 19 import java.math.BigInteger; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerModPowTest.java | 24 import java.math.BigInteger; 27 * Class: java.math.BigInteger 41 BigInteger aNumber = new BigInteger(aSign, aBytes); 42 BigInteger exp = new BigInteger(eSign, eBytes); 43 BigInteger modulus = new BigInteger(mSign, mBytes); 51 BigInteger.ZERO.modPow(new BigInteger("-1"), new BigInteger("10")) [all...] |
BigIntegerConstructorsTest.java | 24 import java.math.BigInteger; 28 * Class: java.math.BigInteger 29 * Constructors: BigInteger(byte[] a), BigInteger(int sign, byte[] a), 30 * BigInteger(String val, int radix) 40 new BigInteger(aBytes); 53 BigInteger aNumber = new BigInteger(aBytes); 69 BigInteger aNumber = new BigInteger(aBytes) [all...] |
BigIntegerTest.java | 20 import java.math.BigInteger; 25 BigInteger minusTwo = new BigInteger("-2", 10); 27 BigInteger minusOne = new BigInteger("-1", 10); 29 BigInteger zero = new BigInteger("0", 10); 31 BigInteger one = new BigInteger("1", 10); 33 BigInteger two = new BigInteger("2", 10) [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 41 public class BigInteger extends Number 42 implements Comparable<BigInteger>, Serializable { 65 /** The {@code BigInteger} constant 0. */ 66 public static final BigInteger ZERO = new BigInteger(0, 0); 68 /** The {@code BigInteger} constant 1. */ 69 public static final BigInteger ONE = new BigInteger(1, 1); 71 /** The {@code BigInteger} constant 10. */ 72 public static final BigInteger TEN = new BigInteger(1, 10) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
BigFraction.java | 21 import java.math.BigInteger; 85 /** <code>BigInteger</code> representation of 100. */ 86 private static final BigInteger ONE_HUNDRED_DOUBLE = BigInteger.valueOf(100); 89 private final BigInteger numerator; 92 private final BigInteger denominator; 96 * Create a {@link BigFraction} equivalent to the passed <tt>BigInteger</tt>, ie 103 public BigFraction(final BigInteger num) { 104 this(num, BigInteger.ONE); 109 * {@code BigInteger}. The {@link BigFraction} is reduced to lowest terms [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
LongMathTest.java | 29 import static java.math.BigInteger.valueOf; 40 import java.math.BigInteger; 52 assertEquals(BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Long.SIZE - 1), FLOOR).longValue(), 60 BigIntegerMath.log10(BigInteger.ONE.shiftLeft(Long.SIZE - i), FLOOR), 79 assertEquals(BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR), 80 BigInteger.valueOf(LongMath.halfPowersOf10[i])); 82 BigInteger nextBigger = 83 BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * LongMath.halfPowersOf10.length + 1), FLOOR); 84 assertTrue(nextBigger.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0); 143 BigInteger difference = BigInteger.valueOf(x).subtract(BigInteger.valueOf(y)) [all...] |
/external/v8/benchmarks/ |
crypto.js | 58 function BigInteger(a,b,c) { 66 // return new, unset BigInteger 67 function nbi() { return new BigInteger(null); } 148 BigInteger.prototype.am = fn; 239 if(mi) BigInteger.ZERO.subTo(this,this); 281 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } 427 if(this.s != a.s) BigInteger.ZERO.subTo(r,r); 482 BigInteger.ONE.dlShiftTo(ys,t); 496 if(ts != ms) BigInteger.ZERO.subTo(q,q); 501 if(ts < 0) BigInteger.ZERO.subTo(r,r) [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/20/ |
android.jar | |