/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/locks/ |
D | Synchronized.kt | 10 public actual inline fun reentrantLock() = ReentrantLock() in reentrantLock() 12 public actual typealias ReentrantLock = java.util.concurrent.locks.ReentrantLock in reentrantLock() typealias 15 public actual inline fun <T> ReentrantLock.withLock(block: () -> T): T { in reentrantLock()
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 26 import java.util.concurrent.locks.ReentrantLock; 334 private final ReentrantLock lock; 359 this.lock = new ReentrantLock(fair); in Monitor() 375 final ReentrantLock lock = this.lock; in enter() 437 final ReentrantLock lock = this.lock; in enterWhen() 468 final ReentrantLock lock = this.lock; in enterWhen() 519 final ReentrantLock lock = this.lock; in enterWhenUninterruptibly() 548 final ReentrantLock lock = this.lock; in enterWhenUninterruptibly() 613 final ReentrantLock lock = this.lock; in enterIf() 662 final ReentrantLock lock = this.lock; in enterIfInterruptibly() [all …]
|
D | CycleDetectingLockFactory.java | 41 import java.util.concurrent.locks.ReentrantLock; 240 public ReentrantLock newReentrantLock(String lockName) { in newReentrantLock() 248 public ReentrantLock newReentrantLock(String lockName, boolean fair) { in newReentrantLock() 250 ? new ReentrantLock(fair) in newReentrantLock() 405 public ReentrantLock newReentrantLock(E rank) { in newReentrantLock() 417 public ReentrantLock newReentrantLock(E rank, boolean fair) { in newReentrantLock() 419 ? new ReentrantLock(fair) in newReentrantLock() 736 final class CycleDetectingReentrantLock extends ReentrantLock implements CycleDetectingLock {
|
D | AbstractScheduledService.java | 34 import java.util.concurrent.locks.ReentrantLock; 180 private final ReentrantLock lock = new ReentrantLock(); 463 private final ReentrantLock lock = new ReentrantLock();
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Monitor.java | 28 import java.util.concurrent.locks.ReentrantLock; 337 private final ReentrantLock lock; 362 this.lock = new ReentrantLock(fair); in Monitor() 405 final ReentrantLock lock = this.lock; 478 final ReentrantLock lock = this.lock; 522 final ReentrantLock lock = this.lock; 573 final ReentrantLock lock = this.lock; 613 final ReentrantLock lock = this.lock; 678 final ReentrantLock lock = this.lock; 738 final ReentrantLock lock = this.lock; [all …]
|
D | CycleDetectingLockFactory.java | 41 import java.util.concurrent.locks.ReentrantLock; 240 public ReentrantLock newReentrantLock(String lockName) { in newReentrantLock() 248 public ReentrantLock newReentrantLock(String lockName, boolean fair) { in newReentrantLock() 250 ? new ReentrantLock(fair) in newReentrantLock() 405 public ReentrantLock newReentrantLock(E rank) { in newReentrantLock() 417 public ReentrantLock newReentrantLock(E rank, boolean fair) { in newReentrantLock() 419 ? new ReentrantLock(fair) in newReentrantLock() 735 final class CycleDetectingReentrantLock extends ReentrantLock implements CycleDetectingLock {
|
D | AbstractScheduledService.java | 36 import java.util.concurrent.locks.ReentrantLock; 209 private final ReentrantLock lock = new ReentrantLock(); 504 private final ReentrantLock lock = new ReentrantLock();
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | CycleDetectingLockFactoryTest.java | 26 import java.util.concurrent.locks.ReentrantLock; 39 private ReentrantLock lockA; 40 private ReentrantLock lockB; 41 private ReentrantLock lockC; 48 private ReentrantLock lock1; 49 private ReentrantLock lock2; 50 private ReentrantLock lock3; 51 private ReentrantLock lock01; 52 private ReentrantLock lock02; 53 private ReentrantLock lock03; [all …]
|
D | StripedTest.java | 37 import java.util.concurrent.locks.ReentrantLock; 58 return new ReentrantLock(true); in strongImplementations() 66 return new ReentrantLock(true); in strongImplementations() 85 return new ReentrantLock();
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | CycleDetectingLockFactoryTest.java | 26 import java.util.concurrent.locks.ReentrantLock; 39 private ReentrantLock lockA; 40 private ReentrantLock lockB; 41 private ReentrantLock lockC; 48 private ReentrantLock lock1; 49 private ReentrantLock lock2; 50 private ReentrantLock lock3; 51 private ReentrantLock lock01; 52 private ReentrantLock lock02; 53 private ReentrantLock lock03; [all …]
|
D | StripedTest.java | 37 import java.util.concurrent.locks.ReentrantLock; 58 return new ReentrantLock(true); in strongImplementations() 66 return new ReentrantLock(true); in strongImplementations() 85 return new ReentrantLock();
|
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/locks/ |
D | Synchronized.common.kt | 5 public expect fun reentrantLock(): ReentrantLock in reentrantLock() 7 public expect class ReentrantLock { in reentrantLock() class 13 public expect inline fun <T> ReentrantLock.withLock(block: () -> T): T
|
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/locks/ |
D | Synchronized.kt | 6 public val Lock = ReentrantLock() 12 public actual class ReentrantLock { in reentrantLock() class 18 public actual inline fun <T> ReentrantLock.withLock(block: () -> T) = block()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/ |
D | Concurrent.kt | 15 internal actual typealias ReentrantLock = java.util.concurrent.locks.ReentrantLock in subscriberList() typealias 17 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = this.withLockJvm(action) in subscriberList()
|
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | CycleDetectingLockFactoryBenchmark.java | 23 import java.util.concurrent.locks.ReentrantLock; 44 plainLocks[i] = new ReentrantLock(); in setUp() 54 lockAndUnlock(new ReentrantLock(), reps); in unorderedPlainLocks()
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | CycleDetectingLockFactoryBenchmark.java | 23 import java.util.concurrent.locks.ReentrantLock; 44 plainLocks[i] = new ReentrantLock(); in setUp() 54 lockAndUnlock(new ReentrantLock(), reps); in unorderedPlainLocks()
|
/external/easymock/src/org/easymock/internal/ |
D | ReplayState.java | 20 import java.util.concurrent.locks.ReentrantLock; 30 private final ReentrantLock lock = new ReentrantLock();
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/internal/ |
D | Concurrent.kt | 7 internal actual typealias ReentrantLock = NoOpLock typealias 9 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = action() in withLock()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/internal/ |
D | Concurrent.kt | 7 internal actual typealias ReentrantLock = NoOpLock typealias 9 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = action() in withLock()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/ |
D | Concurrent.common.kt | 17 internal expect class ReentrantLock() { in subscriberList() class 22 internal expect inline fun <T> ReentrantLock.withLock(action: () -> T): T
|
/external/junit/src/main/java/org/junit/internal/requests/ |
D | MemoizingRequest.java | 4 import java.util.concurrent.locks.ReentrantLock; 10 private final Lock runnerLock = new ReentrantLock();
|
/external/apache-http/src/org/apache/http/client/methods/ |
D | HttpRequestBase.java | 37 import java.util.concurrent.locks.ReentrantLock; 77 this.abortLock = new ReentrantLock(); in HttpRequestBase() 178 clone.abortLock = new ReentrantLock(); in clone()
|
/external/libchrome/base/test/android/java/src/org/chromium/base/ |
D | MultiprocessTestClientLauncher.java | 30 import java.util.concurrent.locks.ReentrantLock; 116 private final ReentrantLock mConnectedLock = new ReentrantLock(); 125 private final ReentrantLock mMainReturnCodeLock = new ReentrantLock();
|
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/ |
D | Interceptor.kt | 7 import java.util.concurrent.locks.ReentrantLock 11 private val interceptorLock = ReentrantLock()
|
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/ |
D | Synchronized.kt | 159 public actual fun reentrantLock() = ReentrantLock() in lock() 161 public actual typealias ReentrantLock = SynchronizedObject in lock() typealias 163 public actual inline fun <T> ReentrantLock.withLock(block: () -> T): T { in lock()
|