/external/rust/crates/tokio/tests/ |
D | sync_rwlock.rs | 16 let rwlock = RwLock::new(42); in into_inner() localVariable 23 let rwlock = RwLock::new(100); in read_shared() localVariable 34 let rwlock = RwLock::new(100); in write_shared_pending() localVariable 45 let rwlock = RwLock::new(100); in read_exclusive_pending() localVariable 57 let rwlock = RwLock::with_max_readers(100, 1024); in exhaust_reading() localVariable 78 let rwlock = RwLock::new(100); in write_exclusive_pending() localVariable 89 let rwlock = RwLock::new(100); in write_shared_drop() localVariable 104 let rwlock = RwLock::new(100); in write_read_shared_pending() localVariable 122 let rwlock = RwLock::new(100); in write_read_shared_drop_pending() localVariable 140 let rwlock = RwLock::new(100); in read_uncontested() localVariable [all …]
|
/external/mesa3d/src/util/ |
D | rwlock.h | 44 SRWLOCK rwlock; member 50 static inline int u_rwlock_init(struct u_rwlock *rwlock) in u_rwlock_init() 60 static inline int u_rwlock_destroy(struct u_rwlock *rwlock) in u_rwlock_destroy() 69 static inline int u_rwlock_rdlock(struct u_rwlock *rwlock) in u_rwlock_rdlock() 79 static inline int u_rwlock_rdunlock(struct u_rwlock *rwlock) in u_rwlock_rdunlock() 89 static inline int u_rwlock_wrlock(struct u_rwlock *rwlock) in u_rwlock_wrlock() 99 static inline int u_rwlock_wrunlock(struct u_rwlock *rwlock) in u_rwlock_wrunlock()
|
/external/llvm/lib/Support/ |
D | RWMutex.cpp | 50 pthread_rwlock_t* rwlock = in RWMutexImpl() local 70 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local 79 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_acquire() local 89 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in reader_release() local 99 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_acquire() local 109 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in writer_release() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | RWMutex.cpp | 44 pthread_rwlock_t* rwlock = in RWMutexImpl() local 64 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in ~RWMutexImpl() local 73 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock_shared() local 83 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock_shared() local 93 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in lock() local 103 pthread_rwlock_t* rwlock = static_cast<pthread_rwlock_t*>(data_); in unlock() local
|
/external/libcups/cups/ |
D | thread.c | 110 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit() 121 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead() 132 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite() 143 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock() 297 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit() 308 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead() 319 _cupsRWLockWrite(_cups_rwlock_t *rwlock)/* I - Reader/writer lock */ in _cupsRWLockWrite() 330 _cupsRWUnlock(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWUnlock() 460 _cupsRWInit(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWInit() 471 _cupsRWLockRead(_cups_rwlock_t *rwlock) /* I - Reader/writer lock */ in _cupsRWLockRead() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 5-1.c | 45 pthread_rwlock_t rwlock; in fn_rd_1() local 90 pthread_rwlock_t rwlock; in fn_rd_2() local
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 5-1.c | 52 pthread_rwlock_t rwlock; in fn_wr_1() local 97 pthread_rwlock_t rwlock; in fn_wr_2() local
|
/external/rust/crates/tokio/src/sync/tests/ |
D | loom_rwlock.rs | 12 let rwlock = Arc::new(RwLock::<u32>::new(0)); in concurrent_write() localVariable 43 let rwlock = Arc::new(RwLock::<u32>::new(0)); in concurrent_read_write() localVariable
|
/external/rust/crates/lock_api/src/ |
D | rwlock.rs | 1187 rwlock: &'a RwLock<R, T>, field 1193 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock() method 1364 rwlock: Arc<RwLock<R, T>>, field 1371 pub fn rwlock(s: &Self) -> &Arc<RwLock<R, T>> { in rwlock() method 1475 rwlock: &'a RwLock<R, T>, field 1481 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock() method 1565 let rwlock = s.rwlock; in downgrade() localVariable 1586 let rwlock = s.rwlock; in downgrade_to_upgradable() localVariable 1698 rwlock: Arc<RwLock<R, T>>, field 1705 pub fn rwlock(s: &Self) -> &Arc<RwLock<R, T>> { in rwlock() method [all …]
|
D | lib.rs | 115 mod rwlock; module
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
D | 4-1.c | 31 static pthread_rwlock_t rwlock; in main() local
|
D | 4-2.c | 31 static pthread_rwlock_t rwlock; variable
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
D | 3-1.c | 29 static pthread_rwlock_t rwlock; in main() local
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/ |
D | 6-1.c | 29 static pthread_rwlock_t rwlock; in main() local
|
D | 3-1.c | 27 static pthread_rwlock_t rwlock; variable
|
D | 2-1.c | 25 static pthread_rwlock_t rwlock; variable
|
D | 1-1.c | 25 static pthread_rwlock_t rwlock; variable
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/ |
D | 3-1.c | 26 static pthread_rwlock_t rwlock; in main() local
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/ |
D | 3-1.c | 25 pthread_rwlock_t rwlock; in main() local
|
D | 1-1.c | 25 pthread_rwlock_t rwlock; in main() local
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
D | 5-1.c | 29 static pthread_rwlock_t rwlock; in main() local
|
D | 1-1.c | 32 static pthread_rwlock_t rwlock; variable
|
/external/rust/crates/spin/examples/ |
D | debug.rs | 11 let rwlock = spin::RwLock::new(42); in main() localVariable
|
/external/compiler-rt/test/tsan/ |
D | write_in_reader_lock.cc | 4 pthread_rwlock_t rwlock; variable
|
/external/dng_sdk/source/ |
D | dng_pthread.cpp | 861 int dng_pthread_rwlock_init(dng_pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attrs) in dng_pthread_rwlock_init() 876 int dng_pthread_rwlock_destroy(dng_pthread_rwlock_t *rwlock) in dng_pthread_rwlock_destroy() 902 int dng_pthread_rwlock_rdlock(dng_pthread_rwlock_t *rwlock) in dng_pthread_rwlock_rdlock() 949 int dng_pthread_rwlock_tryrdlock(dng_pthread_rwlock_t *rwlock) in dng_pthread_rwlock_tryrdlock() 968 int dng_pthread_rwlock_trywrlock(dng_pthread_rwlock_t *rwlock) in dng_pthread_rwlock_trywrlock() 989 int dng_pthread_rwlock_unlock(dng_pthread_rwlock_t *rwlock) in dng_pthread_rwlock_unlock() 1029 int dng_pthread_rwlock_wrlock(dng_pthread_rwlock_t *rwlock) in dng_pthread_rwlock_wrlock()
|