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.c77 #define SEM_NAME "/sem_unlink_6_1" macro
94 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
97 sem_unlink(SEM_NAME); in main()
98 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
106 ret = sem_unlink(SEM_NAME); in main()
113 sem2 = sem_open(SEM_NAME, 0); in main()
126 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3); in main()
157 ret = sem_unlink(SEM_NAME); in main()
D3-1.c84 #define SEM_NAME "/sem_unlink_3_1" macro
137 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
140 sem_unlink(SEM_NAME); in main()
141 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
157 sem = sem_open(SEM_NAME, 0); in main()
175 ret = sem_unlink(SEM_NAME); in main()
217 ret = sem_unlink(SEM_NAME); in main()
D2-2.c79 #define SEM_NAME "/sem_unlink_9_1" macro
92 sem = sem_open(SEM_NAME, 0); in common()
138 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
141 sem_unlink(SEM_NAME); in main()
142 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
194 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()
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.c75 #define SEM_NAME "/sem_unlink_4_2" macro
89 (void)sem_unlink(SEM_NAME); in main()
91 ret = sem_unlink(SEM_NAME); in main()
D5-1.c82 #define SEM_NAME "/sem_unlink_5_1" macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
D3-2.c81 #define SEM_NAME "/sem_close_3_2" macro
98 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
101 sem_unlink(SEM_NAME); in main()
102 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
126 sem = sem_open(SEM_NAME, O_CREAT, 0777, 3); in main()
151 ret = sem_unlink(SEM_NAME); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D1-1.c51 #define SEM_NAME "/semfork1_1" macro
77 sem = sem_open(SEM_NAME, O_CREAT, O_RDWR, 0); in main()
118 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