/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | BitArrayTest.java | 70 b.shiftLeft(1); in shiftLeft_FixedCapacity() 77 b.shiftLeft(2); in multipleShifts_FixedCapacity() 78 b.shiftLeft(2); in multipleShifts_FixedCapacity() 79 assertEquals(b.data, BigInteger.ZERO.setBit(10).shiftLeft(2).shiftLeft(2).longValue()); in multipleShifts_FixedCapacity() 109 b.shiftLeft(64); in shiftLeftExpandsData_VariableCapacity() 116 b.shiftLeft(1); in shiftLeftFromZero_VariableCapacity() 124 b.shiftLeft(1); in shiftLeftAcrossOffset_VariableCapacity() 132 b.shiftLeft(67); in multipleShiftsLeftAcrossOffset_VariableCapacity() 134 b.shiftLeft(69); in multipleShiftsLeftAcrossOffset_VariableCapacity() 159 a.shiftLeft(100); in bigIntegerSanityCheck_VariableCapacity() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | SimpleBigDecimal.java | 36 return new SimpleBigDecimal(value.shiftLeft(scale), scale); in getInstance() 84 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), in adjustScale() 96 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale); in add() 111 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)), in subtract() 129 BigInteger dividend = bigInt.shiftLeft(scale); in divide() 138 public SimpleBigDecimal shiftLeft(int n) in shiftLeft() method in SimpleBigDecimal 140 return new SimpleBigDecimal(bigInt.shiftLeft(n), scale); in shiftLeft() 151 return bigInt.compareTo(val.shiftLeft(scale)); in compareTo() 199 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale)); in toString() 202 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract); in toString()
|
D | ECFieldElement.java | 94 return ONE.shiftLeft(bitLength).subtract(p); in calculateResidue() 243 BigInteger k = u.shiftLeft(1).add(ECConstants.ONE); in sqrt() 361 Vh = modReduce(Vh.multiply(Vh).subtract(Qh.shiftLeft(1))); in lucasSequence() 368 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence() 381 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1))); in lucasSequence() 400 BigInteger _2x = x.shiftLeft(1); in modDouble() 451 BigInteger v = x.subtract(u.shiftLeft(qLen)); in modReduce()
|
D | Tnaf.java | 93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); in norm() 135 SimpleBigDecimal s3 = v.multiply(v).shiftLeft(1); in norm() 344 …u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intVa… in tauAdicNaf() 473 u2 = s.subtract(u0.shiftLeft(1)); in getLucas()
|
D | WNafUtil.java | 16 BigInteger _3k = k.shiftLeft(1).add(k); in generateCompactNaf() 167 BigInteger _3k = k.shiftLeft(1).add(k); in generateNaf()
|
D | IntArray.java | 256 private static int shiftLeft(int[] x, int count) in shiftLeft() method in IntArray 559 shiftLeft(c, bExt); in multiply()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DSAParametersGenerator.java | 180 BigInteger c = x.mod(q.shiftLeft(1)); in generateParameters_FIPS186_2() 250 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1)); in generateParameters_FIPS186_3() 253 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO)); in generateParameters_FIPS186_3() 284 Vj = Vj.mod(ONE.shiftLeft(b)); in generateParameters_FIPS186_3() 287 W = W.add(Vj.shiftLeft(exp)); in generateParameters_FIPS186_3() 291 BigInteger X = W.add(ONE.shiftLeft(L - 1)); in generateParameters_FIPS186_3() 294 BigInteger c = X.mod(q.shiftLeft(1)); in generateParameters_FIPS186_3()
|
D | DHKeyGeneratorHelper.java | 34 min = ONE.shiftLeft(m - 1); in calculatePrivate()
|
D | DHParametersHelper.java | 43 p = q.shiftLeft(1).add(ONE); in generateSafePrimes()
|
/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 | SpecificLongValue.java | 104 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in SpecificLongValue 196 public LongValue shiftLeft(SpecificLongValue other) in shiftLeft() method in SpecificLongValue
|
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 | UnknownLongValue.java | 105 public LongValue shiftLeft(IntegerValue other) in shiftLeft() method in UnknownLongValue
|
D | UnknownIntegerValue.java | 121 public IntegerValue shiftLeft(IntegerValue other) in shiftLeft() method in UnknownIntegerValue
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | BitArray.java | 35 void shiftLeft(int count); in shiftLeft() method 57 @Override public void shiftLeft(int count) { in shiftLeft() method in BitArray.FixedCapacity 137 @Override public void shiftLeft(int count) { in shiftLeft() method in BitArray.VariableCapacity
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | BigIntegerMathTest.java | 305 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); 306 BigInteger x4 = x.shiftLeft(2); 310 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE); 320 BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE); 321 BigInteger x4 = x.shiftLeft(2); 325 BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | HpackDraft05.java | 167 referencedHeaders.shiftLeft(entriesToEvict); in evictToRecoverBytes() 168 emittedReferencedHeaders.shiftLeft(entriesToEvict); in evictToRecoverBytes() 319 referencedHeaders.shiftLeft(headerTable.length); in insertIntoHeaderTable() 320 emittedReferencedHeaders.shiftLeft(headerTable.length); in insertIntoHeaderTable()
|
/external/guava/guava/src/com/google/common/math/ |
D | BigIntegerMath.java | 242 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor() 336 return listProduct(bignums).shiftLeft(shift); in factorial()
|
D | DoubleMath.java | 168 BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS); in roundToBigInteger()
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 626 shiftLeft(Shift); 635 void shiftLeft(int32_t Shift); 832 template <class DigitsT> void ScaledNumber<DigitsT>::shiftLeft(int32_t Shift) { in shiftLeft() function 868 shiftLeft(-Shift); in shiftRight()
|
/external/skia/src/core/ |
D | SkFloat.h | 31 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } in shiftLeft() function
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkFloat.h | 31 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } in shiftLeft() function
|