Home
last modified time | relevance | path

Searched refs:getAndDecrement (Results 1 – 22 of 22) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicLongTest.java145 assertEquals(1, ai.getAndDecrement()); in testGetAndDecrement()
146 assertEquals(0, ai.getAndDecrement()); in testGetAndDecrement()
147 assertEquals(-1, ai.getAndDecrement()); in testGetAndDecrement()
DAtomicIntegerTest.java143 assertEquals(1, ai.getAndDecrement()); in testGetAndDecrement()
144 assertEquals(0, ai.getAndDecrement()); in testGetAndDecrement()
145 assertEquals(-1, ai.getAndDecrement()); in testGetAndDecrement()
DAtomicIntegerFieldUpdaterTest.java278 assertEquals(1, a.getAndDecrement(this)); in testGetAndDecrement()
279 assertEquals(0, a.getAndDecrement(this)); in testGetAndDecrement()
280 assertEquals(-1, a.getAndDecrement(this)); in testGetAndDecrement()
DAtomicLongFieldUpdaterTest.java278 assertEquals(1, a.getAndDecrement(this)); in testGetAndDecrement()
279 assertEquals(0, a.getAndDecrement(this)); in testGetAndDecrement()
280 assertEquals(-1, a.getAndDecrement(this)); in testGetAndDecrement()
DAtomicLongArrayTest.java213 assertEquals(1, aa.getAndDecrement(i)); in testGetAndDecrement()
214 assertEquals(0, aa.getAndDecrement(i)); in testGetAndDecrement()
215 assertEquals(-1, aa.getAndDecrement(i)); in testGetAndDecrement()
DAtomicIntegerArrayTest.java214 assertEquals(1, aa.getAndDecrement(i)); in testGetAndDecrement()
215 assertEquals(0, aa.getAndDecrement(i)); in testGetAndDecrement()
216 assertEquals(-1, aa.getAndDecrement(i)); in testGetAndDecrement()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAtomicLongTest.java168 assertEquals(1, ai.getAndDecrement()); in testGetAndDecrement()
169 assertEquals(0, ai.getAndDecrement()); in testGetAndDecrement()
170 assertEquals(-1, ai.getAndDecrement()); in testGetAndDecrement()
DAtomicIntegerTest.java166 assertEquals(1, ai.getAndDecrement()); in testGetAndDecrement()
167 assertEquals(0, ai.getAndDecrement()); in testGetAndDecrement()
168 assertEquals(-1, ai.getAndDecrement()); in testGetAndDecrement()
DAtomicIntegerFieldUpdaterTest.java301 assertEquals(1, a.getAndDecrement(this)); in testGetAndDecrement()
302 assertEquals(0, a.getAndDecrement(this)); in testGetAndDecrement()
303 assertEquals(-1, a.getAndDecrement(this)); in testGetAndDecrement()
DAtomicLongFieldUpdaterTest.java301 assertEquals(1, a.getAndDecrement(this)); in testGetAndDecrement()
302 assertEquals(0, a.getAndDecrement(this)); in testGetAndDecrement()
303 assertEquals(-1, a.getAndDecrement(this)); in testGetAndDecrement()
DAtomicIntegerArrayTest.java237 assertEquals(1, aa.getAndDecrement(i)); in testGetAndDecrement()
238 assertEquals(0, aa.getAndDecrement(i)); in testGetAndDecrement()
239 assertEquals(-1, aa.getAndDecrement(i)); in testGetAndDecrement()
DAtomicLongArrayTest.java236 assertEquals(1, aa.getAndDecrement(i)); in testGetAndDecrement()
237 assertEquals(0, aa.getAndDecrement(i)); in testGetAndDecrement()
238 assertEquals(-1, aa.getAndDecrement(i)); in testGetAndDecrement()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/
DAtomicInteger.java79 public final int getAndDecrement() { in getAndDecrement() method in AtomicInteger
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicIntegerFieldUpdater.java202 public int getAndDecrement(T obj) { in getAndDecrement() method in AtomicIntegerFieldUpdater
545 public final int getAndDecrement(T obj) { in getAndDecrement() method in AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
DAtomicLongFieldUpdater.java205 public long getAndDecrement(T obj) { in getAndDecrement() method in AtomicLongFieldUpdater
511 public final long getAndDecrement(T obj) { in getAndDecrement() method in AtomicLongFieldUpdater.CASUpdater
DAtomicLong.java234 public final long getAndDecrement() { in getAndDecrement() method in AtomicLong
DAtomicInteger.java217 public final int getAndDecrement() { in getAndDecrement() method in AtomicInteger
DAtomicLongArray.java208 public final long getAndDecrement(int i) { in getAndDecrement() method in AtomicLongArray
DAtomicIntegerArray.java208 public final int getAndDecrement(int i) { in getAndDecrement() method in AtomicIntegerArray
/libcore/ojluni/src/main/java/java/util/concurrent/
DLinkedBlockingQueue.java438 c = count.getAndDecrement(); in take()
463 c = count.getAndDecrement(); in poll()
486 c = count.getAndDecrement(); in poll()
522 if (count.getAndDecrement() == capacity) in unlink()
DForkJoinPool.java2807 (failed && count.getAndDecrement() <= 1))
/libcore/api/
Dcurrent.txt16510 method public final int getAndDecrement();
16546 method public final int getAndDecrement(int);
16576 method public int getAndDecrement(T);
16604 method public final long getAndDecrement();
16640 method public final long getAndDecrement(int);
16670 method public long getAndDecrement(T);