/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
Primes.java | 163 if (candidate.bitLength() == 2) 289 if (candidate.bitLength() == 2) 340 if (candidate.bitLength() == 2) 356 if (n == null || n.signum() < 1 || n.bitLength() < 2) 539 if (c.bitLength() > length)
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
BoundedRational.java | 137 return mNum.bitLength() - mDen.bitLength(); 145 return (mNum.bitLength() + mDen.bitLength() > MAX_SIZE); 411 if (den.bitLength() > MAX_SIZE) {
|
/toolchain/binutils/binutils-2.25/include/ |
hp-symtab.h | 146 bitlength is the length in bits for the basic type. */ 153 unsigned int bitlength: 24; member in struct:dnttp_immediate 656 BITLENGTH is the length of the pointer (not the underlying type). */ 664 unsigned int bitlength; member in struct:dntt_type_pointer 676 BITLENGTH is the number of bits used to hold the values of the enum's 685 unsigned int bitlength; member in struct:dntt_type_enum 719 BITLENGTH is the size of the set. */ 728 unsigned int bitlength; member in struct:dntt_type_set 749 BITLENGTH is the length in bits needed to describe the subrange's 762 unsigned int bitlength; member in struct:dntt_type_subrange 836 unsigned int bitlength; member in struct:dntt_type_struct 853 unsigned int bitlength; member in struct:dntt_type_union 890 unsigned int bitlength; member in struct:dntt_type_field 916 unsigned int bitlength; member in struct:dntt_type_functype 1050 unsigned long bitlength ; \/* Total at this level. *\/ member in struct:dntt_type_class 1188 unsigned long bitlength ; \/* total at this level *\/ member in struct:dntt_type_template [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerOperateBitsTest.java | 28 * Methods: bitLength, shiftLeft, shiftRight, 57 * bitLength() of zero. 61 assertEquals(0, aNumber.bitLength()); 65 * bitLength() of a positive number. 71 assertEquals(108, aNumber.bitLength()); 75 * bitLength() of a positive number with the leftmost bit set 81 assertEquals(96, aNumber.bitLength()); 85 * bitLength() of a positive number which is a power of 2 91 assertEquals(81, aNumber.bitLength()); 95 * bitLength() of a negative number [all...] |
BigIntegerTest.java | 760 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; 776 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; 792 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; 807 int len = i1.bitLength() + 66; 821 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66;
|
BigIntegerConstructorsTest.java | 745 assertTrue("incorrect bitLength", aNumber.bitLength() <= bitLen); 757 assertEquals(b.toString(), bits, b.bitLength()); 762 assertEquals(b.toString(), bits, b.bitLength()); 767 assertEquals(b.toString(), bits, b.bitLength()); 773 assertEquals(b.toString(), bits, b.bitLength()); 778 assertTrue(b.toString(), b.bitLength() <= bits); 783 assertTrue(b.toString(), b.bitLength() <= bits);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
SHA1Digest.java | 105 long bitLength) 112 X[14] = (int)(bitLength >>> 32); 113 X[15] = (int)(bitLength & 0xffffffff);
|
SHA224Digest.java | 120 long bitLength) 127 X[14] = (int)(bitLength >>> 32); 128 X[15] = (int)(bitLength & 0xffffffff);
|
SHA256Digest.java | 121 long bitLength) 128 X[14] = (int)(bitLength >>> 32); 129 X[15] = (int)(bitLength & 0xffffffff);
|
MD5Digest.java | 93 long bitLength) 100 X[14] = (int)(bitLength & 0xffffffff); 101 X[15] = (int)(bitLength >>> 32);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
ECUtil.java | 287 return privateValue.bitLength(); // a guess but better than an exception! 290 return implicitCA.getN().bitLength(); 294 return order.bitLength();
|
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/ |
BigIntegerMath.java | 55 return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1; 69 int logFloor = x.bitLength() - 1; 100 int logX2Floor = x2.bitLength() - 1;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEDHPublicKey.java | 153 if (l.getValue().compareTo(BigInteger.valueOf(p.getValue().bitLength())) > 0)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
SecP192R1FieldElement.java | 63 return Q.bitLength();
|
SecP256R1FieldElement.java | 63 return Q.bitLength();
|
SecP521R1FieldElement.java | 63 return Q.bitLength();
|
/external/guava/guava/src/com/google/common/math/ |
BigIntegerMath.java | 57 return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1; 71 int logFloor = x.bitLength() - 1; 102 int logX2Floor = x2.bitLength() - 1; 450 return x.bitLength() <= Long.SIZE - 1;
|
/libcore/luni/src/main/java/java/math/ |
Conversion.java | 76 int resLengthInChars = (int) (val.abs().bitLength() / bitsForRadixDigit + ((sign < 0) ? 1 420 // val.bitLength() < 64 425 // val.bitLength() >= 33 * 32 > 1024 430 int bitLen = val.abs().bitLength();
|
/libcore/ojluni/src/main/java/java/security/spec/ |
ECFieldFp.java | 65 return p.bitLength();
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
RandomPrivateKeyX509ExtendedKeyManager.java | 58 int keyLengthBits = originalKeySpec.getModulus().bitLength();
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
DsaTest.java | [all...] |
DhTest.java | 255 int keySize = p.bitLength(); 265 assertTrue(x.bitLength() >= minPrivateKeyBits - 32); 305 // I.e., subgroup confinment attacks can find at least keySize - r.bitLength() bits of the key. 309 assertTrue(minPrivateKeyBits - (keySize - r.bitLength()) > 160); 313 if (g.bitLength() >= 160) {
|
/prebuilts/go/darwin-x86/src/compress/flate/ |
huffman_bit_writer.go | 302 w.codegenEncoding.bitLength(w.codegenFreq[:]) + 307 litEnc.bitLength(w.literalFreq) + 308 offEnc.bitLength(w.offsetFreq) + 317 fixedLiteralEncoding.bitLength(w.literalFreq) + 318 fixedOffsetEncoding.bitLength(w.offsetFreq) +
|
/prebuilts/go/linux-x86/src/compress/flate/ |
huffman_bit_writer.go | 302 w.codegenEncoding.bitLength(w.codegenFreq[:]) + 307 litEnc.bitLength(w.literalFreq) + 308 offEnc.bitLength(w.offsetFreq) + 317 fixedLiteralEncoding.bitLength(w.literalFreq) + 318 fixedOffsetEncoding.bitLength(w.offsetFreq) +
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DSAParametersGenerator.java | 191 if (p.bitLength() != L) 215 if (g.bitLength() > 1) 306 if (p.bitLength() != L)
|