Home
last modified time | relevance | path

Searched defs:semaphore (Results 1 – 25 of 164) sorted by relevance

1234567

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/sync/
DSemaphoreTest.kt13 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/deqp/framework/delibs/dethread/unix/
DdeSemaphoreUnix.c53 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()
DdeNamedSemaphoreUnix.c36 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()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/sync/
DSemaphoreStressTest.kt15 val semaphore = Semaphore(1) in <lambda>() constant
33 val semaphore = Semaphore(10) in <lambda>() constant
48 val semaphore = Semaphore(1) in <lambda>() constant
69 val semaphore = Semaphore(1, 1) in <lambda>() constant
/external/deqp/framework/delibs/dethread/win32/
DdeSemaphoreWin32.c51 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/
DUninterruptiblesTest.java302 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWait() local
310 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpired() local
316 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpired() local
322 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(50); in testTryAcquireTimeoutSingleInterruptNoExpire() local
329 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutSingleInterruptExpired() local
336 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(100); in testTryAcquireTimeoutMultiInterruptNoExpire() local
348 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutMultiInterruptExpired() local
356 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWaitMultiPermit() local
364 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpiredMultiPermit() local
370 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpiredMultiPermit() local
[all …]
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DUninterruptiblesTest.java302 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWait() local
310 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpired() local
316 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpired() local
322 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(50); in testTryAcquireTimeoutSingleInterruptNoExpire() local
329 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutSingleInterruptExpired() local
336 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(100); in testTryAcquireTimeoutMultiInterruptNoExpire() local
348 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutMultiInterruptExpired() local
356 Semaphore semaphore = new Semaphore(99); in testTryAcquireWithNoWaitMultiPermit() local
364 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); in testTryAcquireTimeoutNoInterruptNotExpiredMultiPermit() local
370 TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); in testTryAcquireTimeoutNoInterruptExpiredMultiPermit() local
[all …]
/external/skqp/src/gpu/ops/
DGrSemaphoreOp.cpp21 sk_sp<GrSemaphore> semaphore, in Make()
33 explicit GrWaitSemaphoreOp(sk_sp<GrSemaphore> semaphore, GrRenderTargetProxy* proxy) in GrWaitSemaphoreOp()
46 sk_sp<GrSemaphore> semaphore, in MakeWait()
DGrSemaphoreOp.h24 GrSemaphoreOp(uint32_t classId, sk_sp<GrSemaphore> semaphore, GrRenderTargetProxy* proxy) in GrSemaphoreOp()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
DSemaphoreBenchmark.kt45 fun semaphore() = runBlocking { in <lambda>() method in benchmarks.SemaphoreBenchmark
47 val semaphore = Semaphore(_3_maxPermits) in <lambda>() constant
65 val semaphore = Channel<Unit>(_3_maxPermits) in <lambda>() constant
/external/skqp/src/gpu/vk/
DGrVkSemaphore.cpp25 VkSemaphore semaphore = VK_NULL_HANDLE; in Make() local
33 VkSemaphore semaphore, in MakeWrapped()
45 GrVkSemaphore::GrVkSemaphore(GrVkGpu* gpu, VkSemaphore semaphore, bool prohibitSignal, in GrVkSemaphore()
DGrVkSemaphore.h35 Resource(VkSemaphore semaphore, bool prohibitSignal, bool prohibitWait, bool isOwned) in Resource()
44 VkSemaphore semaphore() const { return fSemaphore; } in semaphore() function
/external/skia/src/gpu/vk/
DGrVkSemaphore.cpp25 VkSemaphore semaphore = VK_NULL_HANDLE; in Make() local
37 VkSemaphore semaphore, in MakeWrapped()
50 GrVkSemaphore::GrVkSemaphore(GrVkGpu* gpu, VkSemaphore semaphore, bool prohibitSignal, in GrVkSemaphore()
DGrVkSemaphore.h37 Resource(VkSemaphore semaphore, bool prohibitSignal, bool prohibitWait, bool isOwned) in Resource()
46 VkSemaphore semaphore() const { return fSemaphore; } in semaphore() function
/external/mesa3d/src/mesa/main/
Dexternalobjects.h61 _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/tensorflow/tensorflow/compiler/xla/python/
Dsemaphore.h37 ScopedReservation(Semaphore* semaphore, int64 amount) in ScopedReservation()
56 Semaphore* semaphore; member
Dsemaphore_test.cc27 Semaphore semaphore(2); in TEST() local
51 Semaphore semaphore(2); in TEST() local
/external/skqp/src/gpu/
DGrBackendTextureImageGenerator.cpp36 sk_sp<GrSemaphore> semaphore, SkColorType colorType, in Make()
67 sk_sp<GrSemaphore> semaphore, in GrBackendTextureImageGenerator()
138 sk_sp<GrSemaphore> semaphore = fSemaphore; in onGenerateTexture() local
/external/skia/src/gpu/
DGrBackendTextureImageGenerator.cpp28 std::unique_ptr<GrSemaphore> semaphore) in RefHelper()
46 std::unique_ptr<GrSemaphore> semaphore, SkColorType colorType, in Make()
74 std::unique_ptr<GrSemaphore> semaphore, in GrBackendTextureImageGenerator()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicSemaphoreTests.cpp58 Move<VkSemaphore> semaphore; in createTestSemaphore() local
74 const Unique<VkSemaphore> semaphore (createTestSemaphore(context, vk, device, config)); in basicOneQueueCase() local
155 VkSemaphore semaphore; in basicChainCase() local
202 VkSemaphore semaphore; in basicChainTimelineCase() local
308 Move<VkSemaphore> semaphore; in basicMultiQueueCase() local
/external/skqp/src/gpu/mtl/
DGrMtlGpu.h108 sk_sp<GrSemaphore> wrapBackendSemaphore(const GrBackendSemaphore& semaphore, in wrapBackendSemaphore()
111 void insertSemaphore(sk_sp<GrSemaphore> semaphore) override {} in insertSemaphore()
112 void waitSemaphore(sk_sp<GrSemaphore> semaphore) override {} in waitSemaphore()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DMerge.kt54 val semaphore = Semaphore(concurrency) in collectTo() constant
/external/skqp/src/gpu/mock/
DGrMockGpu.h41 sk_sp<GrSemaphore> wrapBackendSemaphore(const GrBackendSemaphore& semaphore, in wrapBackendSemaphore()
44 void insertSemaphore(sk_sp<GrSemaphore> semaphore) override {} in insertSemaphore()
45 void waitSemaphore(sk_sp<GrSemaphore> semaphore) override {} in waitSemaphore()
/external/skqp/include/gpu/
DGrBackendSemaphore.h31 void initVulkan(VkSemaphore semaphore) { in initVulkan()
/external/skia/src/gpu/mock/
DGrMockGpu.h41 const GrBackendSemaphore& semaphore, in wrapBackendSemaphore()
46 void insertSemaphore(GrSemaphore* semaphore) override {} in insertSemaphore()
47 void waitSemaphore(GrSemaphore* semaphore) override {} in waitSemaphore()

1234567