/external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
D | sem_sleepingbarber.c | 39 sem_post(&print); \ 65 if (-1 == sem_post(&lock)) { in barbers() 82 if (-1 == sem_post(&lock)) { in barbers() 86 if (-1 == sem_post(&barber)) { in barbers() 110 if (-1 == sem_post(&customer)) { in customers() 117 if (-1 == sem_post(&lock)) { in customers() 130 if (-1 == sem_post(&lock)) { in customers()
|
D | sem_conpro.c | 56 if (-1 == sem_post(&buf->lock)) { in producer() 60 if (-1 == sem_post(&buf->empty)) { in producer() 85 if (-1 == sem_post(&buf->lock)) { in consumer() 89 if (-1 == sem_post(&buf->occupied)) { in consumer()
|
D | sem_readerwriter.c | 63 if (-1 == sem_post(&r_lock)) { in reader() 75 if (-1 == sem_post(&w_lock)) { in reader() 80 if (-1 == sem_post(&r_lock)) { in reader() 100 if (-1 == sem_post(&w_lock)) { in writer()
|
D | sem_philosopher.c | 63 sem_post(&ph[ID]); in test() 84 if (-1 == sem_post(&lock)) { in philosopher() 109 if (-1 == sem_post(&lock)) { in philosopher()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 213 sem_post(sem); in main() 218 sem_post(sem); in main() 223 sem_post(sem); in main() 239 sem_post(sem); in main() 246 sem_post(sem); in main() 247 sem_post(sem); in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
D | multi_con_pro.c | 67 if (-1 == sem_post(&buf->lock)) { in producer() 71 if (-1 == sem_post(&buf->empty)) { in producer() 94 if (-1 == sem_post(&buf->lock)) { in producer() 98 if (-1 == sem_post(&buf->empty)) { in producer() 126 if (-1 == sem_post(&buf->lock)) { in consumer() 130 if (-1 == sem_post(&buf->full)) { in consumer()
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_prio_3_fifo.c | 143 sem_post(&sem_high_b); in rt_high_fn_a() 162 sem_post(&sem_high_a); in rt_med_fn_b() 179 sem_post(&sem_med_b); in rt_med_fn_a() 198 sem_post(&sem_med_a); in rt_low_fn_b() 231 sem_post(&sem_low_b); in rt_low_fn_a()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
D | s-c1.c | 186 ret = sem_post(sem_ending); in main() 201 ret = sem_post(sem_synchro); in main() 222 ret = sem_post(sem_ending); in main() 258 sem_post(sem_ending); in main() 276 sem_post(sem_ending); in main() 316 ret = sem_post(sem_ending); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
D | 3-1.c | 128 if ((sem_post(&semsig1))) { in sighdl1() 137 if ((sem_post(&semsig2))) { in sighdl2() 166 if ((sem_post(&semsync2))) { in threaded() 357 if ((sem_post(&semsync))) { in main()
|
D | 4-1.c | 106 if ((ret = sem_post(&sem))) { in threaded() 118 if ((ret = sem_post(&sem))) { in threaded()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
D | 3-2.c | 125 if ((ret = sem_post(&semA))) { in deadlk_issue() 151 if ((ret = sem_post(&semA))) { in unlock_issue() 244 if ((ret = sem_post(&semB))) { in main()
|
D | 1-2.c | 119 if ((ret = sem_post(&semA))) { in deadlk_issue() 145 if ((ret = sem_post(&semA))) { in unlock_issue() 251 if ((ret = sem_post(&semB))) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 3-1.c | 75 sem_post(&csem); in producer() 86 sem_post(&psem); in consumer()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/ |
D | 3-1.c | 75 sem_post(&csem); in producer() 86 sem_post(&psem); in consumer()
|
/external/libvpx/libvpx/vp8/common/ |
D | threading.h | 97 #define sem_post(sem) ReleaseSemaphore(*sem, 1, NULL) macro 142 static inline int sem_post(sem_t *sem) { 172 #define sem_post(sem) semaphore_signal(*sem)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | child.h | 104 ret = sem_post(&sync->sem_child); in prod_child() 132 ret = sem_post(&sync->sem_parent); in prod_parent()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 14-1.c | 89 ret = sem_post(sem_linked); in main() 98 ret = sem_post(sem_unlinked); in main()
|
/external/compiler-rt/test/tsan/ |
D | signal_recursive.cc | 43 if (sem_post(&g_thread_suspend_ack_sem) != 0) in SuspendHandler() 51 if (sem_post(&g_thread_suspend_ack_sem) != 0) in SuspendHandler()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
D | 4-3.c | 122 if (sem_post(&semsig1)) in sighdl1() 142 ret = sem_post(&scenarii[sc].sem); in threaded() 268 if (sem_post(&semsig1)) in do_child()
|
D | 2-2.c | 118 ret = sem_post(&(scenarii[sc].sem)); in threaded() 205 ret = sem_post(&sem_sync); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 2-2.c | 117 ret = sem_post(sem); in common() 201 ret = sem_post(sem); in main()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages03.c | 97 if (sem_post(&sem[SEM_CHILD_SETUP]) == -1) in child() 178 if (sem_post(&sem[SEM_PARENT_TEST]) == -1) in main()
|
D | move_pages11.c | 98 if (sem_post(&sem[SEM_CHILD_SETUP]) == -1) in child() 178 if (sem_post(&sem[SEM_PARENT_TEST]) == -1) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-3.c | 118 ret = sem_post(&(data.semA)); in clnp2() 173 ret = sem_post(&(data.semA)); in threaded() 411 ret = sem_post(&(data.semB)); in main()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | ethreading.c | 37 sem_post(&cpi->h_event_end_lpf); in thread_loopfilter() 309 sem_post(&cpi->h_event_end_encoding[ithread]); in thread_encoding_proc() 584 sem_post(&cpi->h_event_start_encoding[ithread]); in vp8cx_create_encoder_threads() 585 sem_post(&cpi->h_event_end_encoding[ithread]); in vp8cx_create_encoder_threads() 615 sem_post(&cpi->h_event_start_encoding[i]); in vp8cx_remove_encoder_threads() 616 sem_post(&cpi->h_event_end_encoding[i]); in vp8cx_remove_encoder_threads() 624 sem_post(&cpi->h_event_start_lpf); in vp8cx_remove_encoder_threads()
|