/external/deqp/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
|
/external/syslinux/core/thread/ |
D | semaphore.c | 4 void sem_init(struct semaphore *sem, int count) in sem_init() 12 mstime_t __sem_down_slow(struct semaphore *sem, mstime_t timeout) in __sem_down_slow() 58 void __sem_up_slow(struct semaphore *sem) in __sem_up_slow()
|
D | kill_thread.c | 26 struct semaphore *sem = block->semaphore; in kill_thread() local
|
/external/syslinux/core/lwip/src/arch/ |
D | sys_arch.c | 11 err_t sys_sem_new(sys_sem_t *sem, u8_t count) in sys_sem_new() 23 void sys_sem_free(sys_sem_t *sem) in sys_sem_free() 32 void sys_sem_set_invalid(sys_sem_t *sem) in sys_sem_set_invalid() 40 int sys_sem_valid(sys_sem_t *sem) in sys_sem_valid() 47 u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) in sys_arch_sem_wait()
|
/external/libdrm/amdgpu/ |
D | amdgpu_cs.c | 127 amdgpu_semaphore_handle sem; in amdgpu_cs_ctx_free() local 182 amdgpu_semaphore_handle sem, tmp; in amdgpu_cs_submit_one() local 446 int amdgpu_cs_create_semaphore(amdgpu_semaphore_handle *sem) in amdgpu_cs_create_semaphore() 467 amdgpu_semaphore_handle sem) in amdgpu_cs_signal_semaphore() 495 amdgpu_semaphore_handle sem) in amdgpu_cs_wait_semaphore() 515 static int amdgpu_cs_reset_sem(amdgpu_semaphore_handle sem) in amdgpu_cs_reset_sem() 531 static int amdgpu_cs_unreference_sem(amdgpu_semaphore_handle sem) in amdgpu_cs_unreference_sem() 541 int amdgpu_cs_destroy_semaphore(amdgpu_semaphore_handle sem) in amdgpu_cs_destroy_semaphore()
|
/external/autotest/utils/named_semaphore/ |
D | namedsem.c | 30 sem_t *sem; in namedsem_sem_close() local 54 sem_t *sem; in namedsem_sem_wait() local 66 sem_t *sem; in namedsem_sem_post() local 79 sem_t *sem; in namedsem_sem_getvalue() local
|
/external/libvpx/libvpx/vp8/common/ |
D | threading.h | 93 #define sem_init(sem, sem_attr1, sem_init_value) \ argument 95 #define sem_wait(sem) \ argument 97 #define sem_post(sem) ReleaseSemaphore(*sem, 1, NULL) argument 98 #define sem_destroy(sem) \ argument
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 2-2.c | 91 sem_t *sem; in common() local 134 sem_t *sem; in main() local
|
/external/libhevc/common/ |
D | ithread.c | 129 WORD32 ithread_sem_init(void *sem, WORD32 pshared, UWORD32 value) in ithread_sem_init() 134 WORD32 ithread_sem_post(void *sem) in ithread_sem_post() 139 WORD32 ithread_sem_wait(void *sem) in ithread_sem_wait() 144 WORD32 ithread_sem_destroy(void *sem) in ithread_sem_destroy()
|
/external/libmpeg2/common/ |
D | ithread.c | 137 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value) in ithread_sem_init() 142 WORD32 ithread_sem_post(void *sem) in ithread_sem_post() 147 WORD32 ithread_sem_wait(void *sem) in ithread_sem_wait() 152 WORD32 ithread_sem_destroy(void *sem) in ithread_sem_destroy()
|
/external/libavc/common/ |
D | ithread.c | 140 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value) in ithread_sem_init() 145 WORD32 ithread_sem_post(void *sem) in ithread_sem_post() 151 WORD32 ithread_sem_wait(void *sem) in ithread_sem_wait() 157 WORD32 ithread_sem_destroy(void *sem) in ithread_sem_destroy()
|
/external/valgrind/helgrind/tests/ |
D | tc24_nonzero_sem.c | 21 sem_t* sem = (sem_t*)semV; in child_fn() local 29 sem_t* sem; in main() local
|
/external/valgrind/memcheck/tests/ |
D | err_disable4.c | 30 sem_t sem; variable 32 sem_t *sem; variable
|
/external/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
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages03.c | 85 void child(void **pages, sem_t * sem) in child() 131 sem_t *sem; in main() local
|
D | move_pages11.c | 86 void child(void **pages, sem_t * sem) in child() 132 sem_t *sem; in main() local
|
D | move_pages05.c | 86 void child(void **pages, sem_t * sem) in child() 132 sem_t *sem; in main() local
|
/external/compiler-rt/test/msan/ |
D | sem_getvalue.cc | 8 sem_t sem; in main() local
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | semaphore.c | 36 #define SEM_CLOSE(sem) (CloseHandle(sem) ? 0 : -1) argument 37 #define SEM_GETVALUE(sem, pval) _GetSemaphoreValue(sem, pval) argument 196 #define SEM_CLOSE(sem) sem_close(sem) argument 197 #define SEM_GETVALUE(sem, pval) sem_getvalue(sem, pval) argument 212 # define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save) argument 215 sem_timedwait_save(sem_t *sem, struct timespec *deadline, PyThreadState *_save) in sem_timedwait_save()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
D | 4-1.c | 23 int sem; /* Manual semaphore */ variable
|
D | 2-1.c | 25 int sem; /* Manual semaphore */ variable
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | semaphore.c | 38 #define SEM_CLOSE(sem) (CloseHandle(sem) ? 0 : -1) argument 39 #define SEM_GETVALUE(sem, pval) _GetSemaphoreValue(sem, pval) argument 189 #define SEM_CLOSE(sem) sem_close(sem) argument 190 #define SEM_GETVALUE(sem, pval) sem_getvalue(sem, pval) argument 205 # define sem_timedwait(sem,deadline) sem_timedwait_save(sem,deadline,_save) argument 208 sem_timedwait_save(sem_t *sem, struct timespec *deadline, PyThreadState *_save) in sem_timedwait_save()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 3-1.c | 33 static volatile int sem; variable
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/ |
D | 3-2.c | 94 sem_t *sem; in main() local
|