/external/llvm/lib/Support/ |
D | RWMutex.cpp | 50 pthread_rwlock_t* rwlock = in RWMutexImpl() 51 static_cast<pthread_rwlock_t*>(malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl() 55 bzero(rwlock, sizeof(pthread_rwlock_t)); in RWMutexImpl() 70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() 79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() 89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() 99 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() 109 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | RWMutex.cpp | 52 pthread_rwlock_t* rwlock = in RWMutexImpl() 53 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl() 57 bzero(rwlock, sizeof(pthread_rwlock_t)); in RWMutexImpl() 72 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() 81 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() 91 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() 101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() 111 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | RWMutex.cpp | 66 pthread_rwlock_t* rwlock = in RWMutexImpl() 67 static_cast<pthread_rwlock_t*>(malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl() 71 bzero(rwlock, sizeof(pthread_rwlock_t)); in RWMutexImpl() 89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() 101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() 114 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() 127 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() 140 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release()
|
/external/boringssl/src/crypto/ |
D | thread_pthread.c | 27 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t), 31 if (pthread_rwlock_init((pthread_rwlock_t *) lock, NULL) != 0) { in CRYPTO_MUTEX_init() 37 if (pthread_rwlock_rdlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_lock_read() 43 if (pthread_rwlock_wrlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_lock_write() 49 if (pthread_rwlock_unlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_unlock_read() 55 if (pthread_rwlock_unlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_unlock_write() 61 pthread_rwlock_destroy((pthread_rwlock_t *) lock); in CRYPTO_MUTEX_cleanup()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util_posix.cc | 73 pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr); 74 extern "C" int __interceptor_pthread_rwlock_destroy(pthread_rwlock_t *rwlock); 75 extern "C" int __interceptor_pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock); 76 extern "C" int __interceptor_pthread_rwlock_wrlock(pthread_rwlock_t *rwlock); 77 extern "C" int __interceptor_pthread_rwlock_unlock(pthread_rwlock_t *rwlock); 78 extern "C" int __interceptor_pthread_rwlock_rdlock(pthread_rwlock_t *rwlock); 79 extern "C" int __interceptor_pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock); 156 CHECK_EQ(__interceptor_pthread_rwlock_init((pthread_rwlock_t*)mtx_, 0), 0); in Init() 179 CHECK_EQ(__interceptor_pthread_rwlock_destroy((pthread_rwlock_t*)mtx_), 0); in Destroy() 191 CHECK_EQ(__interceptor_pthread_rwlock_wrlock((pthread_rwlock_t*)mtx_), 0); in Lock() [all …]
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 100 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() 106 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() 114 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) { in INTERCEPTOR() 122 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m, in INTERCEPTOR() 131 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) { in INTERCEPTOR() 139 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) { in INTERCEPTOR() 147 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m, in INTERCEPTOR() 156 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) { in INTERCEPTOR()
|
/external/libnl/include/netlink-private/ |
D | netlink.h | 232 #define NL_RW_LOCK(NAME) pthread_rwlock_t (NAME) = PTHREAD_RWLOCK_INITIALIZER 244 static inline void nl_read_lock(pthread_rwlock_t *lock) in nl_read_lock() 249 static inline void nl_read_unlock(pthread_rwlock_t *lock) in nl_read_unlock() 254 static inline void nl_write_lock(pthread_rwlock_t *lock) in nl_write_lock() 259 static inline void nl_write_unlock(pthread_rwlock_t *lock) in nl_write_unlock()
|
/external/honggfuzz/libhfcommon/ |
D | util.h | 117 extern void util_mutexRWLockRead(pthread_rwlock_t* mutex, const char* func, int line); 118 extern void util_mutexRWLockWrite(pthread_rwlock_t* mutex, const char* func, int line); 119 extern void util_mutexRWUnlock(pthread_rwlock_t* mutex, const char* func, int line);
|
D | util.c | 262 void util_mutexRWLockRead(pthread_rwlock_t* mutex, const char* func, int line) { in util_mutexRWLockRead() 268 void util_mutexRWLockWrite(pthread_rwlock_t* mutex, const char* func, int line) { in util_mutexRWLockWrite() 274 void util_mutexRWUnlock(pthread_rwlock_t* mutex, const char* func, int line) { in util_mutexRWUnlock()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 5-1.c | 52 pthread_rwlock_t rwlock; in fn_wr_1() 97 pthread_rwlock_t rwlock; in fn_wr_2()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 5-1.c | 45 pthread_rwlock_t rwlock; in fn_rd_1() 90 pthread_rwlock_t rwlock; in fn_rd_2()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | 2008-03-24-CoalescerBug.ll | 6 …t.NSMutableArray*, i8, %struct.pthread_mutex_t, %struct.NSMutableArray*, %struct.pthread_rwlock_t } 14 %struct.pthread_rwlock_t = type { i32, [124 x i8] }
|
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/ |
D | 2008-03-24-CoalescerBug.ll | 6 …t.NSMutableArray*, i8, %struct.pthread_mutex_t, %struct.NSMutableArray*, %struct.pthread_rwlock_t } 14 %struct.pthread_rwlock_t = type { i32, [124 x i8] }
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | 2008-03-24-CoalescerBug.ll | 6 …t.NSMutableArray*, i8, %struct.pthread_mutex_t, %struct.NSMutableArray*, %struct.pthread_rwlock_t } 14 %struct.pthread_rwlock_t = type { i32, [124 x i8] }
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
D | 3-10-buildonly.c | 13 pthread_rwlock_t dummy;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
D | 4-1.c | 31 static pthread_rwlock_t rwlock; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/ |
D | 1-1.c | 25 pthread_rwlock_t rwlock; in main()
|
D | 3-1.c | 25 pthread_rwlock_t rwlock; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/ |
D | 3-1.c | 26 static pthread_rwlock_t rwlock; in main()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | rw_lock_posix.h | 36 pthread_rwlock_t lock_;
|
/external/compiler-rt/test/tsan/ |
D | bench_rwmutex.cc | 9 pthread_rwlock_t mtx;
|
D | write_in_reader_lock.cc | 4 pthread_rwlock_t rwlock;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/ |
D | 6-1.c | 29 static pthread_rwlock_t rwlock; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
D | 5-1.c | 29 static pthread_rwlock_t rwlock; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
D | 3-1.c | 29 static pthread_rwlock_t rwlock; in main()
|