Searched refs:wait_function (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | semaphore_test.cpp | 105 int (*wait_function)(sem_t* __sem, const timespec* __ts)) { in sem_timedwait_helper() 114 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper() 120 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper() 124 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper() 130 ASSERT_EQ(-1, wait_function(&s, &ts)); in sem_timedwait_helper()
|
D | pthread_test.cpp | 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() [all …]
|