Searched refs:sem2 (Results 1 – 4 of 4) sorted by relevance
/third_party/musl/libc-test/src/regression/ |
D | pthread_cancel-sem_wait.c | 13 static sem_t sem1, sem2; variable 28 sem_wait(&sem2); in start_sem_wait() 36 sem_timedwait(&sem2, &(struct timespec){1, 0}); in start_sem_timedwait() 44 __sem_timedwait_time64(&sem2, &(struct timespec){1, 0}); in start_sem_timedwait_time64() 56 TESTR(r, sem_init(&sem2, 0, 1), "creating semaphore"); in main() 69 sem_trywait(&sem2); in main() 79 sem_post(&sem2); in main() 89 sem_trywait(&sem2); in main() 99 sem_trywait(&sem2); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 6-1.c | 88 sem_t *sem1, *sem2; in main() local 113 sem2 = sem_open(SEM_NAME, 0); in main() 115 if (sem2 != SEM_FAILED) { in main() 126 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3); in main() 128 if (sem2 == SEM_FAILED) { in main() 145 ret = sem_getvalue(sem2, &value); in main() 170 ret = sem_close(sem2); in main()
|
/third_party/musl/libc-test/src/functional/ |
D | sem_open.c | 19 sem_t *sem, *sem2; in main() local 36 TEST((sem2=sem_open(buf, 0)) == sem, in main() 37 "could not reopen sem: got %p, want %p\n", sem2, sem); 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()
|
/third_party/glslang/Test/ |
D | hlsl.array.frag | 13 float4 PixelShaderFunction(int i : sem1, float4 input[3] : sem2) : SV_TARGET0
|