HomeSort by relevance Sort by last modified time
    Searched refs:SEM_FAILED (Results 26 - 50 of 72) sorted by null

12 3

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
15-1.c 100 if (sems[i] == SEM_FAILED) {
124 if (sems[i] == SEM_FAILED) {
3-1.c 81 if (mysemp != SEM_FAILED) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
5-1.c 127 if (sem != SEM_FAILED) {
180 if (sem != SEM_FAILED) {
7-1.c 111 if ((sem == SEM_FAILED) && (errno == EEXIST)) {
116 if (sem == SEM_FAILED) {
9-1.c 118 if ((sem == SEM_FAILED) && (errno == EEXIST)) {
123 if (sem == SEM_FAILED) {
2-2.c 96 if (sem == SEM_FAILED) {
142 if ((sem == SEM_FAILED) && (errno == EEXIST)) {
147 if (sem == SEM_FAILED) {
  /bionic/libc/include/
semaphore.h 45 #define SEM_FAILED __BIONIC_CAST(reinterpret_cast, sem_t*, 0)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/
1-1.c 39 if (mysemp == SEM_FAILED || mysemp == NULL) {
2-1.c 37 if (mysemp == SEM_FAILED || mysemp == NULL) {
5-1.c 38 if (mysemp == SEM_FAILED || mysemp == NULL) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
1-1.c 36 if (mysemp == SEM_FAILED || mysemp == NULL) {
1-2.c 36 if (mysemp == SEM_FAILED || mysemp == NULL) {
5-1.c 51 if (gsemp == SEM_FAILED || gsemp == NULL) {
8-1.c 87 if (sem == SEM_FAILED) {
93 if (sem_1 == SEM_FAILED) {
129 if (sem == SEM_FAILED) {
137 if (sem_1 == SEM_FAILED) {
6-1.c 67 if (gsemp == SEM_FAILED || gsemp == NULL) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
1-1.c 36 if (mysemp == SEM_FAILED || mysemp == NULL) {
1-2.c 38 if (mysemp == SEM_FAILED || mysemp == NULL) {
11-1.c 36 if (mysemp == SEM_FAILED || mysemp == NULL) {
3-1.c 36 if (mysemp == SEM_FAILED || mysemp == NULL) {
7-1.c 44 if (mysemp == SEM_FAILED || mysemp == NULL) {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
semaphore.h 52 #define SEM_FAILED NULL
68 /* yes, it returns a semaphore (or SEM_FAILED) */
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
14-1.c 65 if (sem_linked == SEM_FAILED) {
71 if (sem_unlinked == SEM_FAILED) {
21-1.c 83 if (sem == SEM_FAILED)
  /external/python/cpython2/Modules/_multiprocessing/
semaphore.c 31 #define SEM_FAILED NULL
200 /* OS X 10.4 defines SEM_FAILED as -1 instead of (sem_t *)-1; this gives
203 # undef SEM_FAILED
204 # define SEM_FAILED ((sem_t *)-1)
428 SEM_HANDLE handle = SEM_FAILED;
453 } while ((handle == SEM_FAILED) && (errno == EEXIST) && (++try < 100));
456 if (handle == SEM_FAILED || SEM_GET_LAST_ERROR() != 0)
469 if (handle != SEM_FAILED)
491 if (self->handle != SEM_FAILED)
  /external/python/cpython3/Modules/_multiprocessing/
semaphore.c 33 #define SEM_FAILED NULL
193 /* OS X 10.4 defines SEM_FAILED as -1 instead of (sem_t *)-1; this gives
196 # undef SEM_FAILED
197 # define SEM_FAILED ((sem_t *)-1)
424 SEM_HANDLE handle = SEM_FAILED;
450 if (handle == SEM_FAILED || SEM_GET_LAST_ERROR() != 0)
463 if (handle != SEM_FAILED)
491 if (handle == SEM_FAILED) {
504 if (self->handle != SEM_FAILED)

Completed in 958 milliseconds

12 3