/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicMarkableReferenceTest.java | 78 assertTrue(ai.compareAndSet(two, m3, false, true)); in testCompareAndSet() 79 assertSame(m3, ai.get(mark)); in testCompareAndSet() 82 assertFalse(ai.compareAndSet(two, m3, true, true)); in testCompareAndSet() 83 assertSame(m3, ai.get(mark)); in testCompareAndSet() 142 while (!ai.weakCompareAndSet(two, m3, false, true)); in testWeakCompareAndSet() 143 assertSame(m3, ai.get(mark)); in testWeakCompareAndSet()
|
D | AtomicStampedReferenceTest.java | 78 assertTrue(ai.compareAndSet(two, m3, 0, 1)); in testCompareAndSet() 79 assertSame(m3, ai.get(mark)); in testCompareAndSet() 82 assertFalse(ai.compareAndSet(two, m3, 1, 1)); in testCompareAndSet() 83 assertSame(m3, ai.get(mark)); in testCompareAndSet() 142 while (!ai.weakCompareAndSet(two, m3, 0, 1)); in testWeakCompareAndSet() 143 assertSame(m3, ai.get(mark)); in testWeakCompareAndSet()
|
D | AtomicReferenceTest.java | 40 ai.set(m3); in testGetSet() 41 assertSame(m3, ai.get()); in testGetSet() 52 ai.lazySet(m3); in testGetLazySet() 53 assertSame(m3, ai.get()); in testGetLazySet()
|
D | AtomicReferenceFieldUpdaterTest.java | 77 a.set(this, m3); in testGetSet() 78 assertSame(m3, a.get(this)); in testGetSet() 91 a.lazySet(this, m3); in testGetLazySet() 92 assertSame(m3, a.get(this)); in testGetLazySet()
|
D | TreeSubMapTest.java | 46 map.put(m3, "C"); in dmap5() 656 assertTrue(s.contains(m3)); 746 (e.getKey().equals(m3) && e.getValue().equals("C")) || 762 assertTrue(empty.containsKey(m3)); 782 Map.Entry e1 = map.lowerEntry(m3); 800 Map.Entry e1 = map.higherEntry(m3); 818 Map.Entry e1 = map.floorEntry(m3); 819 assertEquals(m3, e1.getKey()); 836 Map.Entry e1 = map.ceilingEntry(m3); 837 assertEquals(m3, e1.getKey()); [all …]
|
D | ConcurrentSkipListSubMapTest.java | 42 map.put(m3, "C"); in dmap5() 822 assertTrue(s.contains(m3)); 912 (e.getKey().equals(m3) && e.getValue().equals("C")) || 928 assertTrue(empty.containsKey(m3)); 1018 Map.Entry e1 = map.lowerEntry(m3); 1036 Map.Entry e1 = map.higherEntry(m3); 1054 Map.Entry e1 = map.floorEntry(m3); 1055 assertEquals(m3, e1.getKey()); 1072 Map.Entry e1 = map.ceilingEntry(m3); 1073 assertEquals(m3, e1.getKey()); [all …]
|
D | ConcurrentSkipListSubSetTest.java | 77 q.add(m3); in dset5() 838 Object e1 = q.lower(m3); in testDescendingLower() 856 Object e1 = q.higher(m3); in testDescendingHigher() 874 Object e1 = q.floor(m3); in testDescendingFloor() 875 assertEquals(m3, e1); in testDescendingFloor() 892 Object e1 = q.ceiling(m3); in testDescendingCeiling() 893 assertEquals(m3, e1); in testDescendingCeiling() 1011 assertEquals(m3, sm.last()); in testDescendingSubSetContents() 1015 assertTrue(sm.contains(m3)); in testDescendingSubSetContents() 1023 assertEquals(m3, k); in testDescendingSubSetContents() [all …]
|
D | TreeSubSetTest.java | 69 q.add(m3); in dset5() 819 Object e1 = q.lower(m3); in testDescendingLower() 837 Object e1 = q.higher(m3); in testDescendingHigher() 855 Object e1 = q.floor(m3); in testDescendingFloor() 856 assertEquals(m3, e1); in testDescendingFloor() 873 Object e1 = q.ceiling(m3); in testDescendingCeiling() 874 assertEquals(m3, e1); in testDescendingCeiling() 993 assertEquals(m3, sm.last()); in testDescendingSubSetContents() 997 assertTrue(sm.contains(m3)); in testDescendingSubSetContents() 1005 assertEquals(m3, k); in testDescendingSubSetContents() [all …]
|
D | AtomicReferenceArrayTest.java | 103 aa.set(i, m3); in testGetSet() 104 assertSame(m3, aa.get(i)); in testGetSet() 118 aa.lazySet(i, m3); in testGetLazySet() 119 assertSame(m3, aa.get(i)); in testGetLazySet()
|
D | JSR166TestCase.java | 496 public static final Integer m3 = new Integer(-3); field in JSR166TestCase
|
/libcore/luni/src/main/java/java/util/ |
D | UUID.java | 192 long m3 = Long.parsePositiveLong(parts[2], 16); in fromString() local 197 long msb = (m1 << 32) | (m2 << 16) | m3; in fromString()
|