Home
last modified time | relevance | path

Searched refs:m4 (Results 1 – 8 of 8) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicReferenceTest.java62 assertTrue(ai.compareAndSet(two, m4)); in testCompareAndSet()
63 assertSame(m4, ai.get()); in testCompareAndSet()
65 assertSame(m4, ai.get()); in testCompareAndSet()
66 assertTrue(ai.compareAndSet(m4, seven)); in testCompareAndSet()
96 while (!ai.weakCompareAndSet(two, m4)); in testWeakCompareAndSet()
97 assertSame(m4, ai.get()); in testWeakCompareAndSet()
98 while (!ai.weakCompareAndSet(m4, seven)); in testWeakCompareAndSet()
DAtomicReferenceFieldUpdaterTest.java103 assertTrue(a.compareAndSet(this, two, m4)); in testCompareAndSet()
104 assertSame(m4, a.get(this)); in testCompareAndSet()
107 assertTrue(a.compareAndSet(this, m4, seven)); in testCompareAndSet()
142 while (!a.weakCompareAndSet(this, two, m4)); in testWeakCompareAndSet()
143 assertSame(m4, a.get(this)); in testWeakCompareAndSet()
144 while (!a.weakCompareAndSet(this, m4, seven)); in testWeakCompareAndSet()
DAtomicReferenceArrayTest.java131 assertTrue(aa.compareAndSet(i, two, m4)); in testCompareAndSet()
132 assertSame(m4, aa.get(i)); in testCompareAndSet()
134 assertSame(m4, aa.get(i)); in testCompareAndSet()
135 assertTrue(aa.compareAndSet(i, m4, seven)); in testCompareAndSet()
169 while (!aa.weakCompareAndSet(i, two, m4)); in testWeakCompareAndSet()
170 assertSame(m4, aa.get(i)); in testWeakCompareAndSet()
171 while (!aa.weakCompareAndSet(i, m4, seven)); in testWeakCompareAndSet()
DTreeSubMapTest.java48 map.put(m4, "D"); in dmap5()
657 assertTrue(s.contains(m4));
747 (e.getKey().equals(m4) && e.getValue().equals("D")) ||
763 assertTrue(empty.containsKey(m4));
801 assertEquals(m4, e1.getKey());
865 map.remove(m4);
885 assertEquals(m4, e.getKey());
967 SortedMap sm = map.subMap(m2, m4);
974 assertFalse(sm.containsKey(m4));
1005 assertFalse(sm.containsKey(m4));
[all …]
DConcurrentSkipListSubMapTest.java44 map.put(m4, "D"); in dmap5()
823 assertTrue(s.contains(m4));
913 (e.getKey().equals(m4) && e.getValue().equals("D")) ||
929 assertTrue(empty.containsKey(m4));
1008 map.remove(m4, "A");
1010 assertTrue(map.containsKey(m4));
1037 assertEquals(m4, e1.getKey());
1101 map.remove(m4);
1121 assertEquals(m4, e.getKey());
1280 SortedMap sm = map.subMap(m2, m4);
[all …]
DConcurrentSkipListSubSetTest.java78 q.add(m4); in dset5()
857 assertEquals(m4, e1); in testDescendingHigher()
1009 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents()
1016 assertFalse(sm.contains(m4)); in testDescendingSubSetContents()
1047 assertFalse(sm.contains(m4)); in testDescendingSubSetContents2()
1070 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents()
1074 assertFalse(sm.contains(m4)); in testDescendingHeadSetContents()
1088 assertEquals(m4, set.first()); in testDescendingHeadSetContents()
1100 assertTrue(sm.contains(m4)); in testDescendingTailSetContents()
1109 assertEquals(m4, k); in testDescendingTailSetContents()
[all …]
DTreeSubSetTest.java70 q.add(m4); in dset5()
838 assertEquals(m4, e1); in testDescendingHigher()
991 SortedSet sm = set.subSet(m2, m4); in testDescendingSubSetContents()
998 assertFalse(sm.contains(m4)); in testDescendingSubSetContents()
1029 assertFalse(sm.contains(m4)); in testDescendingSubSetContents2()
1052 SortedSet sm = set.headSet(m4); in testDescendingHeadSetContents()
1056 assertFalse(sm.contains(m4)); in testDescendingHeadSetContents()
1070 assertEquals(m4, set.first()); in testDescendingHeadSetContents()
1082 assertTrue(sm.contains(m4)); in testDescendingTailSetContents()
1091 assertEquals(m4, k); in testDescendingTailSetContents()
[all …]
DJSR166TestCase.java497 public static final Integer m4 = new Integer(-4); field in JSR166TestCase