Home
last modified time | relevance | path

Searched refs:setBit (Results 1 – 17 of 17) 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 …]
DBigIntegerTest.java106 .setBit(16).subtract(two))); in test_Constructor$B()
120 .setBit(16).subtract(two))); in test_ConstructorI$B()
123 .setBit(16).subtract(two).negate())); in test_ConstructorI$B()
279 BigInteger midbit = zero.setBit(i); in test_addLjava_math_BigInteger()
281 .equals(zero.setBit(i + 1))); in test_addLjava_math_BigInteger()
317 BigInteger midbit = zero.setBit(i); in test_negate()
443 BigInteger b = BigInteger.ZERO.setBit(i); in test_shiftRightI()
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()
/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/test/java/util/BitSet/
DBSMethods.java276 Integer setBit = setBitIterator.next(); in testSetGetClearFlip() local
277 testSet.clear(setBit.intValue()); in testSetGetClearFlip()
290 Integer setBit = setBitIterator.next(); in testSetGetClearFlip() local
291 testSet.set(setBit.intValue(), true); in testSetGetClearFlip()
303 Integer setBit = (Integer)setBitIterator.next(); in testSetGetClearFlip() local
304 testSet.set(setBit.intValue(), false); in testSetGetClearFlip()
317 Integer setBit = (Integer)setBitIterator.next(); in testSetGetClearFlip() local
318 testSet.flip(setBit.intValue()); in testSetGetClearFlip()
330 Integer setBit = (Integer)setBitIterator.next(); in testSetGetClearFlip() local
331 testSet.flip(setBit.intValue()); in testSetGetClearFlip()
/libcore/ojluni/annotations/sdk/nullability/java/math/
DBigInteger.annotated.java111 @libcore.util.NonNull public BigInteger setBit(int n) { throw new RuntimeException("Stub!"); } in setBit() method in BigInteger
/libcore/ojluni/src/main/java/java/util/
DPriorityQueue.java937 private static void setBit(long[] bits, int i) { in setBit() method in PriorityQueue
966 setBit(deathRow, i - beg); in bulkRemove()
DVector.java972 private static void setBit(long[] bits, int i) { in setBit() method
996 setBit(deathRow, i - beg); in bulkRemove()
DArrayDeque.java950 private static void setBit(long[] bits, int i) { in setBit() method in ArrayDeque
976 setBit(deathRow, i - k); in bulkRemoveModified()
DArrayList.java1748 private static void setBit(long[] bits, int i) {
1783 setBit(deathRow, i - beg);
/libcore/ojluni/src/main/java/java/util/concurrent/
DPriorityBlockingQueue.java1040 private static void setBit(long[] bits, int i) { in setBit() method in PriorityBlockingQueue
1068 setBit(deathRow, i - beg); in bulkRemove()
DArrayBlockingQueue.java1525 private static void setBit(long[] bits, int i) { in setBit() method in ArrayBlockingQueue
1560 setBit(deathRow, i - k); in bulkRemoveModified()
DCopyOnWriteArrayList.java912 private static void setBit(long[] bits, int i) { in setBit() method in CopyOnWriteArrayList
938 setBit(deathRow, i - beg); in bulkRemove()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java840 p = new BigInteger(bitLength, rnd).setBit(bitLength-1); in largePrime()
851 p = new BigInteger(bitLength, rnd).setBit(bitLength-1); in largePrime()
3754 public BigInteger setBit(int n) {
/libcore/ojluni/src/test/java/math/BigInteger/
DBigIntegerTest.java567 y = y.setBit(j); in bitOps()
/libcore/api/
Dcurrent.txt5368 method @NonNull public java.math.BigInteger setBit(int);