/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/sync/ |
D | SemaphoreTest.kt | 13 val semaphore = Semaphore(2) in <lambda>() constant 29 val semaphore = Semaphore(1) in <lambda>() constant 51 val semaphore = Semaphore(2) in <lambda>() constant 64 val semaphore = Semaphore(1) in <lambda>() constant 74 val semaphore = Semaphore(1) in <lambda>() constant 103 val semaphore = Semaphore(1) in <lambda>() constant 119 val semaphore = Semaphore(1) in <lambda>() constant 143 val semaphore = Semaphore(5, acquiredPermits = 4) in <lambda>() constant 155 val semaphore = Semaphore(5, acquiredPermits = 4) in <lambda>() constant
|
/external/rust/crates/tokio/src/sync/tests/ |
D | loom_semaphore_batch.rs | 19 semaphore: Semaphore, in basic_usage() field 54 let semaphore = Arc::new(Semaphore::new(1)); in release() localVariable 57 let semaphore = semaphore.clone(); in release() localVariable 75 let semaphore = Arc::new(Semaphore::new(1)); in basic_closing() localVariable 78 let semaphore = semaphore.clone(); in basic_closing() localVariable 100 let semaphore = Arc::new(Semaphore::new(1)); in concurrent_close() localVariable 103 let semaphore = semaphore.clone(); in concurrent_close() localVariable 139 let semaphore = Arc::new(Semaphore::new(0)); in concurrent_cancel() localVariable 141 let semaphore = semaphore.clone(); in concurrent_cancel() localVariable 145 let semaphore = semaphore.clone(); in concurrent_cancel() localVariable [all …]
|
/external/pigweed/pw_sync/ |
D | counting_semaphore_facade_test.cc | 58 CountingSemaphore semaphore; in TEST() local 65 CountingSemaphore semaphore; in TEST() local 90 CountingSemaphore semaphore; in TEST() local 101 CountingSemaphore semaphore; in TEST() local 112 CountingSemaphore semaphore; in TEST() local 122 CountingSemaphore semaphore; in TEST() local 133 CountingSemaphore semaphore; in TEST() local 144 CountingSemaphore semaphore; in TEST() local 155 CountingSemaphore semaphore; in TEST() local 165 CountingSemaphore semaphore; in TEST() local [all …]
|
D | binary_semaphore_facade_test.cc | 52 BinarySemaphore semaphore; in TEST() local 59 BinarySemaphore semaphore; in TEST() local 82 BinarySemaphore semaphore; in TEST() local 93 BinarySemaphore semaphore; in TEST() local 103 BinarySemaphore semaphore; in TEST() local 114 BinarySemaphore semaphore; in TEST() local 125 BinarySemaphore semaphore; in TEST() local 136 BinarySemaphore semaphore; in TEST() local 146 BinarySemaphore semaphore; in TEST() local 156 BinarySemaphore semaphore; in TEST() local [all …]
|
D | counting_semaphore.cc | 20 pw_sync_CountingSemaphore* semaphore) { in pw_sync_CountingSemaphore_Release() 25 pw_sync_CountingSemaphore* semaphore, ptrdiff_t update) { in pw_sync_CountingSemaphore_ReleaseNum() 30 pw_sync_CountingSemaphore* semaphore) { in pw_sync_CountingSemaphore_Acquire() 35 pw_sync_CountingSemaphore* semaphore) { in pw_sync_CountingSemaphore_TryAcquire() 40 pw_sync_CountingSemaphore* semaphore, in pw_sync_CountingSemaphore_TryAcquireFor() 46 pw_sync_CountingSemaphore* semaphore, in pw_sync_CountingSemaphore_TryAcquireUntil()
|
D | counting_semaphore_facade_test_c.c | 23 pw_sync_CountingSemaphore* semaphore) { in pw_sync_CountingSemaphore_CallRelease() 28 pw_sync_CountingSemaphore* semaphore, ptrdiff_t update) { in pw_sync_CountingSemaphore_CallReleaseNum() 33 pw_sync_CountingSemaphore* semaphore) { in pw_sync_CountingSemaphore_CallAcquire() 38 pw_sync_CountingSemaphore* semaphore) { in pw_sync_CountingSemaphore_CallTryAcquire() 43 pw_sync_CountingSemaphore* semaphore, in pw_sync_CountingSemaphore_CallTryAcquireFor() 49 pw_sync_CountingSemaphore* semaphore, in pw_sync_CountingSemaphore_CallTryAcquireUntil()
|
D | binary_semaphore.cc | 20 pw_sync_BinarySemaphore* semaphore) { in pw_sync_BinarySemaphore_Release() 25 pw_sync_BinarySemaphore* semaphore) { in pw_sync_BinarySemaphore_Acquire() 30 pw_sync_BinarySemaphore* semaphore) { in pw_sync_BinarySemaphore_TryAcquire() 35 pw_sync_BinarySemaphore* semaphore, in pw_sync_BinarySemaphore_TryAcquireFor() 41 pw_sync_BinarySemaphore* semaphore, in pw_sync_BinarySemaphore_TryAcquireUntil()
|
D | binary_semaphore_facade_test_c.c | 22 void pw_sync_BinarySemaphore_CallRelease(pw_sync_BinarySemaphore* semaphore) { in pw_sync_BinarySemaphore_CallRelease() 26 void pw_sync_BinarySemaphore_CallAcquire(pw_sync_BinarySemaphore* semaphore) { in pw_sync_BinarySemaphore_CallAcquire() 31 pw_sync_BinarySemaphore* semaphore) { in pw_sync_BinarySemaphore_CallTryAcquire() 36 pw_sync_BinarySemaphore* semaphore, in pw_sync_BinarySemaphore_CallTryAcquireFor() 42 pw_sync_BinarySemaphore* semaphore, in pw_sync_BinarySemaphore_CallTryAcquireUntil()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/sync/ |
D | SemaphoreStressTest.kt | 20 val semaphore = Semaphore(1) in <lambda>() constant 38 val semaphore = Semaphore(10) in <lambda>() constant 56 val semaphore = Semaphore(1) in <lambda>() constant 74 val semaphore = Semaphore(1) in <lambda>() constant 95 val semaphore = Semaphore(1, 1) in <lambda>() constant 124 val semaphore = Semaphore(1) in <lambda>() constant
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deNamedSemaphoreUnix.c | 36 sem_t* semaphore; member 70 void deSemaphore_destroy (deSemaphore semaphore) in deSemaphore_destroy() 86 void deSemaphore_increment (deSemaphore semaphore) in deSemaphore_increment() 94 void deSemaphore_decrement (deSemaphore semaphore) in deSemaphore_decrement() 102 deBool deSemaphore_tryDecrement (deSemaphore semaphore) in deSemaphore_tryDecrement()
|
D | deSemaphoreUnix.c | 53 void deSemaphore_destroy (deSemaphore semaphore) in deSemaphore_destroy() 61 void deSemaphore_increment (deSemaphore semaphore) in deSemaphore_increment() 69 void deSemaphore_decrement (deSemaphore semaphore) in deSemaphore_decrement() 77 deBool deSemaphore_tryDecrement (deSemaphore semaphore) in deSemaphore_tryDecrement()
|
/external/deqp/framework/delibs/dethread/win32/ |
D | deSemaphoreWin32.c | 51 void deSemaphore_destroy (deSemaphore semaphore) in deSemaphore_destroy() 57 void deSemaphore_increment (deSemaphore semaphore) in deSemaphore_increment() 65 void deSemaphore_decrement (deSemaphore semaphore) in deSemaphore_decrement() 73 deBool deSemaphore_tryDecrement (deSemaphore semaphore) in deSemaphore_tryDecrement()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | UninterruptiblesTest.java | 366 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWait() local 374 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpired() local 380 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpired() local 386 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(50); in testTryAcquireTimeoutSingleInterruptNoExpire() local 393 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutSingleInterruptExpired() local 400 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(100); in testTryAcquireTimeoutMultiInterruptNoExpire() local 412 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutMultiInterruptExpired() local 420 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWaitMultiPermit() local 428 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpiredMultiPermit() local 434 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpiredMultiPermit() local [all …]
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | UninterruptiblesTest.java | 365 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWait() local 373 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpired() local 379 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpired() local 385 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(50); in testTryAcquireTimeoutSingleInterruptNoExpire() local 392 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutSingleInterruptExpired() local 399 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(100); in testTryAcquireTimeoutMultiInterruptNoExpire() local 411 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutMultiInterruptExpired() local 419 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWaitMultiPermit() local 427 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpiredMultiPermit() local 433 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpiredMultiPermit() local [all …]
|
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/ |
D | SemaphoreBenchmark.kt | 46 fun semaphore() = runBlocking { in <lambda>() method 48 val semaphore = Semaphore(_3_maxPermits) in <lambda>() constant 66 val semaphore = Channel<Unit>(_3_maxPermits) in <lambda>() constant
|
/external/skia/src/gpu/vk/ |
D | GrVkSemaphore.cpp | 25 VkSemaphore semaphore = VK_NULL_HANDLE; in Make() local 37 VkSemaphore semaphore, in MakeWrapped() 51 GrVkSemaphore::GrVkSemaphore(GrVkGpu* gpu, VkSemaphore semaphore, bool prohibitSignal, in GrVkSemaphore()
|
D | GrVkSemaphore.h | 36 Resource(const GrVkGpu* gpu, VkSemaphore semaphore, in Resource() 46 VkSemaphore semaphore() const { return fSemaphore; } in semaphore() function
|
/external/libusb/examples/ |
D | dpfp.c | 53 sem_t *semaphore; in semaphore_create() local 65 static inline void semaphore_give(semaphore_t semaphore) in semaphore_give() 70 static inline void semaphore_take(semaphore_t semaphore) in semaphore_take() 75 static inline void semaphore_destroy(semaphore_t semaphore) in semaphore_destroy() 107 static inline void semaphore_give(semaphore_t semaphore) in semaphore_give() 112 static inline void semaphore_take(semaphore_t semaphore) in semaphore_take() 117 static inline void semaphore_destroy(semaphore_t semaphore) in semaphore_destroy()
|
/external/tensorflow/tensorflow/compiler/xla/pjrt/ |
D | semaphore.h | 37 ScopedReservation(Semaphore* semaphore, int64_t amount) in ScopedReservation() 56 Semaphore* semaphore; member
|
D | semaphore_test.cc | 27 Semaphore semaphore(2); in TEST() local 51 Semaphore semaphore(2); in TEST() local
|
/external/mesa3d/src/mesa/main/ |
D | externalobjects.h | 61 _mesa_lookup_semaphore_object(struct gl_context *ctx, GLuint semaphore) in _mesa_lookup_semaphore_object() 71 _mesa_lookup_semaphore_object_locked(struct gl_context *ctx, GLuint semaphore) in _mesa_lookup_semaphore_object_locked()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | ThreadLocalStressTest.kt | 141 val semaphore = Semaphore(1, 1) in doTest() constant 155 val semaphore = Semaphore(1, 1) in doTestWithContextSwitch() constant
|
/external/skia/src/gpu/ |
D | GrBackendTextureImageGenerator.cpp | 28 std::unique_ptr<GrSemaphore> semaphore) in RefHelper() 45 std::unique_ptr<GrSemaphore> semaphore, SkColorType colorType, in Make() 73 std::unique_ptr<GrSemaphore> semaphore, in GrBackendTextureImageGenerator()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/lincheck/ |
D | SemaphoreLincheckTest.kt | 14 private val semaphore = Semaphore(permits) constant
|
/external/swiftshader/src/Vulkan/ |
D | VkSemaphore.hpp | 43 static inline Semaphore *Cast(VkSemaphore semaphore) in Cast() 193 Semaphore *semaphore = vk::Cast(object); in DynamicCast() local
|