/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | Tnaf.java | 287 BigInteger ns = k.shiftRight(m - _k - 2 + a); in approximateDivisionByN() 291 BigInteger hs = gs.shiftRight(m); in approximateDivisionByN() 296 BigInteger ls = gsPlusJs.shiftRight(_k-c); in approximateDivisionByN() 364 BigInteger s = r0.shiftRight(1); in tauAdicNaf() 375 r1 = t.shiftRight(1).negate(); in tauAdicNaf() 557 BigInteger dividend0 = ECConstants.ONE.add(ui[1]).shiftRight(shifts); in getSi() 558 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi() 575 BigInteger dividend0 = ECConstants.ONE.add(ui[1]).shiftRight(shifts); in getSi() 576 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi() 755 BigInteger pow2wMin1 = pow2w.shiftRight(1); in tauAdicWNaf() [all …]
|
D | ECFieldElement.java | 105 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue() 259 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt() 265 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt() 275 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 284 BigInteger legendreExponent = q.shiftRight(1); in sqrt() 406 return x.shiftRight(1); in modHalf() 415 return x.shiftRight(1); in modHalfAbs() 447 BigInteger u = x.shiftRight(qLen); in modReduce()
|
D | WNafUtil.java | 96 k = k.shiftRight(pos); in generateCompactWindowNaf() 169 k0 = k0.shiftRight(30); in generateJSF() 170 k1 = k1.shiftRight(30); in generateJSF() 259 k = k.shiftRight(pos); in generateWindowNaf()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | Tnaf.java | 288 BigInteger ns = k.shiftRight(m - _k - 2 + a); in approximateDivisionByN() 292 BigInteger hs = gs.shiftRight(m); in approximateDivisionByN() 297 BigInteger ls = gsPlusJs.shiftRight(_k-c); in approximateDivisionByN() 365 BigInteger s = r0.shiftRight(1); in tauAdicNaf() 376 r1 = t.shiftRight(1).negate(); in tauAdicNaf() 558 BigInteger dividend0 = ECConstants.ONE.add(ui[1]).shiftRight(shifts); in getSi() 559 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi() 576 BigInteger dividend0 = ECConstants.ONE.add(ui[1]).shiftRight(shifts); in getSi() 577 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi() 756 BigInteger pow2wMin1 = pow2w.shiftRight(1); in tauAdicWNaf() [all …]
|
D | ECFieldElement.java | 115 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue() 269 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt() 275 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt() 285 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 294 BigInteger legendreExponent = q.shiftRight(1); in sqrt() 416 return x.shiftRight(1); in modHalf() 425 return x.shiftRight(1); in modHalfAbs() 457 BigInteger u = x.shiftRight(qLen); in modReduce()
|
D | WNafUtil.java | 100 k = k.shiftRight(pos); in generateCompactWindowNaf() 173 k0 = k0.shiftRight(30); in generateJSF() 174 k1 = k1.shiftRight(30); in generateJSF() 263 k = k.shiftRight(pos); in generateWindowNaf()
|
/external/proguard/src/proguard/evaluation/value/ |
D | IntegerValue.java | 142 public abstract IntegerValue shiftRight(IntegerValue other); in shiftRight() method in IntegerValue 340 public IntegerValue shiftRight(UnknownIntegerValue other) in shiftRight() method in IntegerValue 342 return shiftRight((IntegerValue)other); in shiftRight() 584 public IntegerValue shiftRight(SpecificIntegerValue other) in shiftRight() method in IntegerValue 586 return shiftRight((IntegerValue)other); in shiftRight() 828 public IntegerValue shiftRight(ParticularIntegerValue other) in shiftRight() method in IntegerValue 830 return shiftRight((SpecificIntegerValue)other); in shiftRight()
|
D | LongValue.java | 158 public LongValue shiftRight(IntegerValue other) in shiftRight() method in LongValue 312 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in LongValue 468 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in LongValue 470 return shiftRight((SpecificIntegerValue)other); in shiftRight()
|
D | SpecificIntegerValue.java | 129 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in SpecificIntegerValue 136 return other.shiftRight(this); in shiftRightOf() 156 return other.shiftRight(this); in shiftRightOf() 256 public IntegerValue shiftRight(SpecificIntegerValue other) in shiftRight() method in SpecificIntegerValue
|
D | ParticularIntegerValue.java | 161 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in ParticularIntegerValue 168 return other.shiftRight(this); in shiftRightOf() 188 return other.shiftRight(this); in shiftRightOf() 284 public IntegerValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularIntegerValue
|
D | SpecificLongValue.java | 109 public LongValue shiftRight(IntegerValue other) in shiftRight() method in SpecificLongValue 201 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in SpecificLongValue
|
D | ParticularLongValue.java | 129 public LongValue shiftRight(IntegerValue other) in shiftRight() method in ParticularLongValue 217 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularLongValue
|
D | UnknownLongValue.java | 110 public LongValue shiftRight(IntegerValue other) in shiftRight() method in UnknownLongValue
|
/external/crcalc/src/com/hp/creals/ |
D | CR.java | 339 if (n < 0) return k.shiftRight(-n); in shift() 349 return adj_k.shiftRight(1); in scale() 800 public CR shiftRight(int n) { in shiftRight() method in CR 892 CR square_root = shiftRight(1).exp(); in exp() 914 static CR half_pi = PI.shiftRight(1); 933 CR cos_half = shiftRight(1).cos(); in cos() 993 CR scaled_result = shiftRight(extra_bits).ln(); in ln() 1220 abs_scaled_divisor.shiftRight(1)); in approximate() 1533 return shifted_result.add(big1).shiftRight(1); in approximate() 1579 private static CR SQRT_HALF = new sqrt_CR(ONE.shiftRight(1)); [all …]
|
D | UnaryCRFunction.java | 456 guess = l.add(h).shiftRight(1); in approximate() 471 if (adj.compareTo(difference.shiftRight(10)) < 0) { in approximate() 475 .shiftRight(10)) > 0){ in approximate() 556 .shiftRight(1)) >= 0) { in approximate() 599 mid[0] = l.add(h).shiftRight(1); in monotoneDerivative_UnaryCRFunction() 645 CR left_deriv = f_arg.subtract(f_left).shiftRight(log_delta); in approximate() 646 CR right_deriv = f_right.subtract(f_arg).shiftRight(log_delta); in approximate()
|
/external/guava/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 87 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( in log2() 272 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor() 274 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 280 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_ByteArrayBCD.java | 84 protected void shiftRight(int numDigits) { in shiftRight() method in DecimalQuantity_ByteArrayBCD 196 shiftRight(delta); in compact()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_ByteArrayBCD.java | 87 protected void shiftRight(int numDigits) { in shiftRight() method in DecimalQuantity_ByteArrayBCD 199 shiftRight(delta); in compact()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 740 shiftRight(-scale); in truncate() 871 shiftRight(position); in roundToMagnitude() 883 shiftRight(bubblePos); // shift off the trailing 9s in roundToMagnitude() 1101 protected abstract void shiftRight(int numDigits); in shiftRight() method in DecimalQuantity_AbstractBCD
|
D | DecimalQuantity_DualStorageBCD.java | 143 protected void shiftRight(int numDigits) { in shiftRight() method in DecimalQuantity_DualStorageBCD 292 shiftRight(delta); in compact()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 738 shiftRight(-scale); in truncate() 869 shiftRight(position); in roundToMagnitude() 881 shiftRight(bubblePos); // shift off the trailing 9s in roundToMagnitude() 1099 protected abstract void shiftRight(int numDigits); in shiftRight() method in DecimalQuantity_AbstractBCD
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | EcUtil.java | 168 BigInteger q = p.subtract(BigInteger.ONE).shiftRight(1); in legendre() 204 BigInteger q = p.add(BigInteger.ONE).shiftRight(2); in modSqrt() 231 BigInteger q = p.add(BigInteger.ONE).shiftRight(1); in modSqrt()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ |
D | Primes.java | 181 BigInteger m = wSubOne.shiftRight(a); in enhancedMRProbablePrimeTest() 307 BigInteger m = wSubOne.shiftRight(a); in isMRProbablePrime() 353 BigInteger m = wSubOne.shiftRight(a); in isMRProbablePrimeToBase()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
D | Primes.java | 177 BigInteger m = wSubOne.shiftRight(a); in enhancedMRProbablePrimeTest() 303 BigInteger m = wSubOne.shiftRight(a); in isMRProbablePrime() 349 BigInteger m = wSubOne.shiftRight(a); in isMRProbablePrimeToBase()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | DhTest.java | 291 boolean isSafePrime = p.shiftRight(1).isProbablePrime(4); in testKeyPair() 295 r = p.shiftRight(1); in testKeyPair()
|