HomeSort by relevance Sort by last modified time
    Searched refs:TWO (Results 1 - 25 of 28) sorted by null

1 2

  /external/clang/test/FixIt/
fixit.c 37 #define TWO 2
42 // CHECK: x = y ? ONE : TWO;
43 x = y ? ONE TWO;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ObjectOutputStream2Test.java 35 TWO {
49 os.writeObject(MyEnum.TWO);
56 assertSame(MyEnum.TWO, readObj);
  /dalvik/tests/055-enum-performance/src/
SamePackagePrivateEnum.java 2 ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE,
SamePackagePublicEnum.java 2 ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE,
  /dalvik/tests/055-enum-performance/src/otherpackage/
OtherPackagePublicEnum.java 4 ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE,
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java 14 private static final BigInteger TWO = BigInteger.valueOf(2);
30 BigInteger min = TWO;
37 BigInteger max = p.subtract(TWO);
41 max = q.subtract(TWO);
DHParametersHelper.java 18 private static final BigInteger TWO = BigInteger.valueOf(2);
66 BigInteger pMinusTwo = p.subtract(TWO);
74 // g = BigIntegers.createRandomInRange(TWO, pMinusTwo, random);
76 // while (g.modPow(TWO, p).equals(ONE) || g.modPow(q, p).equals(ONE));
84 BigInteger h = BigIntegers.createRandomInRange(TWO, pMinusTwo, random);
86 g = h.modPow(TWO, p);
DHParametersGenerator.java 14 private static final BigInteger TWO = BigInteger.valueOf(2);
50 return new DHParameters(p, g, q, TWO, null);
DSAParametersGenerator.java 26 private static final BigInteger TWO = BigInteger.valueOf(2);
148 BigInteger pSub2 = p.subtract(TWO);
152 BigInteger h = BigIntegers.createRandomInRange(TWO, pSub2, r);
198 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO));
304 // if (g.compareTo(TWO) >= 0)
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
ECConstants.java 9 public static final BigInteger TWO = BigInteger.valueOf(2);
Tnaf.java 15 private static final BigInteger MINUS_TWO = ECConstants.TWO.negate();
235 if (check2.compareTo(ECConstants.TWO) >= 0)
344 u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intValue();
464 u0 = ECConstants.TWO;
527 tw = ECConstants.TWO.multiply(us[0]).multiply(u1invert).mod(twoToW);
745 // Split lambda into two BigIntegers to simplify calculations
ECPoint.java 290 ECFieldElement TWO = this.curve.fromBigInteger(BigInteger.valueOf(2));
292 ECFieldElement gamma = this.x.square().multiply(THREE).add(curve.a).divide(y.multiply(TWO));
294 ECFieldElement x3 = gamma.square().subtract(this.x.multiply(TWO));
426 * Check, if two <code>ECPoint</code>s can be added or subtracted.
ECFieldElement.java 179 // BigInteger legendreExponent = qMinusOne.shiftRight(1); //divide(ECConstants.TWO);
201 // BigInteger twoR = r.shiftLeft(1); //ECConstants.TWO.multiply(r);
203 // BigInteger root = twoR.modPow(q.subtract(ECConstants.TWO), q)
217 // n = n.shiftRight(1);//divide(ECConstants.TWO);
221 // return w.multiply(w).subtract(ECConstants.TWO).mod(p);
230 // return r.multiply(r).multiply(x.modPow(q.subtract(ECConstants.TWO), q)).subtract(ECConstants.TWO).mod(p);
243 BigInteger Vl = ECConstants.TWO;
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidEnumTest.java 26 ZERO, ONE, TWO, THREE, FOUR {boolean isFour() {
42 assertTrue(MyEnum.TWO.compareTo(MyEnum.ONE) > 0);
OldClassTest.java 102 public enum enumExm {ONE, TWO, THREE};
427 ONE, TWO, THREE
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
EnumConstantNotPresentExceptionTest.java 24 ONE,TWO,THREE
  /libcore/luni/src/main/java/libcore/icu/
NativePluralRules.java 30 public static final int TWO = 2;
  /dalvik/dx/tests/091-ssa-const-collector/
Blort.java 5 ONE,TWO,THREE,FOUR,FIVE,SIX,SEVEN,EIGHT
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidHashMapTest.java 25 private static final Integer TWO = 2;
31 map.put("two", TWO);
38 assertEquals(TWO, map.get("two"));
78 assertNull(map.put("two", 2));
84 assertEquals(2, map.get("two").intValue());
89 assertTrue(map.containsKey("two"));
99 assertEquals(2, map.remove("two").intValue());
124 } else if (s.equals("two")) {
    [all...]
  /libcore/luni/src/test/java/libcore/icu/
NativePluralRulesTest.java 46 assertEquals(NativePluralRules.TWO, npr.quantityForInt(2));
  /external/icu4c/test/intltest/
itrbnf.cpp 847 const llong TWO(0, 2);
848 const llong NEG_TWO = -TWO;
866 &FIVE, &TWO, &TWO,
868 &NEG_FIVE, &TWO, &NEG_TWO,
869 &NEG_FIVE, &NEG_TWO, &TWO,
870 &TWO, &FIVE, &ZERO,
871 &TWO, &NEG_FIVE, &ZERO,
    [all...]
  /external/v8/test/mjsunit/
keyed-call-ic.js 55 F.prototype.two = function() {return 'two'; }
59 ['one', 'one', 'one', 'one', 'two', 'two', 'one', 'three', 'one', 'two'];
116 key = 'two'; // the name change should case a miss
126 key = 'two'; // the name change should case a miss
190 if (i == 5) { obj = "TWO"; }
  /external/astl/tests/
test_vector.cpp 84 typedef enum { ONE = 10, TWO} TestEnum;
520 vector<B> two; local
521 two.push_back(B());
522 two.push_back(B());
524 vector<B>::iterator res = two.erase(two.begin());
526 EXPECT_TRUE(res == two.begin());
527 EXPECT_TRUE(res != two.end());
529 EXPECT_TRUE(two.begin() != two.end())
584 vector<B> two; local
598 vector<B> two; local
    [all...]
  /frameworks/base/core/java/android/content/res/
Resources.java 298 case NativePluralRules.TWO: return 0x01000007;
309 case NativePluralRules.TWO: return "two";
    [all...]
  /external/webkit/Source/WebKit/android/nav/
CacheBuilder.cpp     [all...]

Completed in 3811 milliseconds

1 2