/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 6-1.c | 96 if ((sem1 == SEM_FAILED) && (errno == EEXIST)) { in main() 101 if (sem1 == SEM_FAILED) { in main() 115 if (sem2 != SEM_FAILED) { in main() 128 if (sem2 == SEM_FAILED) { in main()
|
D | 3-1.c | 139 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main() 144 if (sem == SEM_FAILED) { in main() 159 if (sem == SEM_FAILED) { in main()
|
D | 2-2.c | 94 if (sem == SEM_FAILED) { in common() 140 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main() 145 if (sem == SEM_FAILED) { in main()
|
D | 7-1.c | 111 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main() 116 if (sem == SEM_FAILED) { in main()
|
D | 9-1.c | 118 if ((sem == SEM_FAILED) && (errno == EEXIST)) { in main() 123 if (sem == SEM_FAILED) { in main()
|
D | 5-1.c | 133 if (sem != SEM_FAILED) { in main() 186 if (sem != SEM_FAILED) { in main()
|
D | 1-1.c | 35 if (mysemp == SEM_FAILED || mysemp == NULL) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/ |
D | 3-2.c | 100 if (sem == SEM_FAILED && errno == EEXIST) { in main() 105 if (sem == SEM_FAILED) { in main() 128 if (sem == SEM_FAILED) { in main()
|
D | 2-1.c | 35 if (mysemp == SEM_FAILED) { in main() 48 if (mysemp == SEM_FAILED) { in main()
|
D | 1-1.c | 35 if (mysemp == SEM_FAILED) { in main()
|
D | 3-1.c | 35 if (mysemp == SEM_FAILED) { in main()
|
/third_party/python/Modules/_multiprocessing/ |
D | semaphore.c | 49 #define SEM_FAILED NULL macro 222 # undef SEM_FAILED 223 # define SEM_FAILED ((sem_t *)-1) macro 486 SEM_HANDLE handle = SEM_FAILED; in _multiprocessing_SemLock_impl() 506 if (handle == SEM_FAILED || SEM_GET_LAST_ERROR() != 0) in _multiprocessing_SemLock_impl() 519 if (handle != SEM_FAILED) in _multiprocessing_SemLock_impl() 558 if (handle == SEM_FAILED) { in _multiprocessing_SemLock__rebuild_impl() 571 if (self->handle != SEM_FAILED) in semlock_dealloc()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 87 if (sem == SEM_FAILED) { in child_fn() 93 if (sem_1 == SEM_FAILED) { in child_fn() 130 if (sem == SEM_FAILED) { in main() 138 if (sem_1 == SEM_FAILED) { in main()
|
/third_party/musl/src/thread/ |
D | sem_open.c | 46 return SEM_FAILED; in sem_open() 52 return SEM_FAILED; in sem_open() 67 return SEM_FAILED; in sem_open() 169 return SEM_FAILED; in sem_open()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | sem_open.c | 46 return SEM_FAILED; in sem_open() 52 return SEM_FAILED; in sem_open() 67 return SEM_FAILED; in sem_open() 163 return SEM_FAILED; in sem_open()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/ |
D | 2-1.c | 37 if (mysemp == SEM_FAILED) { in main() 48 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
|
D | 10-1.c | 37 if (mysemp == SEM_FAILED) { in main() 48 if (mysemp == SEM_FAILED) { in main()
|
D | 15-1.c | 98 if (sems[i] == SEM_FAILED) { in main() 122 if (sems[i] == SEM_FAILED) { in main()
|
D | 6-1.c | 33 if ((mysemp == SEM_FAILED) && (errno == ENOENT)) { in main()
|
D | 1-1.c | 35 if ((mysemp == SEM_FAILED) || (mysemp == NULL)) { in main()
|
D | 5-1.c | 40 if ((mysemp == SEM_FAILED) && (errno == EINVAL)) { in main()
|
D | 4-1.c | 41 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { 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()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 14-1.c | 63 if (sem_linked == SEM_FAILED) { in main() 69 if (sem_unlinked == SEM_FAILED) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/ |
D | 12-1.c | 35 if (mysemp == SEM_FAILED || mysemp == NULL) { in main()
|