• Home
  • Raw
  • Download

Lines Matching refs:lock_function

927   std::function<int (pthread_rwlock_t*)> lock_function;  member
938 ASSERT_EQ(0, arg->lock_function(&arg->lock)); in pthread_rwlock_wakeup_helper()
945 …id test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_function) { in test_pthread_rwlock_reader_wakeup_writer() argument
952 wakeup_arg.lock_function = lock_function; in test_pthread_rwlock_reader_wakeup_writer()
993 …id test_pthread_rwlock_writer_wakeup_reader(std::function<int (pthread_rwlock_t*)> lock_function) { in test_pthread_rwlock_writer_wakeup_reader() argument
1000 wakeup_arg.lock_function = lock_function; in test_pthread_rwlock_writer_wakeup_reader()
1066 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper()
1073 wakeup_arg.timed_lock_function = lock_function; in pthread_rwlock_timedrdlock_timeout_helper()
1102 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedwrlock_timeout_helper()
1109 wakeup_arg.timed_lock_function = lock_function; in pthread_rwlock_timedwrlock_timeout_helper()
2141 int (*lock_function)(pthread_mutex_t* __mutex, in pthread_mutex_timedlock_helper()
2151 ASSERT_EQ(ETIMEDOUT, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2153 ASSERT_EQ(EINVAL, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2155 ASSERT_EQ(EINVAL, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2158 ASSERT_EQ(ETIMEDOUT, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2165 ASSERT_EQ(0, lock_function(&m, &ts)); in pthread_mutex_timedlock_helper()
2184 int (*lock_function)(pthread_mutex_t* __mutex, in pthread_mutex_timedlock_pi_helper()
2191 ASSERT_EQ(0, lock_function(&m.lock, &ts)); in pthread_mutex_timedlock_pi_helper()
2195 int (*lock_function)(pthread_mutex_t* __mutex, const timespec* __timeout); in pthread_mutex_timedlock_pi_helper() member
2201 .lock_function = lock_function, in pthread_mutex_timedlock_pi_helper()
2210 intptr_t result = args->lock_function(&args->m.lock, &ts); in pthread_mutex_timedlock_pi_helper()