Home
last modified time | relevance | path

Searched refs:SEM_NAME (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D6-1.c79 #define SEM_NAME "/sem_unlink_6_1" macro
96 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
99 sem_unlink(SEM_NAME); in main()
100 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
108 ret = sem_unlink(SEM_NAME); in main()
115 sem2 = sem_open(SEM_NAME, 0); in main()
128 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3); in main()
159 ret = sem_unlink(SEM_NAME); in main()
D3-1.c87 #define SEM_NAME "/sem_unlink_3_1" macro
140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
143 sem_unlink(SEM_NAME); in main()
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
160 sem = sem_open(SEM_NAME, 0); in main()
178 ret = sem_unlink(SEM_NAME); in main()
220 ret = sem_unlink(SEM_NAME); in main()
D7-1.c76 #define SEM_NAME "/sem_unlink_7_1" macro
109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
112 sem_unlink(SEM_NAME); in main()
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
131 ret = sem_unlink(SEM_NAME); in main()
D2-2.c81 #define SEM_NAME "/sem_unlink_9_1" macro
94 sem = sem_open(SEM_NAME, 0); in common()
140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
143 sem_unlink(SEM_NAME); in main()
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
196 ret = sem_unlink(SEM_NAME); in main()
D9-1.c80 #define SEM_NAME "/sem_unlink_9_1" macro
116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
119 sem_unlink(SEM_NAME); in main()
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
140 ret = sem_unlink(SEM_NAME); in main()
D4-2.c77 #define SEM_NAME "/sem_unlink_4_2" macro
91 (void)sem_unlink(SEM_NAME); in main()
93 ret = sem_unlink(SEM_NAME); in main()
D5-1.c84 #define SEM_NAME "/sem_unlink_5_1" macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
D3-2.c83 #define SEM_NAME "/sem_close_3_2" macro
100 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
103 sem_unlink(SEM_NAME); in main()
104 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
128 sem = sem_open(SEM_NAME, O_CREAT, 0777, 3); in main()
153 ret = sem_unlink(SEM_NAME); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D1-1.c53 #define SEM_NAME "/semfork1_1" macro
79 sem = sem_open(SEM_NAME, O_CREAT, O_RDWR, 0); in main()
120 ret = sem_unlink(SEM_NAME); in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
Dstress.c66 #define SEM_NAME "/set_getval_stress" macro
144 named = sem_open(SEM_NAME, O_CREAT, 0777, INIT_VAL); in main()
150 ret = sem_unlink(SEM_NAME); in main()
/external/libusb/examples/
Ddpfp_threaded.c42 #define SEM_NAME "/org.libusb.example.dpfp_threaded" macro
452 exit_sem = sem_open (SEM_NAME, O_CREAT, 0); in main()
459 sem_unlink (SEM_NAME); in main()
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/
Dsem_lock.c23 #define SEM_NAME "/tmp/semaphore" macro
Dsem_readerwriter.c27 #define SEM_NAME "/tmp/semaphore" macro