Home
last modified time | relevance | path

Searched refs:pthread_rwlock_t (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/lib/Support/
DRWMutex.cpp50 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/
Dhg_intercepts.c2006 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/
Dthread_pthread.c28 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/
Dtsan_test_util_posix.cc73 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/
Drwlock_type_checking.c20 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()
Drwlock_race.c17 static pthread_rwlock_t s_rwlock;
Dhold_lock.c30 pthread_rwlock_t rwlock; in main()
Drwlock_test.c23 static pthread_rwlock_t s_rwlock;
/external/valgrind/drd/
Ddrd_pthread_intercepts.c1502 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/
Ddd_interceptors.cc103 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/
Dtc20_verifywrap.c52 pthread_rwlock_t rwl; in main()
53 pthread_rwlock_t rwl2; in main()
54 pthread_rwlock_t rwl3; in main()
Dtc12_rwl_trivial.c16 pthread_rwlock_t rwl; in main()
Dsafe-pthread.h38 static int safe_pthread_rwlock_unlock( pthread_rwlock_t *rwlock ) { in safe_pthread_rwlock_unlock()
/external/bison/m4/
Dlock.m413 # 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/
D2008-03-24-CoalescerBug.ll6 …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/
Dpth-supp.c6 pthread_rwlock_t mutex; in main()
/external/compiler-rt/test/tsan/
Dbench_rwmutex.cc9 pthread_rwlock_t mtx;
Dwrite_in_reader_lock.cc4 pthread_rwlock_t rwlock;
Dmutexset6.cc7 pthread_rwlock_t mtx3;
/external/webrtc/webrtc/system_wrappers/source/
Drw_lock_posix.h36 pthread_rwlock_t lock_;
/external/valgrind/none/tests/
Dpth_rwlock.c12 pthread_rwlock_t locks[LOCKS]; in main()
/external/fio/
Dmutex.h18 pthread_rwlock_t lock;
/external/lldb/include/lldb/Host/
DProcessRunLock.h156 pthread_rwlock_t m_rwlock;
/external/bison/lib/glthread/
Dlock.h183 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/
Dthread.h80 typedef pthread_rwlock_t CRYPTO_MUTEX;

12