Home
last modified time | relevance | path

Searched refs:decrementAndGet (Results 1 – 25 of 51) sorted by relevance

123

/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/internal/
DLocalAtomics.kt19 actual fun decrementAndGet(): Int = iRef.decrementAndGet() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DBlockingCoroutineDispatcherLivenessStressTest.kt38 concurrentWorkers.decrementAndGet() in <lambda>()
56 concurrentWorkers.decrementAndGet() in <lambda>()
DBlockingCoroutineDispatcherThreadLimitStressTest.kt36 concurrentWorkers.decrementAndGet() in <lambda>()
60 concurrentWorkers.decrementAndGet() in <lambda>()
DLimitingCoroutineDispatcherStressTest.kt52 concurrentWorkers.decrementAndGet() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DFlatMapStressTest.kt51 inFlightElements.decrementAndGet() in <lambda>()
95 concurrency.decrementAndGet() in <lambda>()
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt280 public actual fun decrementAndGet(): Int { in decrementAndGet() method
282 val newValue = FU.decrementAndGet(this) in decrementAndGet()
409 public actual fun decrementAndGet(): Long { in decrementAndGet() method
411 val newValue = FU.decrementAndGet(this) in decrementAndGet()
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DTopLevelTest.kt44 check(a.decrementAndGet() == 7) in <lambda>()
66 check(b.decrementAndGet() == -198452011965886959) in <lambda>()
141 check(longArr[1].decrementAndGet() == -198452011965886959) in testLongArray()
DArithmeticTest.kt32 check(a._x.decrementAndGet() == 7) in testInt()
55 check(a.z.decrementAndGet() == -198452011965886959) in testLong()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DWorkQueue.kt130 victim.blockingTasksInBuffer.decrementAndGet() in tryStealBlockingFrom()
196 val value = blockingTasksInBuffer.decrementAndGet() in Task()
DDispatcher.kt192 if (inFlightTasks.decrementAndGet() >= parallelism) { in execute()
228 inFlightTasks.decrementAndGet() in afterTask()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/
DConcurrentWeakMap.kt29 private fun decrementSize() { _size.decrementAndGet() } in <lambda>()
43 if (oldValue != null) _size.decrementAndGet() in <lambda>()
145 … if (loadIncremented) load.decrementAndGet() // undo increment, because found a slot in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DLocalAtomics.common.kt16 fun decrementAndGet(): Int method
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/internal/
DLocalAtomics.kt14 actual fun decrementAndGet(): Int = --value method in kotlinx.coroutines.internal.LocalAtomicInt
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt118 public actual fun decrementAndGet(): Int = --value in toString() method
172 public actual fun decrementAndGet(): Long = --value in incrementAndGet() method
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/internal_test2/
DС.kt15 check(a.yyy.decrementAndGet() == 638753975930025819) in testInternal()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java89 assertEquals(0L, map.decrementAndGet(key)); in testIncrementAndGet_zero()
135 long result = map.decrementAndGet(key); in testDecrementAndGet()
152 assertEquals(-1L, map.decrementAndGet(key)); in testDecrementAndGet_zero()
159 assertEquals(-1L, map.decrementAndGet(key)); in testDecrementAndGet_zero()
466 assertEquals(1, map.decrementAndGet(key)); in testRemoveIfZero()
468 assertEquals(0, map.decrementAndGet(key)); in testRemoveIfZero()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java89 assertEquals(0L, map.decrementAndGet(key)); in testIncrementAndGet_zero()
135 long result = map.decrementAndGet(key); in testDecrementAndGet()
152 assertEquals(-1L, map.decrementAndGet(key)); in testDecrementAndGet_zero()
159 assertEquals(-1L, map.decrementAndGet(key)); in testDecrementAndGet_zero()
466 assertEquals(1, map.decrementAndGet(key)); in testRemoveIfZero()
468 assertEquals(0, map.decrementAndGet(key)); in testRemoveIfZero()
/external/webrtc/sdk/android/src/java/org/webrtc/
DRefCountDelegate.java40 int updated_count = refCount.decrementAndGet(); in release()
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt107 public actual inline fun decrementAndGet(): Int = a.addAndGet(-1) in toString() method in kotlinx.atomicfu.AtomicInt
141 public actual inline fun decrementAndGet(): Long = a.addAndGet(-1) in getAndIncrement() method in kotlinx.atomicfu.AtomicLong
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/
DAtomicFU.common.kt259 public fun decrementAndGet(): Int in lazySet() method in kotlinx.atomicfu.AtomicInt
370 public fun decrementAndGet(): Long in lazySet() method in kotlinx.atomicfu.AtomicLong
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DSharedObject.java188 refCount.decrementAndGet(); in removeRef()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DSharedObject.java185 refCount.decrementAndGet(); in removeRef()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DWithTimeoutOrNullThreadDispatchTest.kt49 scheduled.decrementAndGet() in testCancellationDispatchCustomNoDelay()
DWithTimeoutThreadDispatchTest.kt49 scheduled.decrementAndGet() in testCancellationDispatchCustomNoDelay()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DLockFreeLinkedListLongStressTest.kt41 workingAdders.decrementAndGet() in <lambda>()

123