Lines Matching refs:t
35 struct timespec t = { -2, 0 }; in th() local
37 TEST_COMPARE (pthread_mutex_timedlock (&m1, &t), ETIMEDOUT); in th()
38 TEST_COMPARE (pthread_mutex_clocklock (&m1, CLOCK_REALTIME, &t), ETIMEDOUT); in th()
39 TEST_COMPARE (pthread_mutex_clocklock (&m1, CLOCK_MONOTONIC, &t), ETIMEDOUT); in th()
40 TEST_COMPARE (pthread_rwlock_timedrdlock (&rw1, &t), ETIMEDOUT); in th()
41 TEST_COMPARE (pthread_rwlock_timedwrlock (&rw2, &t), ETIMEDOUT); in th()
42 TEST_COMPARE (pthread_rwlock_clockrdlock (&rw1, CLOCK_REALTIME, &t), in th()
44 TEST_COMPARE (pthread_rwlock_clockwrlock (&rw2, CLOCK_REALTIME, &t), in th()
46 TEST_COMPARE (pthread_rwlock_clockrdlock (&rw1, CLOCK_MONOTONIC, &t), in th()
48 TEST_COMPARE (pthread_rwlock_clockwrlock (&rw2, CLOCK_MONOTONIC, &t), in th()
56 struct timespec t = { -2, 0 }; in do_test() local
59 TEST_COMPARE (sem_timedwait (&sem, &t), -1); in do_test()
67 TEST_COMPARE (pthread_cond_timedwait (&c, &m2, &t), ETIMEDOUT); in do_test()