/external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
D | sem_sleepingbarber.c | 147 if (-1 == sem_init(&print, shared, 1)) { in main() 155 if (-1 == sem_init(&customer, shared, customer_value)) { in main() 159 if (-1 == sem_init(&barber, shared, barber_value)) { in main() 163 if (-1 == sem_init(&lock, shared, lock_value)) { in main()
|
D | sem_conpro.c | 110 if (-1 == sem_init(&buf.occupied, shared, occupied_value)) { in main() 114 if (-1 == sem_init(&buf.empty, shared, empty_value)) { in main() 118 if (-1 == sem_init(&buf.lock, shared, lock_value)) { in main()
|
D | sem_readerwriter.c | 121 if (-1 == sem_init(&r_lock, shared, r_value)) { in main() 125 if (-1 == sem_init(&w_lock, shared, w_value)) { in main()
|
D | sem_philosopher.c | 131 if (-1 == sem_init(&ph[i], shared, ph_value)) { in main() 137 if (-1 == sem_init(&lock, shared, lock_value)) { in main()
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_prio_3_fifo.c | 348 sem_init(&sem_high_b, 0, 0); in run() 349 sem_init(&sem_high_a, 0, 0); in run() 350 sem_init(&sem_med_b, 0, 0); in run() 351 sem_init(&sem_med_a, 0, 0); in run() 352 sem_init(&sem_low_b, 0, 0); in run() 353 sem_init(&sem_low_a, 0, 0); in run()
|
D | sched_boost.c | 148 sem_init(&test_sem, 0, 0); in run() 149 sem_init(&result_sem, 0, 0); in run()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
D | 3-1.c | 288 if ((sem_init(&semsig1, 0, 1))) { in main() 291 if ((sem_init(&semsig2, 0, 1))) { in main() 296 if ((sem_init(&semsync, 0, 0))) { in main() 300 if ((sem_init(&semsync2, 0, 0))) { in main()
|
D | 5-1.c | 195 if (sem_init(&semsig, 0, 1)) { in main() 198 if (sem_init(&semstart, 0, 0)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 7-1.c | 105 ret = sem_init(&sems[i], 0, 0); in main() 123 ret = sem_init(&sem_last, 0, 1); in main()
|
D | 3-1.c | 39 if (sem_init(&csem, 0, 0) < 0) { in main() 43 if (sem_init(&psem, 0, 1) < 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/ |
D | 3-1.c | 39 if (sem_init(&csem, 0, 0) < 0) { in main() 43 if (sem_init(&psem, 0, 1) < 0) { in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | child.h | 64 ret = sem_init(&sync->sem_parent, 1, 0); in init_child_sync() 70 ret = sem_init(&sync->sem_child, 1, 0); in init_child_sync()
|
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
D | multi_con_pro.c | 175 if (-1 == sem_init(&buf->full, shared, full_value)) { in main() 184 if (-1 == sem_init(&buf->empty, shared, empty_value)) { in main() 188 if (-1 == sem_init(&buf->lock, shared, lock_value)) { in main()
|
/external/libvpx/libvpx/vp8/common/ |
D | threading.h | 93 #define sem_init(sem, sem_attr1, sem_init_value) \ macro 110 static inline int sem_init(sem_t *sem, int pshared, unsigned int value) { 169 #define sem_init(X, Y, Z) \
|
/external/python/cffi/testing/embedding/ |
D | thread-test.h | 16 static int sem_init(sem_t *sem, int pshared, unsigned int value) in sem_init() function 59 static int sem_init(sem_t *sem, int pshared, unsigned int value) in sem_init() function
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/ |
D | 2-1.c | 221 if (sem_init(&semsig1, 0, 1)) { in main() 224 if (sem_init(&semsig2, 0, 1)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
D | 3-3.c | 245 if (sem_init(&semsig1, 0, 1)) { in main() 249 if (sem_init(&semsig2, 0, 1)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
D | 8-1.c | 252 if (sem_init(&semsig1, 0, 1)) { in main() 256 if (sem_init(&semsig2, 0, 1)) { in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | 2010-09-16-asmcrash.ll | 10 module asm ".weak sem_init" 11 module asm ".equ sem_init, _sem_init"
|
/external/llvm/test/CodeGen/X86/ |
D | 2010-09-16-asmcrash.ll | 10 module asm ".weak sem_init" 11 module asm ".equ sem_init, _sem_init"
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
D | 5-1.c | 227 if (sem_init(&semsig1, 0, 1)) { in main() 231 if (sem_init(&semsig2, 0, 1)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/ |
D | 6-1.c | 260 if (sem_init(&semsig1, 0, 1)) { in main() 264 if (sem_init(&semsig2, 0, 1)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
D | 6-3.c | 204 if (sem_init(&semsig1, 0, 1)) in main() 207 if (sem_init(&semsig2, 0, 1)) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
D | 18-1.c | 267 if (sem_init(&semsig1, 0, 1)) { in main() 271 if (sem_init(&semsig2, 0, 1)) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
D | 3-2.c | 196 if ((ret = sem_init(&semA, 0, 0))) { in main() 199 if ((ret = sem_init(&semB, 0, 0))) { in main()
|