Lines Matching refs:pthread_rwlock_t
889 pthread_rwlock_t lock1 = PTHREAD_RWLOCK_INITIALIZER; in TEST()
890 pthread_rwlock_t lock2; in TEST()
896 pthread_rwlock_t l; in TEST()
944 pthread_rwlock_t lock;
954 std::function<int (pthread_rwlock_t*)> trylock_function;
955 std::function<int (pthread_rwlock_t*)> lock_function;
956 std::function<int (pthread_rwlock_t*, const timespec*)> timed_lock_function;
973 static void test_pthread_rwlock_reader_wakeup_writer(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_reader_wakeup_writer()
1004 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1015 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedwrlock_monotonic_np(lock, &ts); }); in TEST()
1026 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1032 test_pthread_rwlock_reader_wakeup_writer([&](pthread_rwlock_t* lock) { in TEST()
1040 static void test_pthread_rwlock_writer_wakeup_reader(std::function<int (pthread_rwlock_t*)> lock_fu… in test_pthread_rwlock_writer_wakeup_reader()
1071 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1082 [&](pthread_rwlock_t* lock) { return pthread_rwlock_timedrdlock_monotonic_np(lock, &ts); }); in TEST()
1093 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1099 test_pthread_rwlock_writer_wakeup_reader([&](pthread_rwlock_t* lock) { in TEST()
1132 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedrdlock_timeout_helper()
1170 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1181 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1191 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST()
1200 clockid_t clock, int (*lock_function)(pthread_rwlock_t* __rwlock, const timespec* __timeout)) { in pthread_rwlock_timedwrlock_timeout_helper()
1238 CLOCK_MONOTONIC, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1249 CLOCK_REALTIME, [](pthread_rwlock_t* __rwlock, const timespec* __timeout) { in TEST()
1259 pthread_rwlock_t lock = PTHREAD_RWLOCK_INITIALIZER; in TEST()
1280 pthread_rwlock_t lock;
2587 pthread_rwlock_t* rwlock = reinterpret_cast<pthread_rwlock_t*>( in TEST()
2588 allocator.allocate(sizeof(pthread_rwlock_t), 4)); in TEST()