Lines Matching refs:ts
28 struct timespec ts = { 0, 1000000001 }; /* Invalid. */ in do_test_wait() local
30 TEST_VERIFY_EXIT (waitfn (&u.s, &ts) < 0); in do_test_wait()
40 ts.tv_sec = /* Invalid. */ -2; in do_test_wait()
41 ts.tv_nsec = 0; in do_test_wait()
43 TEST_VERIFY_EXIT (waitfn (&u.s, &ts) < 0); in do_test_wait()
53 int test_sem_timedwait (sem_t *sem, struct timespec *ts) in test_sem_timedwait() argument
55 return sem_timedwait (sem, ts); in test_sem_timedwait()
58 int test_sem_clockwait_monotonic (sem_t *sem, struct timespec *ts) in test_sem_clockwait_monotonic() argument
60 return sem_clockwait (sem, CLOCK_MONOTONIC, ts); in test_sem_clockwait_monotonic()
63 int test_sem_clockwait_realtime (sem_t *sem, struct timespec *ts) in test_sem_clockwait_realtime() argument
65 return sem_clockwait (sem, CLOCK_REALTIME, ts); in test_sem_clockwait_realtime()