Searched refs:wait_function (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | semaphore_test.cpp | 111 int (*wait_function)(sem_t* __sem, const timespec* __ts)) { in sem_timedwait_helper() 120 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper() 126 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper() 130 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper() 136 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper()
|
D | pthread_test.cpp | 1562 std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function; member in pthread_CondWakeupTest 1578 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function) { in StartWaitingThread() argument 1580 this->wait_function = wait_function; in StartWaitingThread() 1592 wait_function) { in RunTimedTest() 1596 StartWaitingThread([&wait_function, this](pthread_cond_t* cond, pthread_mutex_t* mutex) { in RunTimedTest() 1597 return wait_function(cond, mutex, &ts); in RunTimedTest() 1606 wait_function) { in RunTimedTest() argument 1607 RunTimedTest(clock, [clock, &wait_function](pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest() 1609 return wait_function(cond, mutex, clock, timeout); in RunTimedTest() 1625 ASSERT_EQ(0, test->wait_function(&test->cond, &test->mutex)); in WaitThreadFn() [all …]
|