/external/cbor-java/src/main/java/co/nstant/in/cbor/encoder/ |
D | AbstractEncoder.java | 97 write(length.shiftRight(56).and(mask).intValue()); in encodeTypeAndLength() 98 write(length.shiftRight(48).and(mask).intValue()); in encodeTypeAndLength() 99 write(length.shiftRight(40).and(mask).intValue()); in encodeTypeAndLength() 100 write(length.shiftRight(32).and(mask).intValue()); in encodeTypeAndLength() 101 write(length.shiftRight(24).and(mask).intValue()); in encodeTypeAndLength() 102 write(length.shiftRight(16).and(mask).intValue()); in encodeTypeAndLength() 103 write(length.shiftRight(8).and(mask).intValue()); in encodeTypeAndLength()
|
/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 | 104 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue() 258 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt() 264 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt() 274 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 283 BigInteger legendreExponent = q.shiftRight(1); in sqrt() 405 return x.shiftRight(1); in modHalf() 414 return x.shiftRight(1); in modHalfAbs() 440 BigInteger u = x.shiftRight(qLen); in modReduce()
|
D | WNafUtil.java | 139 k = k.shiftRight(pos); in generateCompactWindowNaf() 212 k0 = k0.shiftRight(30); in generateJSF() 213 k1 = k1.shiftRight(30); in generateJSF() 302 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 | 114 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue() 268 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt() 274 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt() 284 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 293 BigInteger legendreExponent = q.shiftRight(1); in sqrt() 415 return x.shiftRight(1); in modHalf() 424 return x.shiftRight(1); in modHalfAbs() 450 BigInteger u = x.shiftRight(qLen); in modReduce()
|
D | WNafUtil.java | 143 k = k.shiftRight(pos); in generateCompactWindowNaf() 216 k0 = k0.shiftRight(30); in generateJSF() 217 k1 = k1.shiftRight(30); in generateJSF() 306 k = k.shiftRight(pos); in generateWindowNaf()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/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 | 114 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue() 268 BigInteger e = q.shiftRight(2).add(ECConstants.ONE); in sqrt() 274 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt() 284 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 293 BigInteger legendreExponent = q.shiftRight(1); in sqrt() 415 return x.shiftRight(1); in modHalf() 424 return x.shiftRight(1); in modHalfAbs() 450 BigInteger u = x.shiftRight(qLen); in modReduce()
|
D | WNafUtil.java | 143 k = k.shiftRight(pos); in generateCompactWindowNaf() 216 k0 = k0.shiftRight(30); in generateJSF() 217 k1 = k1.shiftRight(30); in generateJSF() 306 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 | 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()
|
D | CR.java | 342 if (n < 0) return k.shiftRight(-n); in shift() 352 return adj_k.shiftRight(1); in scale() 806 public CR shiftRight(int n) { in shiftRight() method in CR 898 CR square_root = shiftRight(1).exp(); in exp() 920 static CR half_pi = PI.shiftRight(1); 939 CR cos_half = shiftRight(1).cos(); in cos() 999 CR scaled_result = shiftRight(extra_bits).ln(); in ln() 1226 abs_scaled_divisor.shiftRight(1)); in approximate() 1539 return shifted_result.add(big1).shiftRight(1); in approximate() 1585 private static CR SQRT_HALF = new sqrt_CR(ONE.shiftRight(1)); [all …]
|
/external/guava/android/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 110 SQRT2_PRECOMPUTED_BITS.shiftRight(SQRT2_PRECOMPUTE_THRESHOLD - logFloor); in log2() 293 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor() 295 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 301 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
|
/external/guava/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 110 SQRT2_PRECOMPUTED_BITS.shiftRight(SQRT2_PRECOMPUTE_THRESHOLD - logFloor); in log2() 293 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor() 295 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 301 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 206 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 209 shiftRight(delta); in compact()
|
/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/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()
|