/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()
|
D | LongTest.java | 181 BigInteger.ONE, 185 BigInteger.valueOf(0x7fff_ffff_ffff_ffffL).add(BigInteger.ONE), 186 BigInteger.valueOf(2).shiftLeft(63).subtract(BigInteger.ONE)
|
D | MathTest.java | 169 BigInteger expected = BigInteger.valueOf(a).add(BigInteger.ONE); in testIncrementExactL() 180 BigInteger expected = BigInteger.valueOf(a).subtract(BigInteger.ONE); in testDecrementExactL()
|
/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()
|
/libcore/benchmarks/src/benchmarks/ |
D | SmallBigIntegerBenchmark.java | 47 if (x.and(BigInteger.ONE).equals(BigInteger.ONE)) { in main() 48 x = x.multiply(BIG_THREE).add(BigInteger.ONE); in main()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
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 | 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 | DHParameterSpecTest.java | 45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHParameterSpec() 47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHParameterSpec()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ComparatorTest.java | 29 private static final Item ONE = new Item(1); field in ComparatorTest 39 private final List<Item> orderedItems = listOf(ZERO, ONE, TWO, THREE, FOUR); 40 private final List<Item> nullsFirstItems = listOf(null, ZERO, ONE, TWO, THREE, FOUR); 41 private final List<Item> nullsLastItems = listOf(ZERO, ONE, TWO, THREE, FOUR, null);
|
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/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/test/java/org/apache/harmony/security/tests/java/security/ |
D | Signature2Test.java | 306 sig.setParameter("r", BigInteger.ONE); in test_setParameterLjava_lang_StringLjava_lang_Object() 307 sig.setParameter("s", BigInteger.ONE); in test_setParameterLjava_lang_StringLjava_lang_Object() 323 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, in test_setParameterLjava_security_spec_AlgorithmParameterSpec() 324 BigInteger.ONE, BigInteger.ONE); in test_setParameterLjava_security_spec_AlgorithmParameterSpec()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectOutputStream2Test.java | 31 ONE { enumConstant
|
/libcore/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/ |
D | ParameterMetadataTestClasses.java | 62 enum TestEnum { ONE, TWO } enumConstant
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 3619 { BigDecimal.ONE, "%e", "1.000000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3620 { BigDecimal.ONE, "%#.0e", "1.e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3621 { BigDecimal.ONE, "%# 9.8e", " 1.00000000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3622 { BigDecimal.ONE, "%#+0(8.4e", "+1.0000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3623 { BigDecimal.ONE, "%-+17.6e", "+1.000000e+00 " }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3624 { BigDecimal.ONE, "% 0(20e", " 00000001.000000e+00" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3686 { BigDecimal.ONE, "%g", "1.00000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() 3687 { BigDecimal.ONE, "%.5g", "1.0000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() 3688 { BigDecimal.ONE, "%- (,9.8g", " 1.0000000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() 3689 { BigDecimal.ONE, "%+0(,8.4g", "+001.000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionG() [all …]
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | ECFieldF2m.java | 155 this.rp = BigInteger.ONE; in ECFieldF2m()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NumberFormatTest.java | 64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE))); in test_small_BigInteger_gets_longValue() 66 … assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE))); in test_small_BigInteger_gets_longValue()
|