/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 6-1.c | 94 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main() 98 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); 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()
|
D | 3-1.c | 137 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); 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()
|
D | 2-2.c | 92 sem = sem_open(SEM_NAME, 0); in common() 138 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main() 142 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
|
D | 7-1.c | 109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main() 113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
|
D | 9-1.c | 116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main() 120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
|
D | 5-1.c | 131 sem = sem_open(sem_name, O_CREAT, 0777, 1); in main() 184 sem = sem_open(sem_name, O_CREAT, 0777, 1); in main()
|
D | 1-1.c | 34 mysemp = sem_open(semname, O_CREAT, 0, 1); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/ |
D | 3-2.c | 98 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); 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()
|
D | 2-1.c | 33 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main() 46 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
|
D | 1-1.c | 34 mysemp = sem_open(semname, O_CREAT, 0700, 1); in main()
|
/third_party/musl/libc-test/src/functional/ |
D | sem_open.c | 25 TEST((sem=sem_open(buf, O_CREAT|O_EXCL, 0700, 1)) != SEM_FAILED, in main() 28 TEST(sem_open(buf, O_CREAT|O_EXCL, 0700, 1) == SEM_FAILED, in main() 36 TEST((sem2=sem_open(buf, 0)) == sem, in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 86 sem = sem_open(semname, 0); in child_fn() 92 sem_1 = sem_open(semname_1, 0); in child_fn() 129 sem = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main() 137 sem_1 = sem_open(semname_1, O_CREAT | O_EXCL, 0777, 3); in main()
|
/third_party/musl/libc-test/src/regression/ |
D | sem_close-unmap.c | 12 sem_t *sem = sem_open(buf, O_CREAT|O_EXCL, 0600, 0); in main() 13 sem_open(buf, 0); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/ |
D | 4-1.c | 35 mysemp = sem_open(semname, O_CREAT, 0444, 1); in main() 39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1); in main()
|
D | 2-1.c | 36 mysemp = sem_open(semname, O_CREAT, 0777, 0); in main() 47 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main()
|
D | 10-1.c | 36 mysemp = sem_open(semname, O_CREAT, 0777, 5); in main() 47 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
|
D | 3-1.c | 75 mysemp = sem_open(semname, O_CREAT, 0444, 1); in main() 78 mysemp = sem_open(semname, O_CREAT, 0222, 1); in main()
|
D | 15-1.c | 96 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main() 120 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
|
D | cln.sh | 3 rm -f /tmp/sem_open* >/dev/null 2>&1
|
D | 6-1.c | 31 mysemp = sem_open(semname, 0); in main()
|
D | 1-2.c | 33 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
|
D | 1-1.c | 33 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
|
D | 5-1.c | 39 mysemp = sem_open(semname, O_CREAT, 0444, counter); in main()
|
/third_party/boost/boost/interprocess/sync/posix/ |
D | semaphore_wrapper.hpp | 73 handle = ::sem_open(name.c_str(), oflag); in semaphore_open() 81 handle = ::sem_open(name.c_str(), oflag, perm.get_permissions(), count); in semaphore_open() 89 if( (handle = ::sem_open(name.c_str(), oflag)) != BOOST_INTERPROCESS_POSIX_SEM_FAILED in semaphore_open()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 14-1.c | 61 sem_linked = sem_open("/fork_14_1a", O_CREAT, O_RDWR, 0); in main() 67 sem_unlinked = sem_open("/fork_14_1b", O_CREAT, O_RDWR, 0); in main()
|