/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/ |
BigDecimalArithmeticTest.java | 28 import java.math.BigInteger; 54 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 55 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 77 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 78 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 101 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 102 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 124 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 125 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 148 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale) [all...] |
BigDecimalConstructorsTest.java | 31 import java.math.BigInteger; 86 * new BigDecimal(BigInteger value) 92 args = {java.math.BigInteger.class} 96 BigInteger bA = new BigInteger(a); 102 new BigDecimal((BigInteger) null); 110 * new BigDecimal(BigInteger value, int scale) 116 args = {java.math.BigInteger.class, int.class} 120 BigInteger bA = new BigInteger(a) [all...] |
BigDecimalScaleOperationsTest.java | 32 import java.math.BigInteger; 52 BigDecimal aNumber = new BigDecimal(new BigInteger(a)); 69 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 86 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 103 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 119 BigInteger bNumber = new BigInteger(a); 137 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 174 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 196 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale) [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
AuthorityKeyIdentifier.java | 26 import java.math.BigInteger; 59 private final BigInteger authorityCertSerialNumber; 63 BigInteger authorityCertSerialNumber) { 122 BigInteger authorityCertSerialNumber = null; 124 authorityCertSerialNumber = new BigInteger(enc);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
AuthorityKeyIdentifier.java | 3 import java.math.BigInteger; 111 BigInteger serialNumber) 131 BigInteger serialNumber) 145 BigInteger serialNumber) 167 public BigInteger getAuthorityCertSerialNumber()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
JCERSAPublicKey.java | 5 import java.math.BigInteger; 21 private BigInteger modulus; 22 private BigInteger publicExponent; 66 public BigInteger getModulus() 76 public BigInteger getPublicExponent()
|
JCERSAPrivateKey.java | 7 import java.math.BigInteger; 24 protected BigInteger modulus; 25 protected BigInteger privateExponent; 55 public BigInteger getModulus() 60 public BigInteger getPrivateExponent() 126 this.modulus = (BigInteger)in.readObject(); 150 this.privateExponent = (BigInteger)in.readObject();
|
JCEDHKeyAgreement.java | 3 import java.math.BigInteger; 26 private BigInteger x; 27 private BigInteger p; 28 private BigInteger g; 29 private BigInteger result; 34 BigInteger r)
|
JCEDHPrivateKey.java | 7 import java.math.BigInteger; 31 BigInteger x; 113 public BigInteger getX() 122 x = (BigInteger)in.readObject(); 124 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
JDKDSAPublicKey.java | 4 import java.math.BigInteger; 21 private BigInteger y; 46 BigInteger y, 94 public BigInteger getY()
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/ |
TSTInfo.java | 22 import java.math.BigInteger; 74 private final BigInteger serialNumber; 82 private final BigInteger nonce; 89 BigInteger serialNumber, Date genTime, int[] accuracy, 90 Boolean ordering, BigInteger nonce, GeneralName tsa, 165 public BigInteger getNonce() { 186 public BigInteger getSerialNumber() { 247 values[i] = BigInteger.valueOf(accuracy[i]).toByteArray(); 274 BigInteger nonce = (values[7] == null) ? null : new BigInteger( [all...] |
TimeStampReq.java | 22 import java.math.BigInteger; 58 private final BigInteger nonce; 67 String reqPolicy, BigInteger nonce, Boolean certReq, 78 String reqPolicy, BigInteger nonce, Boolean certReq, 138 public BigInteger getNonce() { 176 BigInteger nonce = (values[3] == null) ? null : new BigInteger(
|
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
Duration.java | 23 import java.math.BigInteger; 396 * returns a {@link java.math.BigInteger} object. For SECONDS, this [all...] |
XMLGregorianCalendar.java | 24 import java.math.BigInteger; 196 * BigInteger year, 254 public abstract void setYear(BigInteger year); 465 public abstract BigInteger getEon(); 488 * @return sum of <code>eon</code> and <code>BigInteger.valueOf(year)</code> 496 public abstract BigInteger getEonAndYear(); [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPrivateKeyImpl.java | 31 import java.math.BigInteger; 57 private BigInteger x, g, p, q; 122 x = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 137 p = new BigInteger(threeInts.p); 138 q = new BigInteger(threeInts.q); 139 g = new BigInteger(threeInts.g); 151 public BigInteger getX() {
|
DSAPublicKeyImpl.java | 34 import java.math.BigInteger; 65 private BigInteger y, g, p, q; 130 y = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 146 p = new BigInteger(threeInts.p); 147 q = new BigInteger(threeInts.q); 148 g = new BigInteger(threeInts.g); 165 public BigInteger getY() {
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
DERObjectIdentifier.java | 6 import java.math.BigInteger; 61 BigInteger bigValue = null; 100 bigValue = BigInteger.valueOf(value); 103 bigValue = bigValue.or(BigInteger.valueOf(b & 0x7f)); 187 BigInteger fieldValue) 197 BigInteger tmpValue = fieldValue; 231 writeField(bOut, new BigInteger(token));
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator3Test.java | 20 import java.math.BigInteger; 231 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, 232 BigInteger.ONE, BigInteger.ONE); 258 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, 259 BigInteger.ONE, BigInteger.ONE);
|
/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...] |
/external/webkit/SunSpider/tests/v8-v4/ |
v8-crypto.js | 50 function BigInteger(a,b,c) { 58 // return new, unset BigInteger 59 function nbi() { return new BigInteger(null); } 140 BigInteger.prototype.am = fn; 231 if(mi) BigInteger.ZERO.subTo(this,this); 273 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } 419 if(this.s != a.s) BigInteger.ZERO.subTo(r,r); 474 BigInteger.ONE.dlShiftTo(ys,t); 488 if(ts != ms) BigInteger.ZERO.subTo(q,q); 493 if(ts < 0) BigInteger.ZERO.subTo(r,r) [all...] |
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 17 import java.math.BigInteger; 282 * setMinCRLNumber(BigInteger minCRL) method testing. Tests if CRLs with any 291 args = {java.math.BigInteger.class} 297 BigInteger minCRL = new BigInteger("10000"); 306 selector.setMinCRLNumber(new BigInteger("10001")); 312 * setMaxCRLNumber(BigInteger maxCRL) method testing. Tests if CRLs with any 321 args = {java.math.BigInteger.class} 327 BigInteger maxCRL = new BigInteger("10000") [all...] |
/dalvik/libcore/math/src/main/java/java/math/ |
BigDecimal.java | 39 * BigInteger. 140 private static final BigInteger FIVE_POW[]; 146 private static final BigInteger TEN_POW[]; 210 * An array with the first <code>BigInteger</code> scaled by zero. 253 private BigInteger intVal; 390 setUnscaledValue(new BigInteger(unscaledBuffer.toString())); 561 intVal = new BigInteger(bi); 572 setUnscaledValue(Multiplication.multiplyByFivePow(BigInteger.valueOf(mantisa), scale)); 611 * {@code BigInteger} value to be converted to a {@code 614 public BigDecimal(BigInteger val) [all...] |
/dalvik/libcore/security/src/test/java/tests/targets/security/ |
AlgorithmParametersTestDSA.java | 18 import java.math.BigInteger; 65 new BigInteger(P), new BigInteger(Q), new BigInteger(G)));
|
/dalvik/libcore/security/src/main/java/java/security/cert/ |
X509CRLSelector.java | 22 import java.math.BigInteger; 50 private BigInteger minCRL; 52 private BigInteger maxCRL; 224 public void setMinCRLNumber(BigInteger minCRL) { 238 public void setMaxCRLNumber(BigInteger maxCRL) { 318 public BigInteger getMinCRL() { 331 public BigInteger getMaxCRL() { 421 BigInteger crlNumber = new BigInteger((byte[])
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
PBEKeyTest.java | 31 import java.math.BigInteger; 105 public BigInteger getY() {
|