Lines Matching refs:lock_function
957 std::function<int (pthread_rwlock_t*)> lock_function; member
968 ASSERT_EQ(0, arg->lock_function(&arg->lock)); in pthread_rwlock_wakeup_helper()
975 …id test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_function) { in test_pthread_rwlock_reader_wakeup_writer() argument
982 wakeup_arg.lock_function = lock_function; in test_pthread_rwlock_reader_wakeup_writer()
1042 …id test_pthread_rwlock_writer_wakeup_reader(std::function<int (pthread_rwlock_t*)> lock_function) { in test_pthread_rwlock_writer_wakeup_reader() argument
1049 wakeup_arg.lock_function = lock_function; in test_pthread_rwlock_writer_wakeup_reader()
1134 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper()
1141 wakeup_arg.timed_lock_function = lock_function; in pthread_rwlock_timedrdlock_timeout_helper()
1202 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedwrlock_timeout_helper()
1209 wakeup_arg.timed_lock_function = lock_function; in pthread_rwlock_timedwrlock_timeout_helper()
2422 int (*lock_function)(pthread_mutex_t* __mutex, in pthread_mutex_timedlock_helper()
2432 ASSERT_EQ(ETIMEDOUT, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2434 ASSERT_EQ(EINVAL, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2436 ASSERT_EQ(EINVAL, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2439 ASSERT_EQ(ETIMEDOUT, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2448 ASSERT_EQ(ETIMEDOUT, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2462 ASSERT_EQ(0, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2503 int (*lock_function)(pthread_mutex_t* __mutex, in pthread_mutex_timedlock_pi_helper()
2514 ASSERT_EQ(0, lock_function(&m.lock, &ts)); in pthread_mutex_timedlock_pi_helper()
2518 int (*lock_function)(pthread_mutex_t* __mutex, const timespec* __timeout); in pthread_mutex_timedlock_pi_helper() member
2524 .lock_function = lock_function, in pthread_mutex_timedlock_pi_helper()
2533 intptr_t result = args->lock_function(&args->m.lock, &ts); in pthread_mutex_timedlock_pi_helper()