Searched refs:ONE (Results 1 - 25 of 37) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/spec/
H A DRSAMultiPrimePrivateCrtKeySpecTest.java42 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 DRSAPrivateCrtKeySpecTest.java45 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 DEllipticCurveTest.java45 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 DECPointTest.java151 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 DOldAndroidEnumTest.java26 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 DRSAMultiPrimePrivateCrtKeyTest.java33 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 DEnumConstantNotPresentExceptionTest.java24 ONE, TWO, THREE enum constant in enum:EnumConstantNotPresentExceptionTest.Fixture
H A DEnumTest.java49 ONE; enum constant in enum:EnumTest.MockCloneEnum
199 MockCloneEnum.ONE.callClone();
/libcore/luni/src/test/java/libcore/icu/
H A DNativePluralRulesTest.java25 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 DDHPrivateKeySpecTest.java43 BigInteger.ONE, new BigInteger("1000000000000")};
45 BigInteger.ONE, new BigInteger("1000000000000")};
47 BigInteger.ONE, new BigInteger("1000000000000")};
H A DDHPublicKeySpecTest.java43 BigInteger.ONE, new BigInteger("1000000000000")};
45 BigInteger.ONE, new BigInteger("1000000000000")};
47 BigInteger.ONE, new BigInteger("1000000000000")};
H A DDHParameterSpecTest.java45 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 DOldBigIntegerTest.java109 // 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 DBigIntegerAndTest.java136 BigInteger bNumber = BigInteger.ONE;
146 BigInteger aNumber = BigInteger.ONE;
147 BigInteger bNumber = BigInteger.ONE;
149 assertTrue(result.equals(BigInteger.ONE));
H A DBigIntegerModPowTest.java112 + ") should be " + BigInteger.ONE, BigInteger.ONE,
H A DBigIntegerDivideTest.java264 * 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 DNativePluralRules.java29 public static final int ONE = 1; field in class:NativePluralRules
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DObjectOutputStream2Test.java31 ONE { enum constant in enum:ObjectOutputStream2Test.MyEnum
/libcore/luni/src/test/java/libcore/java/math/
H A DBigDecimalTest.java57 BigDecimal computed = parsed.divide(BigDecimal.ONE);
71 BigDecimal b = a.multiply(BigDecimal.ONE);
/libcore/luni/src/test/java/libcore/java/text/
H A DNumberFormatTest.java62 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 DOldAndroidHashMapTest.java24 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 DSignature2Test.java309 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 DECFieldF2m.java161 BigInteger rpTmp = BigInteger.ONE.setBit(this.m);
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CRLTest.java304 crl.getRevokedCertificate(BigInteger.ONE);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DFormatterTest.java3608 { 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...]

Completed in 377 milliseconds

12