/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/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...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
RWMutex.cpp | 52 pthread_rwlock_t* rwlock = 53 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t))); 57 bzero(rwlock, sizeof(pthread_rwlock_t)); 72 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); 81 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); 91 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_) [all...] |
/bionic/libc/private/ |
ScopedRWLock.h | 37 explicit ScopedRWLock(pthread_rwlock_t* rwlock) : rwlock_(rwlock) { 46 pthread_rwlock_t* rwlock_;
|
/external/compiler-rt/test/tsan/ |
bench_rwmutex.cc | 9 pthread_rwlock_t mtx;
|
write_in_reader_lock.cc | 4 pthread_rwlock_t rwlock;
|
mutexset6.cc | 7 pthread_rwlock_t mtx3;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/ |
1-1.c | 25 pthread_rwlock_t rwlock;
|
3-1.c | 25 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) 31 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_STATIC_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(). 29 static pthread_rwlock_t rwlock;
|
2-1.c | 14 * 1. Initialize a pthread_rwlock_t object 'rwlock' with pthread_rwlock_init(), 25 static pthread_rwlock_t rwlock;
|
3-1.c | 13 * 1. Initialize a pthread_rwlock_t object 'rwlock' with pthread_rwlock_init() 27 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) 26 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...] |
/external/libunwind_llvm/src/ |
RWMutex.hpp | 69 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() 29 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) 29 static pthread_rwlock_t rwlock;
|
/bionic/libc/include/ |
pthread.h | 229 int pthread_rwlock_destroy(pthread_rwlock_t* __rwlock); 230 int pthread_rwlock_init(pthread_rwlock_t* __rwlock, const pthread_rwlockattr_t* __attr); 231 int pthread_rwlock_rdlock(pthread_rwlock_t* __rwlock); 232 int pthread_rwlock_timedrdlock(pthread_rwlock_t* __rwlock, const struct timespec* __timeout); 234 int pthread_rwlock_timedrdlock_monotonic_np(pthread_rwlock_t* __rwlock, 236 int pthread_rwlock_timedwrlock(pthread_rwlock_t* __rwlock, const struct timespec* __timeout); 238 int pthread_rwlock_timedwrlock_monotonic_np(pthread_rwlock_t* __rwlock, 240 int pthread_rwlock_tryrdlock(pthread_rwlock_t* __rwlock); 241 int pthread_rwlock_trywrlock(pthread_rwlock_t* __rwlock); 242 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...] |
sys_types_h.c | 58 TYPE(pthread_rwlock_t);
|
/bionic/libc/include/bits/ |
pthread_types.h | 91 } pthread_rwlock_t; typedef in typeref:struct:__anon233
|