Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/tests/security/spec/
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, 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 …]
DRSAPrivateCrtKeySpecTest.java45 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 …]
DEllipticCurveTest.java45 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 …]
DECPointTest.java151 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/
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;
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/
DOldAndroidEnumTest.java26 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/
DOldBigIntegerTest.java209 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()
DBigIntegerAndTest.java136 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()
DBigIntegerModPowTest.java112 + ") should be " + BigInteger.ONE, BigInteger.ONE, in testModPowZeroExp()
DBigIntegerMultiplyTest.java208 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/
DDHPublicKeySpecTest.java43 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
DDHPrivateKeySpecTest.java43 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHPrivateKeySpec()
DDHParameterSpecTest.java45 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHParameterSpec()
47 BigInteger.ONE, new BigInteger("1000000000000")}; in testDHParameterSpec()
/libcore/luni/src/test/java/libcore/icu/
DNativePluralRulesTest.java26 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/
DOldAndroidHashMapTest.java24 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/
DBigDecimalTest.java57 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/
DEnumConstantNotPresentExceptionTest.java24 ONE, TWO, THREE enumConstant
DEnumTest.java49 ONE; enumConstant
199 MockCloneEnum.ONE.callClone(); in test_clone()
/libcore/luni/src/main/java/libcore/icu/
DNativePluralRules.java29 public static final int ONE = 1; field in NativePluralRules
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStream2Test.java31 ONE { enumConstant
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignature2Test.java309 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/
DNumberFormatTest.java63 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/
DFormatterTest.java3608 { 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/
DECFieldF2m.java161 BigInteger rpTmp = BigInteger.ONE.setBit(this.m); in ECFieldF2m()
/libcore/luni/src/main/java/java/math/
DBigInteger.java69 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()

12