/third_party/flutter/skia/third_party/externals/sdl/src/thread/generic/ |
D | SDL_syssem.c | 40 SDL_DestroySemaphore(SDL_sem * sem) in SDL_DestroySemaphore() 45 SDL_SemTryWait(SDL_sem * sem) in SDL_SemTryWait() 51 SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout) in SDL_SemWaitTimeout() 57 SDL_SemWait(SDL_sem * sem) in SDL_SemWait() 63 SDL_SemValue(SDL_sem * sem) in SDL_SemValue() 69 SDL_SemPost(SDL_sem * sem) in SDL_SemPost() 87 SDL_sem *sem; in SDL_CreateSemaphore() local 111 SDL_DestroySemaphore(SDL_sem * sem) in SDL_DestroySemaphore() 130 SDL_SemTryWait(SDL_sem * sem) in SDL_SemTryWait() 150 SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout) in SDL_SemWaitTimeout() [all …]
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver_behavior_test.cc | 45 auto* sem = Sem().Get(stmt); in TEST_F() local 56 auto* sem = Sem().Get(stmt); in TEST_F() local 67 auto* sem = Sem().Get(stmt); in TEST_F() local 85 auto* sem = Sem().Get(stmt); in TEST_F() local 98 auto* sem = Sem().Get(stmt); in TEST_F() local 111 auto* sem = Sem().Get(stmt); in TEST_F() local 124 auto* sem = Sem().Get(stmt); in TEST_F() local 135 auto* sem = Sem().Get(stmt); in TEST_F() local 147 auto* sem = Sem().Get(stmt); in TEST_F() local 158 auto* sem = Sem().Get(stmt); in TEST_F() local [all …]
|
D | resolver_constants_test.cc | 35 auto* sem = Sem().Get(expr); in TEST_F() local 50 auto* sem = Sem().Get(expr); in TEST_F() local 65 auto* sem = Sem().Get(expr); in TEST_F() local 80 auto* sem = Sem().Get(expr); in TEST_F() local 95 auto* sem = Sem().Get(expr); in TEST_F() local 114 auto* sem = Sem().Get(expr); in TEST_F() local 133 auto* sem = Sem().Get(expr); in TEST_F() local 152 auto* sem = Sem().Get(expr); in TEST_F() local 171 auto* sem = Sem().Get(expr); in TEST_F() local 190 auto* sem = Sem().Get(expr); in TEST_F() local [all …]
|
D | struct_layout_test.cc | 37 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 65 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 88 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 114 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 141 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 162 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 182 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 206 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 226 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 258 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local [all …]
|
D | struct_pipeline_stage_use_test.cc | 35 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 47 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 59 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 74 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 89 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 103 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 117 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 133 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 151 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 167 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local [all …]
|
D | struct_storage_class_use_test.cc | 35 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 47 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 60 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 73 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 86 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 99 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 112 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 125 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 138 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local 151 auto* sem = TypeOf(s)->As<sem::Struct>(); in TEST_F() local [all …]
|
D | resolver.cc | 492 auto* sem = Sem<sem::GlobalVariable>(var); in AllocateOverridableConstantIds() local 510 auto* sem = Variable(var, VariableKind::kGlobal); in GlobalVariable() local 815 auto* sem = Statement(stmt); in Statements() local 900 auto* sem = builder_->create<sem::CaseStatement>( in CaseStatement() local 918 auto* sem = builder_->create<sem::IfStatement>( in IfStatement() local 960 auto* sem = builder_->create<sem::ElseStatement>( in ElseStatement() local 990 auto* sem = builder_->create<sem::BlockStatement>( in BlockStatement() local 998 auto* sem = builder_->create<sem::LoopStatement>( in LoopStatement() local 1042 auto* sem = builder_->create<sem::ForLoopStatement>( in ForLoopStatement() local 1212 auto* sem = in IndexAccessor() local [all …]
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | rwsem.h | 42 #define down_read(sem) _sema_lock((losMutexDef_t*)(sem)) argument 43 #define down_read_trylock(sem) _sema_trylock((losMutexDef_t*)(sem)) argument 44 #define down_write(sem) _sema_lock((losMutexDef_t*)(sem)) argument 45 #define down_write_trylock(sem) _sema_trylock((losMutexDef_t*)(sem)) argument 46 #define up_read(sem) _sema_unlock((losMutexDef_t*)(sem)) argument 47 #define up_write(sem) _sema_unlock((losMutexDef_t*)(sem)) argument 48 #define downgrade_write(sem) argument
|
D | semaphore.h | 46 LosSemCB *sem; member 61 #define init_MUTEX(sem) _sema_init((losMutexDef_t*)(sem), 1) argument 62 #define destory_MUTEX(sem) _sema_destory((losMutexDef_t*)(sem)) argument 63 #define init_MUTEX_LOCKED(sem) (VOID)_sema_init((losMutexDef_t*)(sem), 0); argument 64 #define down(sem) _sema_lock((losMutexDef_t*)(sem)) argument 65 #define down_interruptible(sem) _sema_lock((losMutexDef_t*)(sem)) argument 66 #define down_trylock(sem) _sema_trylock((losMutexDef_t*)(sem)) argument 67 #define up(sem) _sema_unlock((losMutexDef_t*)(sem)) argument 69 #define sema_init(sem, n) do { \ argument 77 #define sema_destory(sem) do { \ argument
|
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/ |
D | SDL_syssem.c | 44 sem_t sem; member 51 SDL_sem *sem = (SDL_sem *) SDL_malloc(sizeof(SDL_sem)); in SDL_CreateSemaphore() local 65 SDL_DestroySemaphore(SDL_sem * sem) in SDL_DestroySemaphore() 74 SDL_SemTryWait(SDL_sem * sem) in SDL_SemTryWait() 89 SDL_SemWait(SDL_sem * sem) in SDL_SemWait() 105 SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout) in SDL_SemWaitTimeout() 180 SDL_SemValue(SDL_sem * sem) in SDL_SemValue() 193 SDL_SemPost(SDL_sem * sem) in SDL_SemPost()
|
/third_party/flutter/skia/third_party/externals/sdl/src/thread/psp/ |
D | SDL_syssem.c | 44 SDL_sem *sem; in SDL_CreateSemaphore() local 63 void SDL_DestroySemaphore(SDL_sem *sem) in SDL_DestroySemaphore() 79 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) in SDL_SemWaitTimeout() 115 int SDL_SemTryWait(SDL_sem *sem) in SDL_SemTryWait() 120 int SDL_SemWait(SDL_sem *sem) in SDL_SemWait() 126 Uint32 SDL_SemValue(SDL_sem *sem) in SDL_SemValue() 142 int SDL_SemPost(SDL_sem *sem) in SDL_SemPost()
|
/third_party/flutter/skia/third_party/externals/sdl/src/thread/windows/ |
D | SDL_syssem.c | 42 SDL_sem *sem; in SDL_CreateSemaphore() local 67 SDL_DestroySemaphore(SDL_sem * sem) in SDL_DestroySemaphore() 79 SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout) 113 SDL_SemTryWait(SDL_sem * sem) 119 SDL_SemWait(SDL_sem * sem) 126 SDL_SemValue(SDL_sem * sem) 136 SDL_SemPost(SDL_sem * sem)
|
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
D | deSemaphoreUnix.c | 36 sem_t* sem = (sem_t*)deMalloc(sizeof(sem_t)); in deSemaphore_create() local 55 sem_t* sem = (sem_t*)semaphore; in deSemaphore_destroy() local 63 sem_t* sem = (sem_t*)semaphore; in deSemaphore_increment() local 71 sem_t* sem = (sem_t*)semaphore; in deSemaphore_decrement() local 79 sem_t* sem = (sem_t*)semaphore; in deSemaphore_tryDecrement() local
|
D | deNamedSemaphoreUnix.c | 39 static void NamedSemaphore_getName (const NamedSemaphore* sem, char* buf, int bufSize) in NamedSemaphore_getName() 48 NamedSemaphore* sem = (NamedSemaphore*)deCalloc(sizeof(NamedSemaphore)); in deSemaphore_create() local 72 NamedSemaphore* sem = (NamedSemaphore*)semaphore; in deSemaphore_destroy() local 88 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; in deSemaphore_increment() local 96 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; in deSemaphore_decrement() local 104 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; in deSemaphore_tryDecrement() local
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_semaphore.c | 39 int _sema_init(losMutexDef_t *sem, unsigned int value) in _sema_init() 58 int _sema_lock(losMutexDef_t *sem) in _sema_lock() 80 int _sema_trylock(losMutexDef_t *sem) in _sema_trylock() 96 int _sema_unlock(losMutexDef_t *sem) in _sema_unlock() 112 int _sema_destory(losMutexDef_t *sem) in _sema_destory()
|
/third_party/libuv/src/unix/ |
D | thread.c | 446 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init() 462 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy() 468 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post() 474 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait() 486 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait() 548 uv_semaphore_t* sem; in uv__custom_sem_init() local 572 uv_semaphore_t* sem; in uv__custom_sem_destroy() local 582 uv_semaphore_t* sem; in uv__custom_sem_post() local 594 uv_semaphore_t* sem; in uv__custom_sem_wait() local 606 uv_semaphore_t* sem; in uv__custom_sem_trywait() local [all …]
|
/third_party/flutter/engine/flutter/fml/synchronization/ |
D | semaphore_unittest.cc | 11 fml::Semaphore sem(100); in TEST() local 16 fml::Semaphore sem(0); in TEST() local 21 fml::Semaphore sem(0); in TEST() local
|
/third_party/boost/boost/interprocess/sync/windows/ |
D | semaphore.hpp | 81 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in wait() local 90 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in try_wait() local 99 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in timed_wait() local 107 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in post() local
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 2-2.c | 89 sem_t *sem; in common() local 132 sem_t *sem; in main() local
|
/third_party/lwip/test/unit/arch/ |
D | sys_arch.c | 75 sys_sem_new(sys_sem_t *sem, u8_t count) in sys_sem_new() 83 sys_sem_free(sys_sem_t *sem) in sys_sem_free() 90 sys_sem_set_invalid(sys_sem_t *sem) in sys_sem_set_invalid() 98 sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) in sys_arch_sem_wait() 140 sys_sem_signal(sys_sem_t *sem) in sys_sem_signal()
|
/third_party/boost/libs/interprocess/test/ |
D | named_semaphore_test.cpp | 83 named_semaphore sem(create_only, SemName, 3); in test_named_semaphore_specific() local 86 named_semaphore sem(open_only, SemName); in test_named_semaphore_specific() local 94 named_semaphore sem(open_only, SemName); in test_named_semaphore_specific() local
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkQueue.cpp | 215 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue() local 220 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue() local 242 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pSignalSemaphores[j])) in submitQueue() local 247 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pSignalSemaphores[j])) in submitQueue() local
|
/third_party/libuv/test/ |
D | test-semaphore.c | 30 uv_sem_t sem; member 96 uv_sem_t sem; in TEST_IMPL() local
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 81 sem_t *sem, *sem_1; in child_fn() local 119 sem_t *sem, *sem_1; in main() local
|
/third_party/python/Modules/_multiprocessing/ |
D | semaphore.c | 54 #define SEM_CLOSE(sem) (CloseHandle(sem) ? 0 : -1) argument 55 #define SEM_GETVALUE(sem, pval) _GetSemaphoreValue(sem, pval) argument 215 #define SEM_CLOSE(sem) sem_close(sem) argument 216 #define SEM_GETVALUE(sem, pval) sem_getvalue(sem, pval) argument 231 # define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save) argument 234 sem_timedwait_save(sem_t *sem, struct timespec *deadline, PyThreadState *_save) in sem_timedwait_save()
|