Home
last modified time | relevance | path

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

12

/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()
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()
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()
DAtomicReferenceFieldUpdaterTest.java224 do {} while (!a.weakCompareAndSet(this, one, two)); in testWeakCompareAndSet()
225 do {} while (!a.weakCompareAndSet(this, two, m4)); in testWeakCompareAndSet()
227 do {} while (!a.weakCompareAndSet(this, m4, seven)); in testWeakCompareAndSet()
DAtomicLongFieldUpdaterTest.java239 do {} while (!a.weakCompareAndSet(this, 1, 2)); in testWeakCompareAndSet()
240 do {} while (!a.weakCompareAndSet(this, 2, -4)); in testWeakCompareAndSet()
242 do {} while (!a.weakCompareAndSet(this, -4, 7)); in testWeakCompareAndSet()
DAtomicIntegerFieldUpdaterTest.java239 do {} while (!a.weakCompareAndSet(this, 1, 2)); in testWeakCompareAndSet()
240 do {} while (!a.weakCompareAndSet(this, 2, -4)); in testWeakCompareAndSet()
242 do {} while (!a.weakCompareAndSet(this, -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()
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()
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/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java117 public boolean weakCompareAndSet(boolean expect, boolean update) { in weakCompareAndSet() method in AtomicBoolean
DAtomicLongFieldUpdater.java133 public abstract boolean weakCompareAndSet(T obj, long expect, long update); in weakCompareAndSet() method in AtomicLongFieldUpdater
458 public final boolean weakCompareAndSet(T obj, long expect, long update) { in weakCompareAndSet() method in AtomicLongFieldUpdater.CASUpdater
605 public final boolean weakCompareAndSet(T obj, long expect, long update) { in weakCompareAndSet() method in AtomicLongFieldUpdater.LockedUpdater
DAtomicReferenceFieldUpdater.java148 public abstract boolean weakCompareAndSet(T obj, V expect, V update); in weakCompareAndSet() method in AtomicReferenceFieldUpdater
426 public final boolean weakCompareAndSet(T obj, V expect, V update) { in weakCompareAndSet() method in AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl
DAtomicIntegerFieldUpdater.java130 public abstract boolean weakCompareAndSet(T obj, int expect, int update); in weakCompareAndSet() method in AtomicIntegerFieldUpdater
483 public final boolean weakCompareAndSet(T obj, int expect, int update) { in weakCompareAndSet() method in AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
DAtomicInteger.java149 public final boolean weakCompareAndSet(int expect, int update) { in weakCompareAndSet() method in AtomicInteger
DAtomicMarkableReference.java125 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() method in AtomicMarkableReference
DAtomicStampedReference.java125 public boolean weakCompareAndSet(V expectedReference, in weakCompareAndSet() method in AtomicStampedReference
DAtomicReference.java133 public final boolean weakCompareAndSet(V expect, V update) { in weakCompareAndSet() method in AtomicReference
DAtomicLong.java165 public final boolean weakCompareAndSet(long expect, long update) { in weakCompareAndSet() method in AtomicLong
DAtomicLongArray.java184 public final boolean weakCompareAndSet(int i, long expect, long update) { in weakCompareAndSet() method in AtomicLongArray
DAtomicIntegerArray.java185 public final boolean weakCompareAndSet(int i, int expect, int update) { in weakCompareAndSet() method in AtomicIntegerArray
DAtomicReferenceArray.java197 public final boolean weakCompareAndSet(int i, E expect, E update) { in weakCompareAndSet() method in AtomicReferenceArray
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/
DAtomicInteger.java71 public final boolean weakCompareAndSet(int expect, int update) { in weakCompareAndSet() method in AtomicInteger

12