Lines Matching refs:CLOCK_MONOTONIC
1012 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1024 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1027 return pthread_rwlock_clockwrlock(lock, CLOCK_MONOTONIC, &ts); in TEST()
1079 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1091 ASSERT_EQ(0, clock_gettime(CLOCK_MONOTONIC, &ts)); in TEST()
1094 return pthread_rwlock_clockrdlock(lock, CLOCK_MONOTONIC, &ts); in TEST()
1160 pthread_rwlock_timedrdlock_timeout_helper(CLOCK_MONOTONIC, in TEST()
1170 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1171 return pthread_rwlock_clockrdlock(__rwlock, CLOCK_MONOTONIC, __timeout); in TEST()
1228 pthread_rwlock_timedwrlock_timeout_helper(CLOCK_MONOTONIC, in TEST()
1238 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1239 return pthread_rwlock_clockwrlock(__rwlock, CLOCK_MONOTONIC, __timeout); in TEST()
1475 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in TEST()
1477 ASSERT_EQ(CLOCK_MONOTONIC, clock); in TEST()
1487 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in TEST()
1499 ASSERT_EQ(CLOCK_MONOTONIC, clock); in TEST()
1617 InitCond(CLOCK_MONOTONIC); in TEST_F()
1618 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_timedwait); in TEST_F()
1624 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_timedwait_monotonic_np); in TEST_F()
1632 InitCond(CLOCK_MONOTONIC); in TEST_F()
1633 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_clockwait); in TEST_F()
1641 InitCond(CLOCK_MONOTONIC); in TEST_F()
1651 RunTimedTest(CLOCK_MONOTONIC, pthread_cond_clockwait); in TEST_F()
1678 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_MONOTONIC)); in pthread_cond_timedwait_timeout_helper()
1681 ASSERT_EQ(CLOCK_MONOTONIC, clock); in pthread_cond_timedwait_timeout_helper()
1708 …pthread_cond_timedwait_timeout_helper(false, CLOCK_MONOTONIC, pthread_cond_timedwait_monotonic_np); in TEST()
1709 pthread_cond_timedwait_timeout_helper(true, CLOCK_MONOTONIC, pthread_cond_timedwait_monotonic_np); in TEST()
1718 false, CLOCK_MONOTONIC, in TEST()
1720 return pthread_cond_clockwait(__cond, __mutex, CLOCK_MONOTONIC, __timeout); in TEST()
1723 true, CLOCK_MONOTONIC, in TEST()
1725 return pthread_cond_clockwait(__cond, __mutex, CLOCK_MONOTONIC, __timeout); in TEST()
2417 pthread_mutex_timedlock_helper(CLOCK_MONOTONIC, pthread_mutex_timedlock_monotonic_np); in TEST()
2426 CLOCK_MONOTONIC, [](pthread_mutex_t* __mutex, const timespec* __timeout) { in TEST()
2427 return pthread_mutex_clocklock(__mutex, CLOCK_MONOTONIC, __timeout); in TEST()
2483 pthread_mutex_timedlock_pi_helper(CLOCK_MONOTONIC, pthread_mutex_timedlock_monotonic_np); in TEST()
2492 CLOCK_MONOTONIC, [](pthread_mutex_t* __mutex, const timespec* __timeout) { in TEST()
2493 return pthread_mutex_clocklock(__mutex, CLOCK_MONOTONIC, __timeout); in TEST()
2530 ASSERT_EXIT(pthread_mutex_clocklock(&m, CLOCK_MONOTONIC, &ts), ::testing::KilledBySignal(SIGABRT), in TEST_F()