/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | SimpleBigDecimal.java | 37 return new SimpleBigDecimal(value.shiftLeft(scale), scale); in getInstance() 79 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), in adjustScale() 91 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale); in add() 106 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)), in subtract() 124 BigInteger dividend = bigInt.shiftLeft(scale); in divide() 133 public SimpleBigDecimal shiftLeft(int n) in shiftLeft() method in SimpleBigDecimal 135 return new SimpleBigDecimal(bigInt.shiftLeft(n), scale); in shiftLeft() 146 return bigInt.compareTo(val.shiftLeft(scale)); in compareTo() 194 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); in toString() 197 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString()
|
D | ECFieldElement.java | 118 return ONE.shiftLeft(bitLength).subtract(p); in calculateResidue() 363 Vh = modReduce(Vh.multiply(Vh).subtract(Qh.shiftLeft(1))); in lucasSequence() 370 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence() 383 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence() 402 BigInteger _2x = x.shiftLeft(1); in modDouble() 458 BigInteger v = x.subtract(u.shiftLeft(qLen)); in modReduce()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | SimpleBigDecimal.java | 36 return new SimpleBigDecimal(value.shiftLeft(scale), scale); in getInstance() 78 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), in adjustScale() 90 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale); in add() 105 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)), in subtract() 123 BigInteger dividend = bigInt.shiftLeft(scale); in divide() 132 public SimpleBigDecimal shiftLeft(int n) in shiftLeft() method in SimpleBigDecimal 134 return new SimpleBigDecimal(bigInt.shiftLeft(n), scale); in shiftLeft() 145 return bigInt.compareTo(val.shiftLeft(scale)); in compareTo() 193 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); in toString() 196 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString()
|
D | ECFieldElement.java | 108 return ONE.shiftLeft(bitLength).subtract(p); in calculateResidue() 353 Vh = modReduce(Vh.multiply(Vh).subtract(Qh.shiftLeft(1))); in lucasSequence() 360 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence() 373 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence() 392 BigInteger _2x = x.shiftLeft(1); in modDouble() 448 BigInteger v = x.subtract(u.shiftLeft(qLen)); in modReduce()
|
/external/cbor-java/src/main/java/co/nstant/in/cbor/decoder/ |
D | AbstractDecoder.java | 96 .shiftLeft(56)); in getLengthAsBigInteger() 98 .shiftLeft(48)); in getLengthAsBigInteger() 100 .shiftLeft(40)); in getLengthAsBigInteger() 102 .shiftLeft(32)); in getLengthAsBigInteger() 104 .shiftLeft(24)); in getLengthAsBigInteger() 106 .shiftLeft(16)); in getLengthAsBigInteger() 108 .shiftLeft(8)); in getLengthAsBigInteger() 110 .shiftLeft(0)); in getLengthAsBigInteger()
|
/external/crcalc/src/com/hp/creals/ |
D | UnaryCRFunction.java | 409 .shiftLeft(rough_prec - working_arg_prec); in approximate() 411 .shiftLeft(rough_prec - working_arg_prec); in approximate() 417 CR h_cr = CR.valueOf(h).shiftLeft(working_arg_prec); in approximate() 426 CR l_cr = CR.valueOf(l).shiftLeft(working_arg_prec); in approximate() 472 adj = adj.shiftLeft(8); in approximate() 477 .shiftLeft(8)); in approximate() 491 .shiftLeft(working_arg_prec); in approximate() 508 .shiftLeft(working_arg_prec); in approximate() 510 .shiftLeft(working_arg_prec); in approximate() 609 CR appr_diff2 = f_high[0].subtract(f_mid[0].shiftLeft(1)).add(f_low[0]); in monotoneDerivative_UnaryCRFunction() [all …]
|
D | CR.java | 322 CR result = valueOf(mantissa).shiftLeft(exp); in valueOf() 343 return k.shiftLeft(n); in shift() 349 return k.shiftLeft(n); in scale() 604 scaled_CR = shiftLeft(4*n); in toString() 797 public CR shiftLeft(int n) { in shiftLeft() method in CR 940 return cos_half.multiply(cos_half).shiftLeft(1).subtract(ONE); in cos() 996 return quarter.shiftLeft(2); in ln() 1222 BigInteger dividend = big1.shiftLeft(log_scale_factor); in approximate() 1263 BigInteger scaled_1 = big1.shiftLeft(-calc_precision); in approximate() 1268 big1.shiftLeft(p - 4 - calc_precision); in approximate() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipEightByteIntegerTest.java | 68 .shiftLeft(1)); in testBIToBytes() 89 BigInteger.valueOf(Long.MAX_VALUE).shiftLeft(1), in testBIFromBytes() 119 assertEquals(BigInteger.valueOf(Long.MAX_VALUE).shiftLeft(1).setBit(0), in testSign()
|
/external/proguard/src/proguard/evaluation/value/ |
D | IntegerValue.java | 137 public abstract IntegerValue shiftLeft(IntegerValue other); in shiftLeft() method in IntegerValue 332 public IntegerValue shiftLeft(UnknownIntegerValue other) in shiftLeft() method in IntegerValue 334 return shiftLeft((IntegerValue)other); in shiftLeft() 576 public IntegerValue shiftLeft(SpecificIntegerValue other) in shiftLeft() method in IntegerValue 578 return shiftLeft((IntegerValue)other); in shiftLeft() 820 public IntegerValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in IntegerValue 822 return shiftLeft((SpecificIntegerValue)other); in shiftLeft()
|
D | LongValue.java | 150 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in LongValue 304 public LongValue shiftLeft(SpecificLongValue other) in shiftLeft() method in LongValue 460 public LongValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in LongValue 462 return shiftLeft((SpecificIntegerValue)other); in shiftLeft()
|
D | SpecificIntegerValue.java | 119 public IntegerValue shiftLeft(IntegerValue other) in shiftLeft() method in SpecificIntegerValue 126 return other.shiftLeft(this); in shiftLeftOf() 151 return other.shiftLeft(this); in shiftLeftOf() 251 public IntegerValue shiftLeft(SpecificIntegerValue other) in shiftLeft() method in SpecificIntegerValue
|
D | ParticularIntegerValue.java | 151 public IntegerValue shiftLeft(IntegerValue other) in shiftLeft() method in ParticularIntegerValue 158 return other.shiftLeft(this); in shiftLeftOf() 183 return other.shiftLeft(this); in shiftLeftOf() 279 public IntegerValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in ParticularIntegerValue
|
D | ParticularLongValue.java | 124 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in ParticularLongValue 212 public LongValue shiftLeft(ParticularIntegerValue other) in shiftLeft() method in ParticularLongValue
|
D | SpecificLongValue.java | 104 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in SpecificLongValue 196 public LongValue shiftLeft(SpecificLongValue other) in shiftLeft() method in SpecificLongValue
|
/external/XNNPACK/test/ |
D | requantization-tester.h | 130 const int64_t input = RequantizationTester::shiftLeft(i - zeroPoint(), s()) - in testDivideByPO2WithRoundingUp() 138 const int64_t input = RequantizationTester::shiftLeft(i - zeroPoint(), s()) - in testDivideByPO2WithRoundingUp() 165 const int64_t input = RequantizationTester::shiftLeft(i - zeroPoint(), s()) + in testDivideByPO2WithRoundingDown() 173 const int64_t input = RequantizationTester::shiftLeft(i - zeroPoint(), s()) + in testDivideByPO2WithRoundingDown() 193 int64_t input = RequantizationTester::shiftLeft(i - zeroPoint(), s()); in testDivideByPO2WithRoundingAway() 205 int64_t input = RequantizationTester::shiftLeft(i - zeroPoint(), s()); in testDivideByPO2WithRoundingAway() 373 static inline int64_t shiftLeft(int64_t w, uint32_t n) { in shiftLeft() function
|
/external/swiftshader/third_party/subzero/tests_lit/assembler/arm32/ |
D | rsb.ll | 24 define internal i64 @shiftLeft(i64 %v, i64 %l) { 25 ; ASM-LABEL:shiftLeft: 26 ; DIS-LABEL:00000000 <shiftLeft>: 27 ; IASM-LABEL:shiftLeft:
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ |
D | Primes.java | 529 x = x.mod(ONE.shiftLeft(length - 1)).setBit(length - 1); in implSTRandomPrime() 531 BigInteger c0x2 = c0.shiftLeft(1); in implSTRandomPrime() 532 BigInteger tx2 = x.subtract(ONE).divide(c0x2).add(ONE).shiftLeft(1); in implSTRandomPrime() 545 tx2 = ONE.shiftLeft(length - 1).subtract(ONE).divide(c0x2).add(ONE).shiftLeft(1); in implSTRandomPrime()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
D | Primes.java | 525 x = x.mod(ONE.shiftLeft(length - 1)).setBit(length - 1); in implSTRandomPrime() 527 BigInteger c0x2 = c0.shiftLeft(1); in implSTRandomPrime() 528 BigInteger tx2 = x.subtract(ONE).divide(c0x2).add(ONE).shiftLeft(1); in implSTRandomPrime() 541 tx2 = ONE.shiftLeft(length - 1).subtract(ONE).divide(c0x2).add(ONE).shiftLeft(1); in implSTRandomPrime()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | BigIntegerMathTest.java | 375 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); 376 BigInteger x4 = x.shiftLeft(2); 380 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE); 391 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); 392 BigInteger x4 = x.shiftLeft(2); 396 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | BigIntegerMathTest.java | 375 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); 376 BigInteger x4 = x.shiftLeft(2); 380 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE); 391 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); 392 BigInteger x4 = x.shiftLeft(2); 396 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
|
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/ |
D | Ed25519.java | 160 BigInteger d = p[Z].pow(2).shiftLeft(1); in doubleExtendedPoint() 161 BigInteger e = p[Y].multiply(p[X]).shiftLeft(2); in doubleExtendedPoint() 164 BigInteger h = p[Y].pow(2).add(p[X].pow(2)).shiftLeft(1); in doubleExtendedPoint()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DSAParametersGenerator.java | 187 BigInteger c = x.mod(q.shiftLeft(1)); in generateParameters_FIPS186_2() 258 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1)); in generateParameters_FIPS186_3() 300 BigInteger c = X.mod(q.shiftLeft(1)); in generateParameters_FIPS186_3()
|
D | RSAKeyPairGenerator.java | 53 BigInteger squaredBound = ONE.shiftLeft(strength - 1); in generateKeyPair() 55 BigInteger minDiff = ONE.shiftLeft(mindiffbits); in generateKeyPair()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
D | RSAKeyPairGenerator.java | 55 BigInteger squaredBound = ONE.shiftLeft(strength - 1); in generateKeyPair() 57 BigInteger minDiff = ONE.shiftLeft(mindiffbits); in generateKeyPair()
|
D | DSAParametersGenerator.java | 189 BigInteger c = x.mod(q.shiftLeft(1)); in generateParameters_FIPS186_2() 260 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1)); in generateParameters_FIPS186_3() 302 BigInteger c = X.mod(q.shiftLeft(1)); in generateParameters_FIPS186_3()
|