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

1 2 3 4 5 6 7 8 91011>>

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
LookaheadSet.java 68 public LookaheadSet subtract(LookaheadSet other) { method in class:LookaheadSet
69 return new LookaheadSet(this.tokenTypeSet.subtract(other.tokenTypeSet));
87 tokenTypeSet = (IntervalSet)tokenTypeSet.subtract(IntervalSet.of(a));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
RSAKeyPairGenerator.java 62 if (e.gcd(p.subtract(ONE)).equals(ONE))
80 if (q.subtract(p).abs().bitLength() < mindiffbits)
95 if (e.gcd(q.subtract(ONE)).equals(ONE))
125 pSub1 = p.subtract(ONE);
126 qSub1 = q.subtract(ONE);
DHKeyGeneratorHelper.java 37 BigInteger max = p.subtract(TWO);
41 max = q.subtract(TWO);
DSAParametersGenerator.java 182 BigInteger p = x.subtract(c.subtract(ONE));
201 BigInteger e = p.subtract(ONE).divide(q);
202 BigInteger pSub2 = p.subtract(TWO);
253 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO));
297 BigInteger p = X.subtract(c.subtract(ONE));
344 BigInteger e = p.subtract(ONE).divide(q);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
ECFieldElement.java 17 public abstract ECFieldElement subtract(ECFieldElement b); method in class:ECFieldElement
94 return ONE.shiftLeft(bitLength).subtract(p);
160 public ECFieldElement subtract(ECFieldElement b) method in class:ECFieldElement.Fp
163 BigInteger x3 = x.subtract(x2);
194 x2 = q.subtract(x);
234 BigInteger qMinusOne = q.subtract(ECConstants.ONE);
258 || !(P.multiply(P).subtract(fourQ).modPow(legendreExponent, q).equals(qMinusOne)));
283 // BigInteger qMinusOne = q.subtract(ECConstants.ONE);
299 // || !(r.multiply(r).subtract(fourX).modPow(legendreExponent, q).equals(qMinusOne)));
308 // BigInteger root = twoR.modPow(q.subtract(ECConstants.TWO), q
1177 public ECFieldElement subtract(final ECFieldElement b) method in class:ECFieldElement.F2m
    [all...]
ECPoint.java 418 public abstract ECPoint subtract(ECPoint b); method in class:ECPoint
546 ECFieldElement dx = X2.subtract(X1), dy = Y2.subtract(Y1);
561 ECFieldElement X3 = gamma.square().subtract(X1).subtract(X2);
562 ECFieldElement Y3 = gamma.multiply(X1.subtract(X3)).subtract(Y1);
577 ECFieldElement u = u1.subtract(u2);
580 ECFieldElement v = v1.subtract(v2);
600 ECFieldElement A = u.square().multiply(w).subtract(vCubed).subtract(two(vSquaredV2))
1031 public ECPoint subtract(ECPoint b) method in class:ECPoint.Fp
1431 public ECPoint subtract(ECPoint b) method in class:ECPoint.F2m
    [all...]
Tnaf.java 101 norm = s1.subtract(s2).add(s3);
143 norm = s1.subtract(s2).add(s3);
184 SimpleBigDecimal eta0 = lambda0.subtract(f0);
185 SimpleBigDecimal eta1 = lambda1.subtract(f1);
196 eta = eta.subtract(eta1);
207 check1 = eta0.subtract(threeEta1);
214 check2 = eta0.subtract(fourEta1);
344 u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intValue();
372 r0 = r1.subtract(s)
    [all...]
SimpleBigDecimal.java 104 public SimpleBigDecimal subtract(SimpleBigDecimal b) method in class:SimpleBigDecimal
109 public SimpleBigDecimal subtract(BigInteger b) method in class:SimpleBigDecimal
111 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)),
199 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale));
202 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerSubtractTest.java 28 * Method: subtract
32 * Subtract two positive numbers of the same length.
43 BigInteger result = aNumber.subtract(bNumber);
53 * Subtract two positive numbers of the same length.
64 BigInteger result = aNumber.subtract(bNumber);
74 * Subtract two numbers of the same length and different signs.
86 BigInteger result = aNumber.subtract(bNumber);
96 * Subtract two numbers of the same length and different signs.
108 BigInteger result = aNumber.subtract(bNumber);
118 * Subtract two negative numbers of the same length
    [all...]
  /external/proguard/src/proguard/evaluation/value/
SpecificDoubleValue.java 65 public DoubleValue subtract(DoubleValue other) method in class:SpecificDoubleValue
72 return other.subtract(this);
119 public DoubleValue subtract(SpecificDoubleValue other) method in class:SpecificDoubleValue
121 return new CompositeDoubleValue(this, CompositeDoubleValue.SUBTRACT, other);
126 return new CompositeDoubleValue(other, CompositeDoubleValue.SUBTRACT, this);
SpecificFloatValue.java 65 public FloatValue subtract(FloatValue other) method in class:SpecificFloatValue
72 return other.subtract(this);
119 public FloatValue subtract(SpecificFloatValue other) method in class:SpecificFloatValue
121 return new CompositeFloatValue(this, CompositeFloatValue.SUBTRACT, other);
126 return new CompositeFloatValue(other, CompositeFloatValue.SUBTRACT, this);
DoubleValue.java 81 public abstract DoubleValue subtract(DoubleValue other); method in class:DoubleValue
155 public DoubleValue subtract(SpecificDoubleValue other) method in class:DoubleValue
157 return subtract((DoubleValue)other);
258 public DoubleValue subtract(ParticularDoubleValue other) method in class:DoubleValue
260 return subtract((SpecificDoubleValue)other);
FloatValue.java 81 public abstract FloatValue subtract(FloatValue other); method in class:FloatValue
155 public FloatValue subtract(SpecificFloatValue other) method in class:FloatValue
157 return subtract((FloatValue)other);
258 public FloatValue subtract(ParticularFloatValue other) method in class:FloatValue
260 return subtract((SpecificFloatValue)other);
ParticularDoubleValue.java 87 public DoubleValue subtract(DoubleValue other) method in class:ParticularDoubleValue
97 //return value == 0.0 ? other : other.subtract(this);
98 return other.subtract(this);
148 public DoubleValue subtract(ParticularDoubleValue other) method in class:ParticularDoubleValue
ParticularFloatValue.java 87 public FloatValue subtract(FloatValue other) method in class:ParticularFloatValue
97 //return value == 0.0 ? other : other.subtract(this);
98 return other.subtract(this);
148 public FloatValue subtract(ParticularFloatValue other) method in class:ParticularFloatValue
UnknownDoubleValue.java 65 public DoubleValue subtract(DoubleValue other) method in class:UnknownDoubleValue
UnknownFloatValue.java 65 public FloatValue subtract(FloatValue other) method in class:UnknownFloatValue
LongValue.java 87 public LongValue subtract(LongValue other) method in class:LongValue
97 return other.subtract(this);
244 public LongValue subtract(SpecificLongValue other) method in class:LongValue
400 public LongValue subtract(ParticularLongValue other) method in class:LongValue
402 return subtract((SpecificLongValue)other);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntSet.java 61 IntSet subtract(IntSet a); method in interface:IntSet
  /external/replicaisland/src/com/replica/replicaisland/
OrbitalMagnetComponent.java 72 mDelta.subtract(mCenter);
89 targetVelocity.subtract(mVelocity);
99 mDelta.subtract(mRim);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
BigIntegers.java 90 return createRandomInRange(ZERO, max.subtract(min), random).add(min);
103 return new BigInteger(max.subtract(min).bitLength() - 1, random).add(min);
  /external/chromium_org/third_party/WebKit/Source/wtf/
FunctionalTest.cpp 73 static int subtract(int x, int y) function in namespace:__anon15316
83 Function<int ()> subtractTwoFromFourFunction = bind(subtract, 4, 2);
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestIntervalSet.java 152 String result = (s.subtract(s2)).toString();
160 String result = (s.subtract(s2)).toString();
165 result = (s.subtract(s3)).toString();
173 String result = (s.subtract(s2)).toString();
178 result = (s.subtract(s3)).toString();
186 String result = (s.subtract(s2)).toString();
196 String result = (s.subtract(s2)).toString();
201 result = (s.subtract(s3)).toString();
214 String result = (s.subtract(s2)).toString();
254 String result = s.subtract(s2).toString()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
Region.h 48 void subtract(const Region&);
152 static inline Region subtract(const Region& a, const Region& b) function in namespace:WebCore
155 result.subtract(b);
  /external/cmockery/cmockery_0_1_2/src/example/
calculator.c 79 // A binary arithmetic integer operation (add, subtract etc.)
90 static int subtract(int a, int b);
97 {"-", subtract},
106 static int subtract(int a, int b) { function

Completed in 221 milliseconds

1 2 3 4 5 6 7 8 91011>>