/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/valgrind/helgrind/ |
D | hg_intercepts.c | 2006 static int pthread_rwlock_init_WRK(pthread_rwlock_t *rwl, in pthread_rwlock_init_WRK() 2020 pthread_rwlock_t*,rwl); in pthread_rwlock_init_WRK() 2032 pthread_rwlock_t *rwl, in PTH_FUNC() 2038 pthread_rwlock_t *rwl, in PTH_FUNC() 2043 static int pthread_rwlock_init_WRK(pthread_rwlock_t *rwl, 2087 static int pthread_rwlock_destroy_WRK(pthread_rwlock_t* rwl) in pthread_rwlock_destroy_WRK() 2097 pthread_rwlock_t*,rwl); in pthread_rwlock_destroy_WRK() 2112 pthread_rwlock_t *rwl) { in PTH_FUNC() 2117 pthread_rwlock_t *rwl) { in PTH_FUNC() 2122 pthread_rwlock_t *rwl) { in PTH_FUNC() [all …]
|
/external/boringssl/src/crypto/ |
D | thread_pthread.c | 28 OPENSSL_COMPILE_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t), 32 if (pthread_rwlock_init((pthread_rwlock_t *) lock, NULL) != 0) { in CRYPTO_MUTEX_init() 38 if (pthread_rwlock_rdlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_lock_read() 44 if (pthread_rwlock_wrlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_lock_write() 50 if (pthread_rwlock_unlock((pthread_rwlock_t *) lock) != 0) { in CRYPTO_MUTEX_unlock() 56 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/valgrind/drd/tests/ |
D | rwlock_type_checking.c | 20 pthread_rwlock_t posix_rwlock; in main() 21 pthread_rwlock_t user_defined_rwlock; in main() 27 pthread_rwlock_init((pthread_rwlock_t*)&user_defined_rwlock, 0); in main()
|
D | rwlock_race.c | 17 static pthread_rwlock_t s_rwlock;
|
D | hold_lock.c | 30 pthread_rwlock_t rwlock; in main()
|
D | rwlock_test.c | 23 static pthread_rwlock_t s_rwlock;
|
/external/valgrind/drd/ |
D | drd_pthread_intercepts.c | 1502 int pthread_rwlock_init_intercept(pthread_rwlock_t* rwlock, in pthread_rwlock_init_intercept() 1518 (pthread_rwlock_t* rwlock, const pthread_rwlockattr_t* attr), 1542 int pthread_rwlock_destroy_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_destroy_intercept() 1559 (pthread_rwlock_t *rwlock), (rwlock)); 1563 (pthread_rwlock_t* rwlock), (rwlock)); 1567 int pthread_rwlock_rdlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_rdlock_intercept() 1584 (pthread_rwlock_t *rwlock), (rwlock)); 1588 (pthread_rwlock_t* rwlock), (rwlock)); 1610 int pthread_rwlock_wrlock_intercept(pthread_rwlock_t* rwlock) in pthread_rwlock_wrlock_intercept() 1627 (pthread_rwlock_t *rwlock), (rwlock)); [all …]
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 103 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { in INTERCEPTOR() 109 INTERCEPTOR(int, pthread_rwlock_rdlock, pthread_rwlock_t *m) { in INTERCEPTOR() 117 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) { in INTERCEPTOR() 125 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m, in INTERCEPTOR() 134 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) { in INTERCEPTOR() 142 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) { in INTERCEPTOR() 150 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m, in INTERCEPTOR() 159 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) { in INTERCEPTOR()
|
/external/valgrind/helgrind/tests/ |
D | tc20_verifywrap.c | 52 pthread_rwlock_t rwl; in main() 53 pthread_rwlock_t rwl2; in main() 54 pthread_rwlock_t rwl3; in main()
|
D | tc12_rwl_trivial.c | 16 pthread_rwlock_t rwl; in main()
|
D | safe-pthread.h | 38 static int safe_pthread_rwlock_unlock( pthread_rwlock_t *rwlock ) { in safe_pthread_rwlock_unlock()
|
/external/bison/m4/ |
D | lock.m4 | 13 # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the 15 AC_CHECK_TYPE([pthread_rwlock_t],
|
/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/valgrind/memcheck/tests/darwin/ |
D | pth-supp.c | 6 pthread_rwlock_t mutex; in main()
|
/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;
|
D | mutexset6.cc | 7 pthread_rwlock_t mtx3;
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | rw_lock_posix.h | 36 pthread_rwlock_t lock_;
|
/external/valgrind/none/tests/ |
D | pth_rwlock.c | 12 pthread_rwlock_t locks[LOCKS]; in main()
|
/external/fio/ |
D | mutex.h | 18 pthread_rwlock_t lock;
|
/external/lldb/include/lldb/Host/ |
D | ProcessRunLock.h | 156 pthread_rwlock_t m_rwlock;
|
/external/bison/lib/glthread/ |
D | lock.h | 183 typedef pthread_rwlock_t gl_rwlock_t; 185 STORAGECLASS pthread_rwlock_t NAME; 187 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer; 207 pthread_rwlock_t rwlock; /* read-write lock */
|
/external/boringssl/src/include/openssl/ |
D | thread.h | 80 typedef pthread_rwlock_t CRYPTO_MUTEX;
|