Home
last modified time | relevance | path

Searched refs:weakCompareAndSet (Results 1 – 24 of 24) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicBooleanTest.java105 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()
DAtomicReferenceFieldUpdaterTest.java227 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()
DAtomicReferenceTest.java106 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()
DAtomicReferenceArrayTest.java98 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()
DAtomicLongFieldUpdaterTest.java243 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()
DAtomicIntegerFieldUpdaterTest.java243 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()
DAtomicIntegerTest.java110 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()
DAtomicLongTest.java112 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()
DAtomicIntegerArrayTest.java83 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()
DAtomicLongArrayTest.java82 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()
DAtomicMarkableReferenceTest.java149 do {} while (!ai.weakCompareAndSet(one, two, false, false)); in testWeakCompareAndSet()
153 do {} while (!ai.weakCompareAndSet(two, m3, false, true)); in testWeakCompareAndSet()
DAtomicStampedReferenceTest.java149 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/
DAtomicBoolean.java88 public boolean weakCompareAndSet(boolean expect, boolean update) { in weakCompareAndSet() method in AtomicBoolean
DAtomicLongFieldUpdater.java105 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
DAtomicReferenceFieldUpdater.java120 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
DAtomicIntegerFieldUpdater.java102 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
DAtomicReference.java104 public final boolean weakCompareAndSet(V expect, V update) { in weakCompareAndSet() method in AtomicReference
DAtomicStampedReference.java96 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() method in AtomicStampedReference
DAtomicInteger.java120 public final boolean weakCompareAndSet(int expect, int update) { in weakCompareAndSet() method in AtomicInteger
DAtomicMarkableReference.java96 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() method in AtomicMarkableReference
DAtomicLong.java136 public final boolean weakCompareAndSet(long expect, long update) { in weakCompareAndSet() method in AtomicLong
DAtomicIntegerArray.java156 public final boolean weakCompareAndSet(int i, int expect, int update) { in weakCompareAndSet() method in AtomicIntegerArray
DAtomicLongArray.java155 public final boolean weakCompareAndSet(int i, long expect, long update) { in weakCompareAndSet() method in AtomicLongArray
DAtomicReferenceArray.java168 public final boolean weakCompareAndSet(int i, E expect, E update) { in weakCompareAndSet() method in AtomicReferenceArray