Lines Matching refs:pthread_rwlock_t

861   pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER;  in TEST()
862 pthread_rwlock_t lock2; in TEST()
868 pthread_rwlock_t l; in TEST()
916 pthread_rwlock_t lock;
926 std::function<int (pthread_rwlock_t*)> trylock_function;
927 std::function<int (pthread_rwlock_t*)> lock_function;
928 std::function<int (pthread_rwlock_t*, const timespec*)> timed_lock_function;
945 static void test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_reader_wakeup_writer()
976 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
987 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST()
998 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1004 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1012 static void test_pthread_rwlock_writer_wakeup_reader(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_writer_wakeup_reader()
1043 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1054 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedrdlock_monotonic_np(lock, &ts); }); in TEST()
1065 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1071 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1104 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper()
1142 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1153 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1163 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST()
1172 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedwrlock_timeout_helper()
1210 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1221 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1231 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST()
1250 pthread_rwlock_t lock;
2544 pthread_rwlock_t* rwlock = reinterpret_cast<pthread_rwlock_t*>( in TEST()
2545 allocator.allocate(sizeof(pthread_rwlock_t), 4)); in TEST()