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

123

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
H A DRSAMultiPrimePrivateCrtKeySpecTest.java41 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
42 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
43 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE)
73 BigInteger.ONE,
[all...]
H A DRSAPrivateCrtKeySpecTest.java52 BigInteger.ONE,
53 BigInteger.ONE,
54 BigInteger.ONE,
55 BigInteger.ONE,
56 BigInteger.ONE,
57 BigInteger.ONE,
58 BigInteger.ONE,
59 BigInteger.ONE);
70 BigInteger.ONE,
71 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...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-namespace.cpp7 ONE enumerator in enum:A::numbers
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
H A DEllipticCurve_ImplTest.java47 BigInteger.ONE,
53 BigInteger.ONE,
62 BigInteger.ONE,
71 BigInteger.ONE,
74 BigInteger.ONE,
80 BigInteger.ONE,
91 BigInteger.ONE,
102 BigInteger.ONE,
106 BigInteger.ONE,
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
H A DRSAKeyPairGenerator.java18 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:RSAKeyPairGenerator
52 if (p.mod(e).equals(ONE))
62 if (e.gcd(p.subtract(ONE)).equals(ONE))
85 if (q.mod(e).equals(ONE))
95 if (e.gcd(q.subtract(ONE)).equals(ONE))
125 pSub1 = p.subtract(ONE);
126 qSub1 = q.subtract(ONE);
H A DDHParametersHelper.java17 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:DHParametersHelper
43 p = q.shiftLeft(1).add(ONE);
76 // while (g.modPow(TWO, p).equals(ONE) || g.modPow(q, p).equals(ONE));
88 while (g.equals(ONE));
H A DDSAKeyPairGenerator.java24 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:DSAKeyPairGenerator
51 // return c.mod(q.subtract(ONE)).add(ONE);
54 return BigIntegers.createRandomInRange(ONE, q.subtract(ONE), random);
H A DDSAParametersGenerator.java25 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:DSAParametersGenerator
128 BigInteger p = x.subtract(c.subtract(ONE));
147 BigInteger e = p.subtract(ONE).divide(q);
195 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1));
198 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO));
229 Vj = Vj.mod(ONE.shiftLeft(b));
236 BigInteger X = W.add(ONE.shiftLeft(L - 1));
242 BigInteger p = X.subtract(c.subtract(ONE));
288 // BigInteger e = p.subtract(ONE)
[all...]
H A DDHKeyGeneratorHelper.java13 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:DHKeyGeneratorHelper
34 min = ONE.shiftLeft(m - 1);
/external/clang/test/FixIt/
H A Dfixit.c36 #define ONE 1 macro
42 // CHECK: x = y ? ONE : TWO;
43 x = y ? ONE TWO;
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
H A DECConstants.java8 public static final BigInteger ONE = BigInteger.valueOf(1); field in interface:ECConstants
H A DTnaf.java14 private static final BigInteger MINUS_ONE = ECConstants.ONE.negate();
41 new ZTauElement(ECConstants.ONE, ECConstants.ZERO), null,
44 new ZTauElement(ECConstants.ONE, MINUS_ONE), null
60 new ZTauElement(ECConstants.ONE, ECConstants.ZERO), null,
61 new ZTauElement(MINUS_THREE, ECConstants.ONE), null,
62 new ZTauElement(MINUS_ONE, ECConstants.ONE), null,
63 new ZTauElement(ECConstants.ONE, ECConstants.ONE), null
221 if (eta.compareTo(ECConstants.ONE) >= 0)
244 if (check1.compareTo(ECConstants.ONE) >
[all...]
/external/v8/test/mjsunit/
H A Dint32-ops.js34 const ONE = 1;
63 assertEquals(SMI_MAX + ONE, Add1(SMI_MAX), "smimax + 1");
64 assertEquals(SMI_MAX + ONE, Add1Reversed(SMI_MAX), "1 + smimax");
65 assertEquals(42 + ONE, Add1(OBJ_42)); // non-smi
66 assertEquals(42 + ONE, Add1Reversed(OBJ_42)); // non-smi
96 assertEquals(SMI_MIN - ONE, Sub1(SMI_MIN)); // overflow
97 assertEquals(ONE - SMI_MIN, Sub1Reversed(SMI_MIN)); // overflow
98 assertEquals(42 - ONE, Sub1(OBJ_42)); // non-smi
99 assertEquals(ONE - 42, Sub1Reversed(OBJ_42)); // non-smi
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DAlgorithmParameterGenerator3Test.java160 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE,
161 BigInteger.ONE, BigInteger.ONE);
181 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE,
182 BigInteger.ONE, BigInteger.ONE);
H A DSignature2Test.java140 sig.setParameter("r", BigInteger.ONE);
141 sig.setParameter("s", BigInteger.ONE);
156 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE,
157 BigInteger.ONE, BigInteger.ONE);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DEnumConstantNotPresentExceptionTest.java24 ONE,TWO,THREE enum constant in enum:EnumConstantNotPresentExceptionTest.Fixture
/external/apache-harmony/crypto/src/test/api/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")};
/external/jsilver/src/com/google/clearsilver/jsilver/data/
H A DTypeConverter.java27 private static final String ONE = "1"; field in class:TypeConverter
94 if (value.equals(ONE)) {
124 if (value.equals(ONE)) {
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/
H A Dswitch-004.js28 ONE = new Number(1);
46 SwitchTest( ONE, "ONE" );
81 case new Number(1) : result += "new ONE"; break;
82 case ONE: result += "ONE"; break;
/external/skia/samplecode/
H A DSampleMeasure.cpp24 static const SkScalar ONE = SkIntToScalar(9999)/10000; variable
31 { ONE, false, false },
32 { ONE, false, true },
33 { ONE, true, false },
34 { ONE, true, true }
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
H A DMacData.java18 private static final BigInteger ONE = BigInteger.valueOf(1); field in class:MacData
52 this.iterationCount = ONE;
99 if (!iterationCount.equals(ONE))
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
H A DRSABlindedEngine.java20 private static BigInteger ONE = BigInteger.valueOf(1); field in class:RSABlindedEngine
106 BigInteger r = BigIntegers.createRandomInRange(ONE, m.subtract(ONE), random);

Completed in 2223 milliseconds

123