/third_party/NuttX/drivers/pipes/ |
D | pipe_common.c | 220 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_open() 316 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_close() 470 while (sem_getvalue(&dev->d_wrsem, &sval) == 0 && sval == 0) in pipecommon_read() 498 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval != 0) in pipecommon_read() 520 while (sem_getvalue(&dev->d_wrsem, &sval) == 0 && sval == 0) in pipecommon_read() 632 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_write() 655 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_write() 682 while (sem_getvalue(&dev->d_wrsem, &sval) == 0 && sval != 0) in pipecommon_write()
|
/third_party/musl/libc-test/src/functional/ |
D | sem_open.c | 33 TEST(sem_getvalue(sem, &val) == 0, "failed to get sem value\n"); in main() 41 TEST(sem_getvalue(sem2, &val) == 0, "%s\n", strerror(errno)); in main() 49 TEST(sem_getvalue(sem2, &val) == 0, "%s\n", strerror(errno)); in main()
|
D | sem_init.c | 38 T(sem_getvalue(s, &r)); in many_waiters() 47 T(sem_getvalue(s+1, &r)); in many_waiters() 62 T(sem_getvalue(&s, &r)); in single_thread()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
D | multi_con_pro.c | 53 if (-1 == sem_getvalue(&buf->full, &full_value)) { in producer() 80 if (-1 == sem_getvalue(&buf->full, &full_value)) { in producer() 134 if (-1 == sem_getvalue(&buf->full, &full_value)) { in consumer() 179 if (-1 == sem_getvalue(&buf->full, &full_value)) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/ |
D | 5-1.c | 43 if (sem_getvalue(mysemp, &val) == -1) { in main() 53 if (sem_getvalue(mysemp, &val) == -1) { in main()
|
D | 4-1.c | 43 if (sem_getvalue(mysemp, &val) != 0) { in main()
|
D | 1-1.c | 44 if (sem_getvalue(mysemp, &val) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 6-1.c | 134 ret = sem_getvalue(sem1, &value); in main() 145 ret = sem_getvalue(sem2, &value); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/ |
D | stress.c | 177 ret = sem_getvalue(named, &value); in main() 190 ret = sem_getvalue(&unnamed, &value); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 187 sem_getvalue(sem_1, &val); in main() 208 sem_getvalue(sem_1, &val); in main()
|
/third_party/musl/src/thread/ |
D | sem_getvalue.c | 3 int sem_getvalue(sem_t *restrict sem, int *restrict valp) in sem_getvalue() function
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 1-1.c | 35 if (sem_getvalue(&mysemp, &val) == -1) { in main()
|
D | 2-2.c | 41 if (sem_getvalue(&mysemp, &val) < 0) { in main()
|
D | 2-1.c | 41 if (sem_getvalue(&mysemp, &val) < 0) { in main()
|
/third_party/musl/libc-test/src/api/ |
D | semaphore.c | 7 {int(*p)(sem_t*restrict,int*restrict) = sem_getvalue;} in f()
|
/third_party/musl/porting/liteos_m/user/include/ |
D | semaphore.h | 23 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | semaphore.h | 23 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/musl/include/ |
D | semaphore.h | 23 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | semaphore.h | 23 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
D | semaphore.h | 22 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | semaphore.h | 23 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | semaphore.h | 25 int sem_getvalue(sem_t *__restrict, int *__restrict);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/ |
D | 1-1.c | 50 if (sem_getvalue(&mysemp, &val) == -1) { in main()
|
D | 2-2.c | 53 if (sem_getvalue(&mysemp, &val) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/ |
D | 1-1.c | 48 if (sem_getvalue(mysemp, &val) == -1) { in main()
|