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 | 1380 std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function; member in pthread_CondWakeupTest 1395 …artWaitingThread(std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function) { in StartWaitingThread() argument 1397 this->wait_function = wait_function; in StartWaitingThread() 1417 ASSERT_EQ(0, test->wait_function(&test->cond, &test->mutex)); in WaitThreadFn() 1484 int (*wait_function)(pthread_cond_t* __cond, in pthread_cond_timedwait_timeout_helper() 1495 ASSERT_EQ(ETIMEDOUT, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper() 1497 ASSERT_EQ(EINVAL, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper() 1499 ASSERT_EQ(EINVAL, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper() 1502 ASSERT_EQ(ETIMEDOUT, wait_function(&cond, &mutex, &ts)); in pthread_cond_timedwait_timeout_helper()
|