Home
last modified time | relevance | path

Searched refs:setBit (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/tests/security/spec/
DECFieldF2mTest.java386 setBit(0).setBit(1).setBit(2). in testHashCode05()
387 setBit(981).setBit(2000)).hashCode()); in testHashCode05()
418 setBit(0).setBit(367).setBit(1999)))); in testEqualsObject03()
430 setBit(0).setBit(1).setBit(2). in testEqualsObject04()
431 setBit(981).setBit(2000)); in testEqualsObject04()
443 setBit(0).setBit(1).setBit(2). in testEqualsObject05()
444 setBit(981).setBit(2000)); in testEqualsObject05()
492 BigInteger.valueOf(0L).setBit(0).setBit(1). in testGetMidTermsOfReductionPolynomial01()
493 setBit(2).setBit(981).setBit(2000)). in testGetMidTermsOfReductionPolynomial01()
524 BigInteger rp = BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2). in testGetReductionPolynomial01()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerOperateBitsTest.java728 aNumber.setBit(number); in testSetBitException()
743 BigInteger result = aNumber.setBit(number); in testSetBitZero()
761 BigInteger result = aNumber.setBit(number); in testSetBitZeroOutside1()
779 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside1()
797 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside2()
815 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside3()
833 BigInteger result = aNumber.setBit(number); in testSetBitPositiveInside4()
851 BigInteger result = aNumber.setBit(number); in testSetBitPositiveOutside1()
869 BigInteger result = aNumber.setBit(number); in testSetBitPositiveOutside2()
887 BigInteger result = aNumber.setBit(number); in testSetBitTopPositive()
[all …]
DOldBigIntegerTest.java307 BigInteger midbit = BigInteger.ZERO.setBit(i); in test_addLjava_math_BigInteger()
309 .equals(BigInteger.ZERO.setBit(i + 1))); in test_addLjava_math_BigInteger()
DBigIntegerTest.java111 .setBit(16).subtract(two))); in test_Constructor$B()
125 .setBit(16).subtract(two))); in test_ConstructorI$B()
128 .setBit(16).subtract(two).negate())); in test_ConstructorI$B()
284 BigInteger midbit = zero.setBit(i); in test_addLjava_math_BigInteger()
286 .equals(zero.setBit(i + 1))); in test_addLjava_math_BigInteger()
322 BigInteger midbit = zero.setBit(i); in test_negate()
448 BigInteger b = BigInteger.ZERO.setBit(i); in test_shiftRightI()
/libcore/ojluni/src/main/java/java/security/spec/
DECFieldF2m.java156 this.rp = rp.setBit(m); in ECFieldF2m()
158 rp = rp.setBit(this.ks[j]); in ECFieldF2m()
/libcore/ojluni/src/main/java/java/text/
DMergeCollation.java264 byte setBit = (byte)(BITARRAYMASK << (c & BYTEMASK)); in fixEntry()
266 if (bitClump != 0 && (bitClump & setBit) != 0) { in fixEntry()
271 statusArray[statusIndex] = (byte)(bitClump | setBit); in fixEntry()
/libcore/luni/src/main/java/java/math/
DBigInteger.java584 @NonNull public BigInteger setBit(int n) { in setBit() method in BigInteger