Home
last modified time | relevance | path

Searched defs:bs (Results 1 – 25 of 28) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java29 BitSet bs = new BitSet(); in test_Constructor() local
37 BitSet bs = new BitSet(128); in test_ConstructorI() local
57 BitSet bs = (BitSet) eightbs.clone(); in test_clone() local
62 BitSet bs; in test_equalsLjava_lang_Object() local
81 BitSet bs = (BitSet) eightbs.clone(); in test_hashCode() local
97 BitSet bs = new BitSet(3400); in test_clear() local
125 BitSet bs = new BitSet(0); in test_clearI() local
171 BitSet bs = new BitSet(16); in test_clearII() local
355 BitSet bs = new BitSet(); in test_getI() local
399 BitSet bs, resultbs, correctbs; in test_getII() local
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DBitSetTest.java28 BitSet bs = new BitSet(); in test_toString() local
53 private static void assertBitSet(BitSet bs, long[] longs, String s) { in assertBitSet()
97 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { in assertBitSet()
162 BitSet bs = new BitSet(); in test_toLongArray() local
181 BitSet bs; in test_previousSetBit() local
209 BitSet bs = new BitSet(); in test_previousClearBit() local
274 BitSet bs = BitSet.valueOf(bytes); in test_stream() local
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSetTest.java673 BitSet bs = new BitSet(setSize); in testRecursiveSubSets() local
677 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() local
681 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() local
705 void populate(NavigableSet<Integer> set, int limit, BitSet bs) { in populate()
712 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet()
738 BitSet bs) { in mutateSubSet()
769 void put(NavigableSet<Integer> set, int element, BitSet bs) { in put()
774 void remove(NavigableSet<Integer> set, int element, BitSet bs) { in remove()
781 BitSet bs) { in bashSubSet()
783 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() local
[all …]
DConcurrentHashMapTest.java145 BS bs = new BS(String.valueOf(i)); in testGenericComparable() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentSkipListSetTest.java703 BitSet bs = new BitSet(setSize); in testRecursiveSubSets() local
707 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() local
711 check(set.descendingSet(), 0, setSize - 1, false, bs); in testRecursiveSubSets() local
736 void populate(NavigableSet<Integer> set, int limit, BitSet bs) { in populate()
743 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet()
769 BitSet bs) { in mutateSubSet()
800 void put(NavigableSet<Integer> set, int element, BitSet bs) { in put()
805 void remove(NavigableSet<Integer> set, int element, BitSet bs) { in remove()
812 BitSet bs) { in bashSubSet()
814 check(set.descendingSet(), min, max, !ascending, bs); in bashSubSet() local
[all …]
DConcurrentHashMapTest.java170 BS bs = new BS(String.valueOf(i)); in testGenericComparable() local
DTreeSetTest.java690 BitSet bs; field in TreeSetTest
/libcore/ojluni/src/test/java/math/BigInteger/
DPrimeTest.java84 BitSet bs = new BitSet(nbits); in createPrimes() local
104 BitSet bs = createPrimes(); in getPrimes() local
/libcore/ojluni/src/main/java/sun/nio/ch/
DChannelInputStream.java72 private byte[] bs = null; // Invoker's previous array field in ChannelInputStream
88 public synchronized int read(byte[] bs, int off, int len) in read()
DUtil.java305 static ByteBuffer[] subsequence(ByteBuffer[] bs, int offset, int length) { in subsequence()
/libcore/ojluni/src/main/java/java/nio/channels/
DChannels.java157 public synchronized void write(byte[] bs, int off, int len) in newOutputStream()
218 public synchronized int read(byte[] bs, int off, int len) in newInputStream()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsChar.java204 static void testArrayNPE(ByteArraySource bs, VarHandleSource vhs) { in testArrayNPE()
245 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
286 static void testArrayUnsupported(ByteArraySource bs, VarHandleSource vhs) { in testArrayUnsupported()
384 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
594 … static void testArrayIndexOutOfBounds(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
639 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
690 … static void testArrayMisalignedAccess(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
731 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
776 static void testArrayReadWrite(ByteArraySource bs, VarHandleSource vhs) { in testArrayReadWrite()
823 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
[all …]
DVarHandleTestByteArrayAsShort.java204 static void testArrayNPE(ByteArraySource bs, VarHandleSource vhs) { in testArrayNPE()
245 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
286 static void testArrayUnsupported(ByteArraySource bs, VarHandleSource vhs) { in testArrayUnsupported()
384 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
594 … static void testArrayIndexOutOfBounds(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
639 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
690 … static void testArrayMisalignedAccess(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
731 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
776 static void testArrayReadWrite(ByteArraySource bs, VarHandleSource vhs) { in testArrayReadWrite()
823 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
[all …]
DVarHandleTestByteArrayAsDouble.java204 static void testArrayNPE(ByteArraySource bs, VarHandleSource vhs) { in testArrayNPE()
288 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
372 static void testArrayUnsupported(ByteArraySource bs, VarHandleSource vhs) { in testArrayUnsupported()
427 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
596 … static void testArrayIndexOutOfBounds(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
685 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
779 … static void testArrayMisalignedAccess(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
864 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
952 static void testArrayReadWrite(ByteArraySource bs, VarHandleSource vhs) { in testArrayReadWrite()
1126 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
[all …]
DVarHandleTestByteArrayAsFloat.java204 static void testArrayNPE(ByteArraySource bs, VarHandleSource vhs) { in testArrayNPE()
288 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
372 static void testArrayUnsupported(ByteArraySource bs, VarHandleSource vhs) { in testArrayUnsupported()
427 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
596 … static void testArrayIndexOutOfBounds(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
685 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
779 … static void testArrayMisalignedAccess(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
864 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
952 static void testArrayReadWrite(ByteArraySource bs, VarHandleSource vhs) { in testArrayReadWrite()
1126 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
[all …]
DVarHandleTestByteArrayAsInt.java204 static void testArrayNPE(ByteArraySource bs, VarHandleSource vhs) { in testArrayNPE()
334 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
464 static void testArrayUnsupported(ByteArraySource bs, VarHandleSource vhs) { in testArrayUnsupported()
473 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
596 … static void testArrayIndexOutOfBounds(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
731 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
871 … static void testArrayMisalignedAccess(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1002 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1136 static void testArrayReadWrite(ByteArraySource bs, VarHandleSource vhs) { in testArrayReadWrite()
1420 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
[all …]
DVarHandleTestByteArrayAsLong.java204 static void testArrayNPE(ByteArraySource bs, VarHandleSource vhs) { in testArrayNPE()
334 static void testArrayNPE(ByteBufferSource bs, VarHandleSource vhs) { in testArrayNPE()
464 static void testArrayUnsupported(ByteArraySource bs, VarHandleSource vhs) { in testArrayUnsupported()
473 static void testArrayUnsupported(ByteBufferSource bs, VarHandleSource vhs) { in testArrayUnsupported()
596 … static void testArrayIndexOutOfBounds(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
731 … static void testArrayIndexOutOfBounds(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayIndexOutOfBounds()
871 … static void testArrayMisalignedAccess(ByteArraySource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1002 … static void testArrayMisalignedAccess(ByteBufferSource bs, VarHandleSource vhs) throws Throwable { in testArrayMisalignedAccess()
1136 static void testArrayReadWrite(ByteArraySource bs, VarHandleSource vhs) { in testArrayReadWrite()
1420 static void testArrayReadWrite(ByteBufferSource bs, VarHandleSource vhs) { in testArrayReadWrite()
[all …]
DVarHandleBaseByteArrayTest.java180 final ByteArrayViewSource<?> bs; field in VarHandleBaseByteArrayTest.VarHandleSourceAccessTestCase
183 …VarHandleSourceAccessTestCase(String desc, ByteArrayViewSource<?> bs, VarHandleSource vhs, AccessT… in VarHandleSourceAccessTestCase()
187 …VarHandleSourceAccessTestCase(String desc, ByteArrayViewSource<?> bs, VarHandleSource vhs, AccessT… in VarHandleSourceAccessTestCase()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAdjacencyList.java213 BuildStep bs = new BuildStep(v, BuildStep.FOLLOW); in buildList() local
/libcore/benchmarks/src/benchmarks/regression/
DBitSetBenchmark.java27 private BitSet bs; field in BitSetBenchmark
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipFileTest.java32 ByteArrayOutputStream bs = new ByteArrayOutputStream(); in getAllBytesFromStream() local
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/
DX509V1CertImpl.java81 ByteArrayInputStream bs; in X509V1CertImpl() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DGroupByOpTest.java166 Set<V> bs = new HashSet<>(b.get(k)); in multiMapEquals() local
/libcore/ojluni/src/test/java/nio/Buffer/
DBasicByte.java211 private static void checkBytes(ByteBuffer b, byte[] bs) { in checkBytes()
DEqualsCompareTest.java639 B bs = bLength != s in testBufferType() local

12