/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/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/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/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 | 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 | 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 | UnknownLongValue.java | 110 public LongValue shiftRight(IntegerValue other) in shiftRight() method in UnknownLongValue
|
/external/crcalc/src/com/hp/creals/ |
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 …]
|
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/android/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 108 SQRT2_PRECOMPUTED_BITS.shiftRight(SQRT2_PRECOMPUTE_THRESHOLD - logFloor); in log2() 291 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor() 293 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 299 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
|
/external/guava/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 108 SQRT2_PRECOMPUTED_BITS.shiftRight(SQRT2_PRECOMPUTE_THRESHOLD - logFloor); in log2() 291 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor() 293 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor() 299 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
|
/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 208 shiftRight(delta); in compact()
|
/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 205 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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 701 shiftRight(-scale); in truncate() 883 shiftRight(position); in roundToMagnitude() 910 shiftRight(bubblePos); // shift off the trailing 9s in roundToMagnitude() 1126 protected abstract void shiftRight(int numDigits); in shiftRight() method in DecimalQuantity_AbstractBCD
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 703 shiftRight(-scale); in truncate() 885 shiftRight(position); in roundToMagnitude() 912 shiftRight(bubblePos); // shift off the trailing 9s in roundToMagnitude() 1128 protected abstract void shiftRight(int numDigits); in shiftRight() method in DecimalQuantity_AbstractBCD
|