/libcore/luni/src/test/java/tests/security/spec/ |
H A D | RSAMultiPrimePrivateCrtKeySpecTest.java | 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) 66 BigInteger.ONE, [all...] |
H A D | RSAPrivateCrtKeySpecTest.java | 45 BigInteger.ONE, 46 BigInteger.ONE, 47 BigInteger.ONE, 48 BigInteger.ONE, 49 BigInteger.ONE, 50 BigInteger.ONE, 51 BigInteger.ONE, 52 BigInteger.ONE); 63 BigInteger.ONE, 64 BigInteger.ONE, [all...] |
H A D | EllipticCurveTest.java | 45 BigInteger a = BigInteger.ONE; 61 a = BigInteger.ONE; 79 BigInteger a = BigInteger.ONE; 102 a = BigInteger.ONE; 253 BigInteger a = BigInteger.ONE; 268 a = BigInteger.ONE; 285 BigInteger a = BigInteger.ONE; 306 a = BigInteger.ONE; 441 .valueOf(4L), BigInteger.ONE); 443 assertEquals("incorrect b", ec.getB(), BigInteger.ONE); [all...] |
H A D | ECPointTest.java | 151 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); 155 p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); 174 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); 178 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); 183 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); 200 ECPoint f = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); 231 ECPoint p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldAndroidEnumTest.java | 26 ZERO, ONE, TWO, THREE, FOUR {boolean isFour() { enum constant in enum:OldAndroidEnumTest.MyEnum 40 assertTrue(MyEnum.ZERO.compareTo(MyEnum.ONE) < 0); 42 assertTrue(MyEnum.TWO.compareTo(MyEnum.ONE) > 0); 43 assertTrue(MyEnum.FOUR.compareTo(MyEnum.ONE) > 0); 45 assertEquals("ONE", MyEnum.ONE.name()); 46 assertSame(MyEnum.ONE.getDeclaringClass(), MyEnum.class);
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
H A D | RSAMultiPrimePrivateCrtKeyTest.java | 33 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE), 34 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE), 35 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE) 38 private final BigInteger publicExponent = BigInteger.ONE; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | EnumConstantNotPresentExceptionTest.java | 24 ONE, TWO, THREE enum constant in enum:EnumConstantNotPresentExceptionTest.Fixture
|
H A D | EnumTest.java | 49 ONE; enum constant in enum:EnumTest.MockCloneEnum 199 MockCloneEnum.ONE.callClone();
|
/libcore/luni/src/test/java/libcore/icu/ |
H A D | NativePluralRulesTest.java | 25 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); 32 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); 42 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); 59 assertEquals(NativePluralRules.ONE, he.quantityForInt(1));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
H A D | DHPrivateKeySpecTest.java | 43 BigInteger.ONE, new BigInteger("1000000000000")}; 45 BigInteger.ONE, new BigInteger("1000000000000")}; 47 BigInteger.ONE, new BigInteger("1000000000000")};
|
H A D | DHPublicKeySpecTest.java | 43 BigInteger.ONE, new BigInteger("1000000000000")}; 45 BigInteger.ONE, new BigInteger("1000000000000")}; 47 BigInteger.ONE, new BigInteger("1000000000000")};
|
H A D | DHParameterSpecTest.java | 45 BigInteger.ONE, new BigInteger("1000000000000")}; 47 BigInteger.ONE, new BigInteger("1000000000000")};
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | OldBigIntegerTest.java | 109 // q = p.subtract(BigInteger.ONE).divide(TWO); 209 BigInteger wpMinusOne = wp.subtract(BigInteger.ONE); 297 assertTrue("0+1", BigInteger.ZERO.add(BigInteger.ONE).equals(BigInteger.ONE)); 298 assertTrue("1+0", BigInteger.ONE.add(BigInteger.ZERO).equals(BigInteger.ONE)); 299 assertTrue("1+1", BigInteger.ONE.add(BigInteger.ONE).equals(two)); 303 assertTrue("1+(-1)", BigInteger.ONE.add(minusOne).equals(BigInteger.ZERO)); 304 assertTrue("(-1)+1", minusOne.add(BigInteger.ONE) [all...] |
H A D | BigIntegerAndTest.java | 136 BigInteger bNumber = BigInteger.ONE; 146 BigInteger aNumber = BigInteger.ONE; 147 BigInteger bNumber = BigInteger.ONE; 149 assertTrue(result.equals(BigInteger.ONE));
|
H A D | BigIntegerModPowTest.java | 112 + ") should be " + BigInteger.ONE, BigInteger.ONE,
|
H A D | BigIntegerDivideTest.java | 264 * Divide a positive number by ONE. 271 BigInteger bNumber = BigInteger.ONE; 282 * Divide ONE by ONE. 286 BigInteger aNumber = BigInteger.ONE; 287 BigInteger bNumber = BigInteger.ONE;
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativePluralRules.java | 29 public static final int ONE = 1; field in class:NativePluralRules
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | ObjectOutputStream2Test.java | 31 ONE { enum constant in enum:ObjectOutputStream2Test.MyEnum
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | BigDecimalTest.java | 57 BigDecimal computed = parsed.divide(BigDecimal.ONE); 71 BigDecimal b = a.multiply(BigDecimal.ONE);
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | NumberFormatTest.java | 62 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE))); 64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE)));
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldAndroidHashMapTest.java | 24 private static final Integer ONE = 1; field in class:OldAndroidHashMapTest 30 map.put("one", ONE); 37 assertEquals(ONE, map.get("one")); 157 if (o.equals(ONE)) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Signature2Test.java | 309 sig.setParameter("r", BigInteger.ONE); 310 sig.setParameter("s", BigInteger.ONE); 326 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, 327 BigInteger.ONE, BigInteger.ONE);
|
/libcore/luni/src/main/java/java/security/spec/ |
H A D | ECFieldF2m.java | 161 BigInteger rpTmp = BigInteger.ONE.setBit(this.m);
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CRLTest.java | 304 crl.getRevokedCertificate(BigInteger.ONE);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | FormatterTest.java | 3608 { BigDecimal.ONE, "%e", "1.000000e+00" }, 3609 { BigDecimal.ONE, "%#.0e", "1.e+00" }, 3610 { BigDecimal.ONE, "%# 9.8e", " 1.00000000e+00" }, 3611 { BigDecimal.ONE, "%#+0(8.4e", "+1.0000e+00" }, 3612 { BigDecimal.ONE, "%-+17.6e", "+1.000000e+00 " }, 3613 { BigDecimal.ONE, "% 0(20e", " 00000001.000000e+00" }, 3675 { BigDecimal.ONE, "%g", "1.00000" }, 3676 { BigDecimal.ONE, "%.5g", "1.0000" }, 3677 { BigDecimal.ONE, "%- (,9.8g", " 1.0000000" }, 3678 { BigDecimal.ONE, " [all...] |