/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
3-10-buildonly.c | 8 Test pthread_rwlock_t 13 pthread_rwlock_t dummy;
|
/external/valgrind/memcheck/tests/darwin/ |
pth-supp.c | 6 pthread_rwlock_t mutex;
|
/external/valgrind/drd/tests/ |
rwlock_type_checking.c | 20 pthread_rwlock_t posix_rwlock; 21 pthread_rwlock_t user_defined_rwlock; 27 pthread_rwlock_init((pthread_rwlock_t*)&user_defined_rwlock, 0);
|
rwlock_race.c | 17 static pthread_rwlock_t s_rwlock;
|
/external/llvm/lib/Support/ |
RWMutex.cpp | 50 pthread_rwlock_t* rwlock = 51 static_cast<pthread_rwlock_t*>(malloc(sizeof(pthread_rwlock_t))); 55 bzero(rwlock, sizeof(pthread_rwlock_t)); 70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); 79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); 89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_) [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
RWMutex.cpp | 66 pthread_rwlock_t* rwlock = 67 static_cast<pthread_rwlock_t*>(malloc(sizeof(pthread_rwlock_t))); 71 bzero(rwlock, sizeof(pthread_rwlock_t)); 89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); 101 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); 114 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_) [all...] |
/bionic/libc/upstream-netbsd/android/include/ |
reentrant.h | 35 #define rwlock_t pthread_rwlock_t
|
/external/compiler-rt/test/tsan/ |
bench_rwmutex.cc | 9 pthread_rwlock_t mtx;
|
write_in_reader_lock.cc | 4 pthread_rwlock_t rwlock;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/ |
1-1.c | 26 pthread_rwlock_t rwlock;
|
3-1.c | 26 pthread_rwlock_t rwlock;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
4-1.c | 7 * Test that pthread_rwlock_unlock(pthread_rwlock_t *rwlock) 32 static pthread_rwlock_t rwlock;
|
/external/webrtc/webrtc/system_wrappers/source/ |
rw_lock_posix.h | 36 pthread_rwlock_t lock_;
|
/external/boringssl/src/crypto/ |
thread_pthread.c | 27 OPENSSL_COMPILE_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t), 31 if (pthread_rwlock_init((pthread_rwlock_t *) lock, NULL) != 0) { 37 if (pthread_rwlock_rdlock((pthread_rwlock_t *) lock) != 0) { 43 if (pthread_rwlock_wrlock((pthread_rwlock_t *) lock) != 0) { 49 if (pthread_rwlock_unlock((pthread_rwlock_t *) lock) != 0) { 55 if (pthread_rwlock_unlock((pthread_rwlock_t *) lock) != 0) { 61 pthread_rwlock_destroy((pthread_rwlock_t *) lock);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/ |
6-1.c | 15 * 1. Initialize a pthread_rwlock_t object 'rwlock' with pthread_rwlock_init(). 30 static pthread_rwlock_t rwlock;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/ |
3-1.c | 7 * Test pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock) 27 static pthread_rwlock_t rwlock;
|
/bionic/libc/bionic/ |
pthread_rwlock.cpp | 214 static_assert(sizeof(pthread_rwlock_t) == sizeof(pthread_rwlock_internal_t), 215 "pthread_rwlock_t should actually be pthread_rwlock_internal_t in implementation."); 217 // For binary compatibility with old version of pthread_rwlock_t, we can't use more strict 219 static_assert(alignof(pthread_rwlock_t) == 4, 220 "pthread_rwlock_t should fulfill the alignment requirement of pthread_rwlock_internal_t."); 222 static inline __always_inline pthread_rwlock_internal_t* __get_internal_rwlock(pthread_rwlock_t* rwlock_interface) { 226 int pthread_rwlock_init(pthread_rwlock_t* rwlock_interface, const pthread_rwlockattr_t* attr) { 254 int pthread_rwlock_destroy(pthread_rwlock_t* rwlock_interface) { 410 int pthread_rwlock_rdlock(pthread_rwlock_t* rwlock_interface) { 419 int pthread_rwlock_timedrdlock(pthread_rwlock_t* rwlock_interface, const timespec* abs_timeout) [all...] |
pthread_internal.cpp | 43 static pthread_rwlock_t g_thread_list_lock = PTHREAD_RWLOCK_INITIALIZER; 47 ScopedRWLock(pthread_rwlock_t* rwlock) : rwlock_(rwlock) { 56 pthread_rwlock_t* rwlock_;
|
/external/fio/ |
mutex.h | 19 pthread_rwlock_t lock;
|
/external/libunwind_llvm/src/ |
RWMutex.hpp | 70 pthread_rwlock_t _lock = PTHREAD_RWLOCK_INITIALIZER;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
5-1.c | 7 * Test that pthread_rwlock_rdlock(pthread_rwlock_t *rwlock) 13 * 1. Initialize a pthread_rwlock_t object 'rwlock' with pthread_rwlock_init() 30 static pthread_rwlock_t rwlock;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
3-1.c | 7 * Test pthread_rwlock_wrlock(pthread_rwlock_t *rwlock) 30 static pthread_rwlock_t rwlock;
|
/external/valgrind/none/tests/ |
pth_rwlock.c | 12 pthread_rwlock_t locks[LOCKS];
|
/bionic/libc/include/ |
pthread.h | 215 int pthread_rwlock_destroy(pthread_rwlock_t* __rwlock); 216 int pthread_rwlock_init(pthread_rwlock_t* __rwlock, const pthread_rwlockattr_t* __attr); 217 int pthread_rwlock_rdlock(pthread_rwlock_t* __rwlock); 218 int pthread_rwlock_timedrdlock(pthread_rwlock_t* __rwlock, const struct timespec* __timeout); 220 int pthread_rwlock_timedrdlock_monotonic_np(pthread_rwlock_t* __rwlock, 222 int pthread_rwlock_timedwrlock(pthread_rwlock_t* __rwlock, const struct timespec* __timeout); 224 int pthread_rwlock_timedwrlock_monotonic_np(pthread_rwlock_t* __rwlock, 226 int pthread_rwlock_tryrdlock(pthread_rwlock_t* __rwlock); 227 int pthread_rwlock_trywrlock(pthread_rwlock_t* __rwlock); 228 int pthread_rwlock_unlock(pthread_rwlock_t* __rwlock) [all...] |
/bionic/tests/headers/posix/ |
pthread_h.c | 73 pthread_rwlock_t rw0 = PTHREAD_RWLOCK_INITIALIZER; 84 TYPE(pthread_rwlock_t); 179 FUNCTION(pthread_rwlock_destroy, int (*f)(pthread_rwlock_t*)); 180 FUNCTION(pthread_rwlock_init, int (*f)(pthread_rwlock_t*, const pthread_rwlockattr_t*)); 181 FUNCTION(pthread_rwlock_rdlock, int (*f)(pthread_rwlock_t*)); 182 FUNCTION(pthread_rwlock_timedrdlock, int (*f)(pthread_rwlock_t*, const struct timespec*)); 183 FUNCTION(pthread_rwlock_timedwrlock, int (*f)(pthread_rwlock_t*, const struct timespec*)); 184 FUNCTION(pthread_rwlock_tryrdlock, int (*f)(pthread_rwlock_t*)); 185 FUNCTION(pthread_rwlock_trywrlock, int (*f)(pthread_rwlock_t*)); 186 FUNCTION(pthread_rwlock_unlock, int (*f)(pthread_rwlock_t*)); [all...] |