/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DHKeyGeneratorHelper.java | 13 private static final BigInteger ONE = BigInteger.valueOf(1); 34 min = ONE.shiftLeft(m - 1);
|
DSAParametersGenerator.java | 28 private static final BigInteger ONE = BigInteger.valueOf(1); 182 BigInteger p = x.subtract(c.subtract(ONE)); 201 BigInteger e = p.subtract(ONE).divide(q); 250 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1)); 253 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO)); 284 Vj = Vj.mod(ONE.shiftLeft(b)); 291 BigInteger X = W.add(ONE.shiftLeft(L - 1)); 297 BigInteger p = X.subtract(c.subtract(ONE)); 344 BigInteger e = p.subtract(ONE).divide(q) [all...] |
/external/clang/test/Modules/Inputs/ |
redecl-merge-right.h | 81 int ONE; 83 const int one = ONE; variable
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
CollectionSize.java | 41 * require more than one CollectionSize, since a particular collection instance 42 * can only be one size at once. 54 /** Test a one-element collection. */ 55 ONE(1), 65 ONE,
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionToStringTester.java | 21 import static com.google.common.collect.testing.features.CollectionSize.ONE; 52 @CollectionSize.Require(ONE)
|
ListIndexOfTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 45 @CollectionSize.Require(absent = {ZERO, ONE})
|
ListLastIndexOfTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 45 @CollectionSize.Require(absent = {ZERO, ONE})
|
ListRemoveAllTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 39 @CollectionSize.Require(absent = {ZERO, ONE})
|
ListRemoveTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 37 @CollectionSize.Require(absent = {ZERO, ONE}) 52 assertEquals("remove(present) should decrease the size of a list by one.",
|
ListRetainAllTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 39 @CollectionSize.Require(absent = {ZERO, ONE})
|
QueueElementTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 48 @CollectionSize.Require(ONE)
|
QueuePeekTester.java | 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 43 @CollectionSize.Require(ONE)
|
QueuePollTester.java | 21 import static com.google.common.collect.testing.features.CollectionSize.ONE; 47 @CollectionSize.Require(ONE)
|
QueueRemoveTester.java | 21 import static com.google.common.collect.testing.features.CollectionSize.ONE; 52 @CollectionSize.Require(ONE)
|
MapCreationTester.java | 19 import static com.google.common.collect.testing.features.CollectionSize.ONE; 89 @CollectionSize.Require(absent = {ZERO, ONE}) 95 @CollectionSize.Require(absent = {ZERO, ONE}) 101 @CollectionSize.Require(absent = {ZERO, ONE}) 112 @CollectionSize.Require(absent = {ZERO, ONE})
|
CollectionRetainAllTester.java | 21 import static com.google.common.collect.testing.features.CollectionSize.ONE; 183 @CollectionSize.Require(absent = {ZERO, ONE}) 190 @CollectionSize.Require(absent = {ZERO, ONE}) 213 @CollectionSize.Require(absent = {ZERO, ONE}) 220 @CollectionSize.Require(absent = {ZERO, ONE}) 229 @CollectionSize.Require(ONE) 236 @CollectionSize.Require(absent = {ZERO, ONE}) 259 @CollectionSize.Require(ONE) 267 @CollectionSize.Require(absent = {ZERO, ONE})
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DHParameterSpecTest.java | 2 * Licensed to the Apache Software Foundation (ASF) under one or more 45 BigInteger.ONE, new BigInteger("1000000000000")}; 47 BigInteger.ONE, new BigInteger("1000000000000")};
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 2 * Licensed to the Apache Software Foundation (ASF) under one or more 141 sig.setParameter("r", BigInteger.ONE); 142 sig.setParameter("s", BigInteger.ONE); 157 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, 158 BigInteger.ONE, BigInteger.ONE);
|
/libcore/luni/src/test/java/libcore/icu/ |
NativePluralRulesTest.java | 26 assertEquals(NativePluralRules.ONE, en_US.quantityForInt(1)); 33 assertEquals(NativePluralRules.OTHER, ar.quantityForInt(-1)); // Not ONE. 43 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); 50 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); 60 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1)); 77 assertEquals(NativePluralRules.ONE, he.quantityForInt(1));
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_fragprog.c | 108 src = swizzle(src, X, Y, Z, ONE); 112 src = swizzle(src, W, ZERO, ZERO, ONE); 391 swizzle(tmp, ONE, ZERO, ONE, ONE), 0, 0); 540 swizzle(src0, X, Y, Z, ONE), src1, 0); 556 swizzle(src0, ONE, Y, Z, ONE), 557 swizzle(src1, ONE, Y, ONE, W), 0) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_fragprog.c | 108 src = swizzle(src, X, Y, Z, ONE); 112 src = swizzle(src, W, ZERO, ZERO, ONE); 391 swizzle(tmp, ONE, ZERO, ONE, ONE), 0, 0); 540 swizzle(src0, X, Y, Z, ONE), src1, 0); 556 swizzle(src0, ONE, Y, Z, ONE), 557 swizzle(src1, ONE, Y, ONE, W), 0) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
int32-ops.js | 34 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/spec/ |
ECPointTest.java | 2 * Licensed to the Apache Software Foundation (ASF) under one or more 99 * which is equal to the one passed to the constructor; 127 * which is equal to the one passed to the constructor; 158 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); 162 p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); 181 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); 185 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); 190 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); 207 ECPoint f = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); 238 ECPoint p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
ECPointTest.java | 2 * Licensed to the Apache Software Foundation (ASF) under one or more 92 * which is equal to the one passed to the constructor; 120 * which is equal to the one passed to the constructor; 151 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); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECFieldElement.java | 94 return ONE.shiftLeft(bitLength).subtract(p); 152 BigInteger x2 = x.add(ECConstants.ONE); 188 else if (ONE.equals(r)) 228 ECFieldElement z = new Fp(q, r, x.modPow(q.shiftRight(2).add(ECConstants.ONE), q)); 234 BigInteger qMinusOne = q.subtract(ECConstants.ONE); 237 if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE))) 243 BigInteger k = u.shiftLeft(1).add(ECConstants.ONE); 279 while (U.equals(ECConstants.ONE) || U.equals(qMinusOne)); 283 // BigInteger qMinusOne = q.subtract(ECConstants.ONE); 285 // if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE))) [all...] |