Home
last modified time | relevance | path

Searched refs:nextClearBit (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java1208 bs.nextClearBit(-1); in test_nextClearBitI()
1212 assertEquals(5, bs.nextClearBit(0)); in test_nextClearBitI()
1213 assertEquals(5, bs.nextClearBit(5)); in test_nextClearBitI()
1214 assertEquals(32, bs.nextClearBit(6)); in test_nextClearBitI()
1215 assertEquals(32, bs.nextClearBit(32)); in test_nextClearBitI()
1216 assertEquals(63, bs.nextClearBit(33)); in test_nextClearBitI()
1219 assertEquals(63, bs.nextClearBit(63)); in test_nextClearBitI()
1220 assertEquals(64, bs.nextClearBit(64)); in test_nextClearBitI()
1223 assertEquals(71, bs.nextClearBit(65)); in test_nextClearBitI()
1224 assertEquals(71, bs.nextClearBit(71)); in test_nextClearBitI()
[all …]
/libcore/ojluni/src/test/java/util/BitSet/
DPreviousBits.java52 new F(){void f(){ s.nextClearBit(-1);}}, in testOutOfBounds()
54 new F(){void f(){ s.nextClearBit(Integer.MIN_VALUE);}}); in testOutOfBounds()
69 equal( i, s.nextClearBit(i)); in test()
84 equal(i, s.nextClearBit(i)); in test()
91 equal(j+1, s.nextClearBit(j)); in test()
97 equal(i, s.nextClearBit(i)); in test()
DBSMethods.java71 check(s.nextClearBit(0) == 0, "nextClearBit"); in checkEmpty()
72 check(s.nextClearBit(127) == 127, "nextClearBit"); in checkEmpty()
73 check(s.nextClearBit(128) == 128, "nextClearBit"); in checkEmpty()
103 check(s.nextClearBit(len) == len, "last set bit"); in checkSanity()
226 for(int x=b.nextClearBit(0); x<256; x=b.nextClearBit(x+1)) { in testNextClearBit()
236 if (bs.nextClearBit(0) != 0) in testNextClearBit()
240 if (bs.nextClearBit(0) != i+1) in testNextClearBit()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java743 public int nextClearBit(int fromIndex) { in nextClearBit() method in BitSet
1202 int endOfRun = nextClearBit(i); in toString()
/libcore/api/
Dcurrent.txt13440 method public int nextClearBit(int);