Lines Matching refs:wait_function
1482 std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function; member in pthread_CondWakeupTest
1498 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function) { in StartWaitingThread() argument
1500 this->wait_function = wait_function; in StartWaitingThread()
1512 wait_function) { in RunTimedTest()
1517 StartWaitingThread([&wait_function, &ts](pthread_cond_t* cond, pthread_mutex_t* mutex) { in RunTimedTest()
1518 return wait_function(cond, mutex, &ts); in RunTimedTest()
1527 wait_function) { in RunTimedTest() argument
1528 RunTimedTest(clock, [clock, &wait_function](pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest()
1530 return wait_function(cond, mutex, clock, timeout); in RunTimedTest()
1546 ASSERT_EQ(0, test->wait_function(&test->cond, &test->mutex)); in WaitThreadFn()
1628 int (*wait_function)(pthread_cond_t* __cond, in pthread_cond_timedwait_timeout_helper()
1652 ASSERT_EQ(ETIMEDOUT, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper()
1654 ASSERT_EQ(EINVAL, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper()
1656 ASSERT_EQ(EINVAL, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper()
1659 ASSERT_EQ(ETIMEDOUT, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper()