Home
last modified time | relevance | path

Searched refs:sem_open (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D6-1.c94 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()
D3-1.c137 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()
D2-2.c92 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()
D7-1.c109 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()
D9-1.c116 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()
D5-1.c131 sem = sem_open(sem_name, O_CREAT, 0777, 1); in main()
184 sem = sem_open(sem_name, O_CREAT, 0777, 1); in main()
D1-1.c34 mysemp = sem_open(semname, O_CREAT, 0, 1); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
D3-2.c98 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()
D2-1.c33 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
46 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
D1-1.c34 mysemp = sem_open(semname, O_CREAT, 0700, 1); in main()
/third_party/musl/libc-test/src/functional/
Dsem_open.c25 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/
D8-1.c86 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/
Dsem_close-unmap.c12 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/
D4-1.c35 mysemp = sem_open(semname, O_CREAT, 0444, 1); in main()
39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1); in main()
D2-1.c36 mysemp = sem_open(semname, O_CREAT, 0777, 0); in main()
47 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main()
D10-1.c36 mysemp = sem_open(semname, O_CREAT, 0777, 5); in main()
47 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
D3-1.c75 mysemp = sem_open(semname, O_CREAT, 0444, 1); in main()
78 mysemp = sem_open(semname, O_CREAT, 0222, 1); in main()
D15-1.c96 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
120 sems[i] = sem_open(name, O_CREAT, 0777, 1); in main()
Dcln.sh3 rm -f /tmp/sem_open* >/dev/null 2>&1
D6-1.c31 mysemp = sem_open(semname, 0); in main()
D1-2.c33 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
D1-1.c33 mysemp = sem_open(semname, O_CREAT, 0777, 1); in main()
D5-1.c39 mysemp = sem_open(semname, O_CREAT, 0444, counter); in main()
/third_party/boost/boost/interprocess/sync/posix/
Dsemaphore_wrapper.hpp73 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/
D14-1.c61 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()

1234