/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicBooleanTest.java | 105 do {} while (!ai.weakCompareAndSet(true, false)); in testWeakCompareAndSet() 107 do {} while (!ai.weakCompareAndSet(false, false)); in testWeakCompareAndSet() 109 do {} while (!ai.weakCompareAndSet(false, true)); in testWeakCompareAndSet()
|
D | AtomicReferenceFieldUpdaterTest.java | 227 do {} while (!a.weakCompareAndSet(this, one, two)); in testWeakCompareAndSet() 228 do {} while (!a.weakCompareAndSet(this, two, m4)); in testWeakCompareAndSet() 230 do {} while (!a.weakCompareAndSet(this, m4, seven)); in testWeakCompareAndSet()
|
D | AtomicReferenceTest.java | 106 do {} while (!ai.weakCompareAndSet(one, two)); in testWeakCompareAndSet() 107 do {} while (!ai.weakCompareAndSet(two, m4)); in testWeakCompareAndSet() 109 do {} while (!ai.weakCompareAndSet(m4, seven)); in testWeakCompareAndSet()
|
D | AtomicReferenceArrayTest.java | 98 aa.weakCompareAndSet(index, null, null); in testIndexing() 179 do {} while (!aa.weakCompareAndSet(i, one, two)); in testWeakCompareAndSet() 180 do {} while (!aa.weakCompareAndSet(i, two, m4)); in testWeakCompareAndSet() 182 do {} while (!aa.weakCompareAndSet(i, m4, seven)); in testWeakCompareAndSet()
|
D | AtomicLongFieldUpdaterTest.java | 243 do {} while (!a.weakCompareAndSet(this, 1, 2)); in testWeakCompareAndSet() 244 do {} while (!a.weakCompareAndSet(this, 2, -4)); in testWeakCompareAndSet() 246 do {} while (!a.weakCompareAndSet(this, -4, 7)); in testWeakCompareAndSet()
|
D | AtomicIntegerFieldUpdaterTest.java | 243 do {} while (!a.weakCompareAndSet(this, 1, 2)); in testWeakCompareAndSet() 244 do {} while (!a.weakCompareAndSet(this, 2, -4)); in testWeakCompareAndSet() 246 do {} while (!a.weakCompareAndSet(this, -4, 7)); in testWeakCompareAndSet()
|
D | AtomicIntegerTest.java | 110 do {} while (!ai.weakCompareAndSet(1, 2)); in testWeakCompareAndSet() 111 do {} while (!ai.weakCompareAndSet(2, -4)); in testWeakCompareAndSet() 113 do {} while (!ai.weakCompareAndSet(-4, 7)); in testWeakCompareAndSet()
|
D | AtomicLongTest.java | 112 do {} while (!ai.weakCompareAndSet(1, 2)); in testWeakCompareAndSet() 113 do {} while (!ai.weakCompareAndSet(2, -4)); in testWeakCompareAndSet() 115 do {} while (!ai.weakCompareAndSet(-4, 7)); in testWeakCompareAndSet()
|
D | AtomicIntegerArrayTest.java | 83 aa.weakCompareAndSet(index, 1, 2); in testIndexing() 172 do {} while (!aa.weakCompareAndSet(i, 1, 2)); in testWeakCompareAndSet() 173 do {} while (!aa.weakCompareAndSet(i, 2, -4)); in testWeakCompareAndSet() 175 do {} while (!aa.weakCompareAndSet(i, -4, 7)); in testWeakCompareAndSet()
|
D | AtomicLongArrayTest.java | 82 aa.weakCompareAndSet(index, 1, 2); in testIndexing() 171 do {} while (!aa.weakCompareAndSet(i, 1, 2)); in testWeakCompareAndSet() 172 do {} while (!aa.weakCompareAndSet(i, 2, -4)); in testWeakCompareAndSet() 174 do {} while (!aa.weakCompareAndSet(i, -4, 7)); in testWeakCompareAndSet()
|
D | AtomicMarkableReferenceTest.java | 149 do {} while (!ai.weakCompareAndSet(one, two, false, false)); in testWeakCompareAndSet() 153 do {} while (!ai.weakCompareAndSet(two, m3, false, true)); in testWeakCompareAndSet()
|
D | AtomicStampedReferenceTest.java | 149 do {} while (!ai.weakCompareAndSet(one, two, 0, 0)); in testWeakCompareAndSet() 153 do {} while (!ai.weakCompareAndSet(two, m3, 0, 1)); in testWeakCompareAndSet()
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicBoolean.java | 88 public boolean weakCompareAndSet(boolean expect, boolean update) { in weakCompareAndSet() method in AtomicBoolean
|
D | AtomicLongFieldUpdater.java | 105 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet() method in AtomicLongFieldUpdater 419 public final boolean weakCompareAndSet(T obj, long expect, long update) { in weakCompareAndSet() method in AtomicLongFieldUpdater.CASUpdater 555 public final boolean weakCompareAndSet(T obj, long expect, long update) { in weakCompareAndSet() method in AtomicLongFieldUpdater.LockedUpdater
|
D | AtomicReferenceFieldUpdater.java | 120 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet() method in AtomicReferenceFieldUpdater 386 public final boolean weakCompareAndSet(T obj, V expect, V update) { in weakCompareAndSet() method in AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl
|
D | AtomicIntegerFieldUpdater.java | 102 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet() method in AtomicIntegerFieldUpdater 444 public final boolean weakCompareAndSet(T obj, int expect, int update) { in weakCompareAndSet() method in AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
|
D | AtomicReference.java | 104 public final boolean weakCompareAndSet(V expect, V update) { in weakCompareAndSet() method in AtomicReference
|
D | AtomicStampedReference.java | 96 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() method in AtomicStampedReference
|
D | AtomicInteger.java | 120 public final boolean weakCompareAndSet(int expect, int update) { in weakCompareAndSet() method in AtomicInteger
|
D | AtomicMarkableReference.java | 96 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() method in AtomicMarkableReference
|
D | AtomicLong.java | 136 public final boolean weakCompareAndSet(long expect, long update) { in weakCompareAndSet() method in AtomicLong
|
D | AtomicIntegerArray.java | 156 public final boolean weakCompareAndSet(int i, int expect, int update) { in weakCompareAndSet() method in AtomicIntegerArray
|
D | AtomicLongArray.java | 155 public final boolean weakCompareAndSet(int i, long expect, long update) { in weakCompareAndSet() method in AtomicLongArray
|
D | AtomicReferenceArray.java | 168 public final boolean weakCompareAndSet(int i, E expect, E update) { in weakCompareAndSet() method in AtomicReferenceArray
|