/libcore/luni/src/test/java/tests/security/spec/ |
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, in testRSAMultiPrimePrivateCrtKeySpec01() 67 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01() 68 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01() 69 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01() 70 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01() 71 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01() 72 BigInteger.ONE, in testRSAMultiPrimePrivateCrtKeySpec01() [all …]
|
D | RSAPrivateCrtKeySpecTest.java | 45 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 46 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 47 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 48 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 49 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 50 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 51 BigInteger.ONE, in testRSAPrivateCrtKeySpec01() 52 BigInteger.ONE); in testRSAPrivateCrtKeySpec01() 63 BigInteger.ONE, in testRSAPrivateCrtKeySpec02() 64 BigInteger.ONE, in testRSAPrivateCrtKeySpec02() [all …]
|
D | EllipticCurveTest.java | 45 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 61 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray01() 79 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 102 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigIntegerbyteArray02() 253 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger01() 268 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger01() 285 BigInteger a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger02() 306 a = BigInteger.ONE; in testEllipticCurveECFieldBigIntegerBigInteger02() 441 .valueOf(4L), BigInteger.ONE); in testEllipticCurveECFieldBigIntegerBigInteger05() 443 assertEquals("incorrect b", ec.getB(), BigInteger.ONE); in testEllipticCurveECFieldBigIntegerBigInteger05() [all …]
|
D | ECPointTest.java | 151 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01() 155 p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01() 174 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject02() 178 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testEqualsObject02() 183 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testEqualsObject02() 200 ECPoint f = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testHashCode01() 231 ECPoint p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testHashCode02()
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
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; 39 private final BigInteger primeExponentP = BigInteger.ONE; 40 private final BigInteger primeExponentQ = BigInteger.ONE; 41 private final BigInteger primeP = BigInteger.ONE; 42 private final BigInteger primeQ = BigInteger.ONE; 43 private final BigInteger crtCoefficient = BigInteger.ONE;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidEnumTest.java | 26 ZERO, ONE, TWO, THREE, FOUR {boolean isFour() { in isFour() enumConstant 40 assertTrue(MyEnum.ZERO.compareTo(MyEnum.ONE) < 0); in testEnum() 42 assertTrue(MyEnum.TWO.compareTo(MyEnum.ONE) > 0); in testEnum() 43 assertTrue(MyEnum.FOUR.compareTo(MyEnum.ONE) > 0); in testEnum() 45 assertEquals("ONE", MyEnum.ONE.name()); in testEnum() 46 assertSame(MyEnum.ONE.getDeclaringClass(), MyEnum.class); in testEnum()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | OldBigIntegerTest.java | 209 BigInteger wpMinusOne = wp.subtract(BigInteger.ONE); in largePrimesProduct() 297 assertTrue("0+1", BigInteger.ZERO.add(BigInteger.ONE).equals(BigInteger.ONE)); in test_addLjava_math_BigInteger() 298 assertTrue("1+0", BigInteger.ONE.add(BigInteger.ZERO).equals(BigInteger.ONE)); in test_addLjava_math_BigInteger() 299 assertTrue("1+1", BigInteger.ONE.add(BigInteger.ONE).equals(two)); in test_addLjava_math_BigInteger() 303 assertTrue("1+(-1)", BigInteger.ONE.add(minusOne).equals(BigInteger.ZERO)); in test_addLjava_math_BigInteger() 304 assertTrue("(-1)+1", minusOne.add(BigInteger.ONE).equals(BigInteger.ZERO)); in test_addLjava_math_BigInteger() 319 BigInteger increment = BigInteger.ONE; in test_addLjava_math_BigInteger()
|
D | BigIntegerAndTest.java | 136 BigInteger bNumber = BigInteger.ONE; in testZeroOne() 146 BigInteger aNumber = BigInteger.ONE; in testOneOne() 147 BigInteger bNumber = BigInteger.ONE; in testOneOne() 149 assertTrue(result.equals(BigInteger.ONE)); in testOneOne()
|
D | BigIntegerModPowTest.java | 112 + ") should be " + BigInteger.ONE, BigInteger.ONE, in testModPowZeroExp()
|
D | BigIntegerMultiplyTest.java | 208 BigInteger bNumber = BigInteger.ONE; in testCase9() 226 BigInteger bNumber = BigInteger.ONE; in testCase10()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | DHPublicKeySpecTest.java | 43 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec() 45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec() 47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
|
D | DHPrivateKeySpecTest.java | 43 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec() 45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec() 47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
|
D | DHParameterSpecTest.java | 45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHParameterSpec() 47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHParameterSpec()
|
/libcore/luni/src/test/java/libcore/icu/ |
D | NativePluralRulesTest.java | 26 assertEquals(NativePluralRules.ONE, en_US.quantityForInt(1)); in testNegatives() 43 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); in testEnglish() 50 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); in testCzech() 60 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); in testArabic() 77 assertEquals(NativePluralRules.ONE, he.quantityForInt(1)); in testHebrew()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAndroidHashMapTest.java | 24 private static final Integer ONE = 1; field in OldAndroidHashMapTest 30 map.put("one", ONE); in addItems() 37 assertEquals(ONE, map.get("one")); in addItems() 157 if (o.equals(ONE)) { in testValueIterator()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigDecimalTest.java | 57 BigDecimal computed = parsed.divide(BigDecimal.ONE); in assertPrecision() 71 BigDecimal b = a.multiply(BigDecimal.ONE); in testPrecisionFromString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | EnumConstantNotPresentExceptionTest.java | 24 ONE, TWO, THREE enumConstant
|
D | EnumTest.java | 49 ONE; enumConstant 199 MockCloneEnum.ONE.callClone(); in test_clone()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativePluralRules.java | 29 public static final int ONE = 1; field in NativePluralRules
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectOutputStream2Test.java | 31 ONE { enumConstant
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Signature2Test.java | 309 sig.setParameter("r", BigInteger.ONE); in test_setParameterLjava_lang_StringLjava_lang_Object() 310 sig.setParameter("s", BigInteger.ONE); in test_setParameterLjava_lang_StringLjava_lang_Object() 326 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, in test_setParameterLjava_security_spec_AlgorithmParameterSpec() 327 BigInteger.ONE, BigInteger.ONE); in test_setParameterLjava_security_spec_AlgorithmParameterSpec()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NumberFormatTest.java | 63 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE))); in test_small_BigInteger_gets_longValue() 65 … assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE))); in test_small_BigInteger_gets_longValue()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 3608 { BigDecimal.ONE, "%e", "1.000000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3609 { BigDecimal.ONE, "%#.0e", "1.e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3610 { BigDecimal.ONE, "%# 9.8e", " 1.00000000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3611 { BigDecimal.ONE, "%#+0(8.4e", "+1.0000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3612 { BigDecimal.ONE, "%-+17.6e", "+1.000000e+00 " }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3613 { BigDecimal.ONE, "% 0(20e", " 00000001.000000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3675 { BigDecimal.ONE, "%g", "1.00000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() 3676 { BigDecimal.ONE, "%.5g", "1.0000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() 3677 { BigDecimal.ONE, "%- (,9.8g", " 1.0000000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() 3678 { BigDecimal.ONE, "%+0(,8.4g", "+001.000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() [all …]
|
/libcore/luni/src/main/java/java/security/spec/ |
D | ECFieldF2m.java | 161 BigInteger rpTmp = BigInteger.ONE.setBit(this.m); in ECFieldF2m()
|
/libcore/luni/src/main/java/java/math/ |
D | BigInteger.java | 69 public static final BigInteger ONE = new BigInteger(1, 1); field in BigInteger 78 static final BigInteger[] SMALL_VALUES = { ZERO, ONE, new BigInteger(1, 2), 994 return ONE.mod(modulus); in modPow()
|