Home
last modified time | relevance | path

Searched refs:BitSet (Results 1 – 21 of 21) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBitSetTest.java22 import java.util.BitSet;
28 BitSet bs = new BitSet(); in test_toString()
45 BitSet bitSet = new BitSet(); in test_toString_highestPossibleBitSet()
53 private static void assertBitSet(BitSet bs, long[] longs, String s) { in assertBitSet()
73 assertBitSet(BitSet.valueOf(longs), longs, s); in assertBitSet()
75 assertBitSet(BitSet.valueOf(LongBuffer.wrap(longs)), longs, s); in assertBitSet()
80 assertBitSet(BitSet.valueOf(LongBuffer.wrap(paddedLongs, 1, longs.length)), longs, s); in assertBitSet()
84 BitSet original = BitSet.valueOf(longs); in assertBitSet()
86 assertFalse(BitSet.valueOf(longs).equals(original)); in assertBitSet()
97 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { in assertBitSet()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DBitSetTest.java20 import java.util.BitSet;
26 BitSet eightbs;
29 BitSet bs = new BitSet(); in test_Constructor()
37 BitSet bs = new BitSet(128); in test_ConstructorI()
46 bs = new BitSet(89); in test_ConstructorI()
50 bs = new BitSet(-9); in test_ConstructorI()
57 BitSet bs = (BitSet) eightbs.clone(); in test_clone()
62 BitSet bs; in test_equalsLjava_lang_Object()
64 bs = (BitSet) eightbs.clone(); in test_equalsLjava_lang_Object()
70 bs = (BitSet) eightbs.clone(); in test_equalsLjava_lang_Object()
[all …]
DGregorianCalendarTest.java20 import java.util.BitSet;
392 BitSet result = new BitSet(); in test_getGreatestMinimumI()
434 BitSet result = new BitSet(); in test_getLeastMaximumI()
463 BitSet result = new BitSet(); in test_getMaximumI()
492 BitSet result = new BitSet(); in test_getMinimumI()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java65 public class BitSet implements Cloneable, java.io.Serializable { class
142 public BitSet() { in BitSet() method in BitSet
156 public BitSet(int nbits) { in BitSet() method in BitSet
173 private BitSet(long[] words) { in BitSet() method in BitSet
195 public static BitSet valueOf(long[] longs) { in valueOf()
199 return new BitSet(Arrays.copyOf(longs, n)); in valueOf()
220 public static BitSet valueOf(LongBuffer lb) { in valueOf()
227 return new BitSet(words); in valueOf()
246 public static BitSet valueOf(byte[] bytes) { in valueOf()
247 return BitSet.valueOf(ByteBuffer.wrap(bytes)); in valueOf()
[all …]
DVector.java1283 final BitSet removeSet = new BitSet(size); in removeIf()
DArrayList.java1415 final BitSet removeSet = new BitSet(size); in removeIf()
/libcore/ojluni/src/main/java/java/net/
DURLEncoder.java37 import java.util.BitSet;
83 static BitSet dontNeedEncoding;
125 dontNeedEncoding = new BitSet(256);
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java27 import java.util.BitSet;
98 BitSet iterationsWithConnections = new BitSet(numIterations); in testConcurrentServerSocketCloseReliablyThrows()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentSkipListSetTest.java36 import java.util.BitSet;
703 BitSet bs = new BitSet(setSize); in testRecursiveSubSets()
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()
894 final BitSet bs) { in check()
DTreeMapTest.java36 import java.util.BitSet;
808 BitSet bs;
817 bs = new BitSet(mapSize);
DConcurrentSkipListMapTest.java37 import java.util.BitSet;
1003 BitSet bs;
1012 bs = new BitSet(mapSize);
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSetTest.java10 import java.util.BitSet;
673 BitSet bs = new BitSet(setSize); in testRecursiveSubSets()
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()
863 final BitSet bs) { in check()
DTreeSetTest.java10 import java.util.BitSet;
667 BitSet bs;
677 bs = new BitSet(setSize); in testRecursiveSubSets()
DTreeMapTest.java10 import java.util.BitSet;
785 BitSet bs;
794 bs = new BitSet(mapSize);
DConcurrentSkipListMapTest.java11 import java.util.BitSet;
980 BitSet bs;
989 bs = new BitSet(mapSize);
/libcore/ojluni/src/main/java/javax/security/cert/
DX509Certificate.java43 import java.util.BitSet;
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java28 import java.util.BitSet;
49 static BitSet encodedInPath;
52 encodedInPath = new BitSet(256);
/libcore/ojluni/src/main/java/com/sun/security/cert/internal/x509/
DX509V1CertImpl.java40 import java.util.BitSet;
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java342 static java.util.BitSet encodedInPath;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java542 objToSave = new java.util.BitSet(); in test_writeObject_BitSet()
543 ((java.util.BitSet) objToSave).set(3); in test_writeObject_BitSet()
544 ((java.util.BitSet) objToSave).set(5); in test_writeObject_BitSet()
545 ((java.util.BitSet) objToSave).set(61, 89); in test_writeObject_BitSet()
/libcore/
Dopenjdk_java_files.bp878 "ojluni/src/main/java/java/util/BitSet.java",