/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicLong.java | 310 if (weakCompareAndSetVolatile(prev, next)) in getAndUpdate() 332 if (weakCompareAndSetVolatile(prev, next)) in updateAndGet() 359 if (weakCompareAndSetVolatile(prev, next)) in getAndAccumulate() 386 if (weakCompareAndSetVolatile(prev, next)) in accumulateAndGet() 585 public final boolean weakCompareAndSetVolatile(long expectedValue, long newValue) { in weakCompareAndSetVolatile() method in AtomicLong
|
D | AtomicInteger.java | 293 if (weakCompareAndSetVolatile(prev, next)) in getAndUpdate() 315 if (weakCompareAndSetVolatile(prev, next)) in updateAndGet() 342 if (weakCompareAndSetVolatile(prev, next)) in getAndAccumulate() 369 if (weakCompareAndSetVolatile(prev, next)) in accumulateAndGet() 570 public final boolean weakCompareAndSetVolatile(int expectedValue, int newValue) { in weakCompareAndSetVolatile() method in AtomicInteger
|
D | AtomicReference.java | 189 if (weakCompareAndSetVolatile(prev, next)) in getAndUpdate() 211 if (weakCompareAndSetVolatile(prev, next)) in updateAndGet() 238 if (weakCompareAndSetVolatile(prev, next)) in getAndAccumulate() 265 if (weakCompareAndSetVolatile(prev, next)) in accumulateAndGet() 407 public final boolean weakCompareAndSetVolatile(V expectedValue, V newValue) { in weakCompareAndSetVolatile() method in AtomicReference
|
D | AtomicLongArray.java | 280 if (weakCompareAndSetVolatile(i, prev, next)) in getAndUpdate() 304 if (weakCompareAndSetVolatile(i, prev, next)) in updateAndGet() 333 if (weakCompareAndSetVolatile(i, prev, next)) in getAndAccumulate() 362 if (weakCompareAndSetVolatile(i, prev, next)) in accumulateAndGet() 529 public final boolean weakCompareAndSetVolatile(int i, long expectedValue, long newValue) { in weakCompareAndSetVolatile() method in AtomicLongArray
|
D | AtomicIntegerArray.java | 280 if (weakCompareAndSetVolatile(i, prev, next)) in getAndUpdate() 304 if (weakCompareAndSetVolatile(i, prev, next)) in updateAndGet() 333 if (weakCompareAndSetVolatile(i, prev, next)) in getAndAccumulate() 362 if (weakCompareAndSetVolatile(i, prev, next)) in accumulateAndGet() 529 public final boolean weakCompareAndSetVolatile(int i, int expectedValue, int newValue) { in weakCompareAndSetVolatile() method in AtomicIntegerArray
|
D | AtomicReferenceArray.java | 211 if (weakCompareAndSetVolatile(i, prev, next)) in getAndUpdate() 235 if (weakCompareAndSetVolatile(i, prev, next)) in updateAndGet() 264 if (weakCompareAndSetVolatile(i, prev, next)) in getAndAccumulate() 293 if (weakCompareAndSetVolatile(i, prev, next)) in accumulateAndGet() 493 public final boolean weakCompareAndSetVolatile(int i, E expectedValue, E newValue) { in weakCompareAndSetVolatile() method in AtomicReferenceArray
|
D | AtomicBoolean.java | 320 public final boolean weakCompareAndSetVolatile(boolean expectedValue, boolean newValue) { in weakCompareAndSetVolatile() method in AtomicBoolean
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AtomicLongTest.java | 181 assertFalse(val.weakCompareAndSetVolatile(0, -1)); in testWeakCompareAndSetVolatile() 184 do { } while (!val.weakCompareAndSetVolatile(42, 0)); in testWeakCompareAndSetVolatile() 186 do { } while (!val.weakCompareAndSetVolatile(0, 5)); in testWeakCompareAndSetVolatile() 188 do { } while (!val.weakCompareAndSetVolatile(5, -1)); in testWeakCompareAndSetVolatile()
|
D | AtomicIntegerTest.java | 181 assertFalse(val.weakCompareAndSetVolatile(0, -1)); in testWeakCompareAndSetVolatile() 184 do { } while (!val.weakCompareAndSetVolatile(42, 0)); in testWeakCompareAndSetVolatile() 186 do { } while (!val.weakCompareAndSetVolatile(0, 5)); in testWeakCompareAndSetVolatile() 188 do { } while (!val.weakCompareAndSetVolatile(5, -1)); in testWeakCompareAndSetVolatile()
|
D | AtomicBooleanTest.java | 234 assertFalse(val.weakCompareAndSetVolatile(expected, newValue)); in testWeakCompareAndSetVolatile() 239 do { } while (!val.weakCompareAndSetVolatile(expected, newValue)); in testWeakCompareAndSetVolatile() 244 do { } while (!val.weakCompareAndSetVolatile(expected, newValue)); in testWeakCompareAndSetVolatile() 249 do { } while (!val.weakCompareAndSetVolatile(expected, newValue)); in testWeakCompareAndSetVolatile()
|
D | AtomicIntegerArrayTest.java | 265 assertFalse(arr.weakCompareAndSetVolatile(i, 0, -1)); in testWeakCompareAndSetVolatile() 269 do { } while (!arr.weakCompareAndSetVolatile(i, expectedArray[i], i+1)); in testWeakCompareAndSetVolatile() 274 do { } while (!arr.weakCompareAndSetVolatile(i, expectedArray[i], i*2)); in testWeakCompareAndSetVolatile()
|
D | AtomicLongArrayTest.java | 265 assertFalse(arr.weakCompareAndSetVolatile(i, 0, -1)); in testWeakCompareAndSetVolatile() 269 do { } while (!arr.weakCompareAndSetVolatile(i, expectedArray[i], i+1)); in testWeakCompareAndSetVolatile() 274 do { } while (!arr.weakCompareAndSetVolatile(i, expectedArray[i], i*2)); in testWeakCompareAndSetVolatile()
|
D | AtomicReferenceTest.java | 366 assertFalse(val.weakCompareAndSetVolatile(Integer.valueOf(0), Integer.valueOf(-1))); in testWeakCompareAndSetVolatile() 372 do { } while (!val.weakCompareAndSetVolatile(currentValue, newValue)); in testWeakCompareAndSetVolatile() 378 do { } while (!val.weakCompareAndSetVolatile(currentValue, newValue)); in testWeakCompareAndSetVolatile() 384 do { } while (!val.weakCompareAndSetVolatile(currentValue, newValue)); in testWeakCompareAndSetVolatile()
|
D | AtomicReferenceArrayTest.java | 373 … assertFalse(arr.weakCompareAndSetVolatile(i, Integer.valueOf(0), Integer.valueOf(-1))); in testWeakCompareAndSetVolatile() 377 do { } while (!arr.weakCompareAndSetVolatile(i, expectedArray[i], val)); in testWeakCompareAndSetVolatile() 384 do { } while (!arr.weakCompareAndSetVolatile(i, expectedArray[i], val)); in testWeakCompareAndSetVolatile()
|
/libcore/api/ |
D | current.txt | 16491 method public final boolean weakCompareAndSetVolatile(boolean, boolean); 16529 method public final boolean weakCompareAndSetVolatile(int, int); 16564 method public final boolean weakCompareAndSetVolatile(int, int, int); 16623 method public final boolean weakCompareAndSetVolatile(long, long); 16658 method public final boolean weakCompareAndSetVolatile(int, long, long); 16718 method public final boolean weakCompareAndSetVolatile(V, V); 16747 method public final boolean weakCompareAndSetVolatile(int, E, E);
|