Searched refs:shiftLeft (Results 1 - 25 of 37) sorted by path

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDERObjectIdentifier.java160 bigValue = bigValue.shiftLeft(7);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DDHKeyGeneratorHelper.java34 min = ONE.shiftLeft(m - 1);
H A DDHParametersHelper.java43 p = q.shiftLeft(1).add(ONE);
H A DDSAParametersGenerator.java180 BigInteger c = x.mod(q.shiftLeft(1));
250 BigInteger U = new BigInteger(1, output).mod(ONE.shiftLeft(N - 1));
253 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO));
284 Vj = Vj.mod(ONE.shiftLeft(b));
287 W = W.add(Vj.shiftLeft(exp));
291 BigInteger X = W.add(ONE.shiftLeft(L - 1));
294 BigInteger c = X.mod(q.shiftLeft(1));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECFieldElement.java94 return ONE.shiftLeft(bitLength).subtract(p);
243 BigInteger k = u.shiftLeft(1).add(ECConstants.ONE);
291 // BigInteger fourX = x.shiftLeft(2);
306 // BigInteger twoR = r.shiftLeft(1); //ECConstants.TWO.multiply(r);
361 Vh = modReduce(Vh.multiply(Vh).subtract(Qh.shiftLeft(1)));
368 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1)));
381 Vl = modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1)));
400 BigInteger _2x = x.shiftLeft(1);
422 // BigInteger v = x.subtract(u.shiftLeft(bits));
431 // x = x.add(u.shiftLeft(~n
[all...]
H A DIntArray.java256 private static int shiftLeft(int[] x, int count) method in class:IntArray
559 shiftLeft(c, bExt);
783 // uz = uz.xor(vz.shiftLeft(j));
788 // g1z = g1z.xor(g2z.shiftLeft(j));
H A DSimpleBigDecimal.java36 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
84 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale),
96 return new SimpleBigDecimal(bigInt.add(b.shiftLeft(scale)), scale);
111 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)),
129 BigInteger dividend = bigInt.shiftLeft(scale);
138 public SimpleBigDecimal shiftLeft(int n) method in class:SimpleBigDecimal
140 return new SimpleBigDecimal(bigInt.shiftLeft(n), scale);
151 return bigInt.compareTo(val.shiftLeft(scale));
199 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale));
202 fract = ECConstants.ONE.shiftLeft(scal
[all...]
H A DTnaf.java93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1);
135 SimpleBigDecimal s3 = v.multiply(v).shiftLeft(1);
344 u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intValue();
473 u2 = s.subtract(u0.shiftLeft(1));
H A DWNafUtil.java16 BigInteger _3k = k.shiftLeft(1).add(k);
167 BigInteger _3k = k.shiftLeft(1).add(k);
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-crypto.js756 this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this);
760 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);
912 var r = BigInteger.ONE.shiftLeft(n);
1307 BigInteger.prototype.shiftLeft = bnShiftLeft;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-crypto.js756 this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this);
760 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);
912 var r = BigInteger.ONE.shiftLeft(n);
1307 BigInteger.prototype.shiftLeft = bnShiftLeft;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-crypto.js756 this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this);
760 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);
912 var r = BigInteger.ONE.shiftLeft(n);
1307 BigInteger.prototype.shiftLeft = bnShiftLeft;
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/chromium_org/third_party/skia/src/core/
H A DSkFloat.h31 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } function in class:SkFloat
/external/chromium_org/v8/benchmarks/
H A Dcrypto.js764 this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this);
768 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);
920 var r = BigInteger.ONE.shiftLeft(n);
1315 BigInteger.prototype.shiftLeft = bnShiftLeft;
/external/dexmaker/src/test/java/com/google/dexmaker/
H A DDexMakerTest.java769 Method shiftLeft = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_LEFT);
770 assertEquals(0xcd123400, shiftLeft.invoke(null, 0xabcd1234, 8));
820 Method shiftLeft = binaryOpMethod(long.class, int.class, BinaryOp.SHIFT_LEFT);
821 assertEquals(0xcdef012345678900L, shiftLeft.invoke(null, 0xabcdef0123456789L, 8));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/google-tv-pairing-protocol/java/jar/
H A Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY.DSA META ...
/external/guava/guava-tests/test/com/google/common/math/
H A DBigIntegerMathTest.java305 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);
H A DMathTesting.java188 BigInteger x = ONE.shiftLeft(exponent);
/external/guava/guava/src/com/google/common/math/
H A DBigIntegerMath.java242 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1);
336 return listProduct(bignums).shiftLeft(shift);
H A DDoubleMath.java168 BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS);
/external/llvm/include/llvm/Support/
H A DScaledNumber.h626 shiftLeft(Shift);
635 void shiftLeft(int32_t Shift);
832 template <class DigitsT> void ScaledNumber<DigitsT>::shiftLeft(int32_t Shift) { function in class:llvm::ScaledNumber
868 shiftLeft(-Shift);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
H A DBitArrayTest.java70 b.shiftLeft(1);
77 b.shiftLeft(2);
78 b.shiftLeft(2);
79 assertEquals(b.data, BigInteger.ZERO.setBit(10).shiftLeft(2).shiftLeft(2).longValue());
109 b.shiftLeft(64);
116 b.shiftLeft(1);
124 b.shiftLeft(1);
132 b.shiftLeft(67);
134 b.shiftLeft(6
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DBitArray.java35 void shiftLeft(int count); method in interface:BitArray
57 @Override public void shiftLeft(int count) { method in class:BitArray.FixedCapacity
137 @Override public void shiftLeft(int count) { method in class:BitArray.VariableCapacity

Completed in 1722 milliseconds

12