Lines Matching refs:CLOCK_MONOTONIC
984 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
996 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
999 return pthread_rwlock_clockwrlock(lock, CLOCK_MONOTONIC, &ts); in TEST()
1051 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1063 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1066 return pthread_rwlock_clockrdlock(lock, CLOCK_MONOTONIC, &ts); in TEST()
1132 pthread_rwlock_timedrdlock_timeout_helper(CLOCK_MONOTONIC, in TEST()
1142 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1143 return pthread_rwlock_clockrdlock(__rwlock, CLOCK_MONOTONIC, __timeout); in TEST()
1200 pthread_rwlock_timedwrlock_timeout_helper(CLOCK_MONOTONIC, in TEST()
1210 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1211 return pthread_rwlock_clockwrlock(__rwlock, CLOCK_MONOTONIC, __timeout); in TEST()
1436 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in TEST()
1438 ASSERT_EQ(CLOCK_MONOTONIC, clock); in TEST()
1448 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in TEST()
1460 ASSERT_EQ(CLOCK_MONOTONIC, clock); in TEST()
1578 InitCond(CLOCK_MONOTONIC); in TEST_F()
1579 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_timedwait); in TEST_F()
1585 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_timedwait_monotonic_np); in TEST_F()
1593 InitCond(CLOCK_MONOTONIC); in TEST_F()
1594 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_clockwait); in TEST_F()
1602 InitCond(CLOCK_MONOTONIC); in TEST_F()
1612 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_clockwait); in TEST_F()
1639 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in pthread_cond_timedwait_timeout_helper()
1642 ASSERT_EQ(CLOCK_MONOTONIC, clock); in pthread_cond_timedwait_timeout_helper()
1669 …pthread_cond_timedwait_timeout_helper(false, CLOCK_MONOTONIC, pthread_cond_timedwait_monotonic_np); in TEST()
1670 pthread_cond_timedwait_timeout_helper(true, CLOCK_MONOTONIC, pthread_cond_timedwait_monotonic_np); in TEST()
1679 false, CLOCK_MONOTONIC, in TEST()
1681 return pthread_cond_clockwait(__cond, __mutex, CLOCK_MONOTONIC, __timeout); in TEST()
1684 true, CLOCK_MONOTONIC, in TEST()
1686 return pthread_cond_clockwait(__cond, __mutex, CLOCK_MONOTONIC, __timeout); in TEST()
2374 pthread_mutex_timedlock_helper(CLOCK_MONOTONIC, pthread_mutex_timedlock_monotonic_np); in TEST()
2383 CLOCK_MONOTONIC, [](pthread_mutex_t* __mutex, const timespec* __timeout) { in TEST()
2384 return pthread_mutex_clocklock(__mutex, CLOCK_MONOTONIC, __timeout); in TEST()
2440 pthread_mutex_timedlock_pi_helper(CLOCK_MONOTONIC, pthread_mutex_timedlock_monotonic_np); in TEST()
2449 CLOCK_MONOTONIC, [](pthread_mutex_t* __mutex, const timespec* __timeout) { in TEST()
2450 return pthread_mutex_clocklock(__mutex, CLOCK_MONOTONIC, __timeout); in TEST()
2487 ASSERT_EXIT(pthread_mutex_clocklock(&m, CLOCK_MONOTONIC, &ts), ::testing::KilledBySignal(SIGABRT), in TEST()