Lines Matching refs:pthread_rwlock_t
864 pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER; in TEST()
865 pthread_rwlock_t lock2; in TEST()
871 pthread_rwlock_t l; in TEST()
919 pthread_rwlock_t lock;
929 std::function<int (pthread_rwlock_t*)> trylock_function;
930 std::function<int (pthread_rwlock_t*)> lock_function;
931 std::function<int (pthread_rwlock_t*, const timespec*)> timed_lock_function;
948 static void test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_reader_wakeup_writer()
979 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
990 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST()
1001 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1007 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1015 static void test_pthread_rwlock_writer_wakeup_reader(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_writer_wakeup_reader()
1046 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1057 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedrdlock_monotonic_np(lock, &ts); }); in TEST()
1068 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1074 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1107 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper()
1145 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1156 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1166 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST()
1175 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedwrlock_timeout_helper()
1213 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1224 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1234 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST()
1255 pthread_rwlock_t lock;
2562 pthread_rwlock_t* rwlock = reinterpret_cast<pthread_rwlock_t*>( in TEST()
2563 allocator.allocate(sizeof(pthread_rwlock_t), 4)); in TEST()