Home
last modified time | relevance | path

Searched defs:rwlock (Results 1 – 25 of 78) sorted by relevance

1234

/external/cronet/third_party/apache-portable-runtime/src/locks/unix/
Dthread_rwlock.c28 apr_thread_rwlock_t *rwlock = (apr_thread_rwlock_t *)data; in thread_rwlock_cleanup() local
40 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
64 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
77 APR_DECLARE(apr_status_t) apr_thread_rwlock_tryrdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_tryrdlock()
93 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
106 APR_DECLARE(apr_status_t) apr_thread_rwlock_trywrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_trywrlock()
122 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
135 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_destroy()
142 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
148 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
[all …]
/external/cronet/third_party/apache-portable-runtime/src/locks/win32/
Dthread_rwlock.c26 apr_thread_rwlock_t *rwlock = data; in thread_rwlock_cleanup() local
37 APR_DECLARE(apr_status_t)apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
62 static apr_status_t apr_thread_rwlock_rdlock_core(apr_thread_rwlock_t *rwlock, in apr_thread_rwlock_rdlock_core()
85 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
91 apr_thread_rwlock_tryrdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_tryrdlock()
97 apr_thread_rwlock_wrlock_core(apr_thread_rwlock_t *rwlock, DWORD milliseconds) in apr_thread_rwlock_wrlock_core()
127 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
132 APR_DECLARE(apr_status_t)apr_thread_rwlock_trywrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_trywrlock()
137 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
160 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_destroy()
/external/cronet/third_party/apache-portable-runtime/src/locks/netware/
Dthread_rwlock.c26 apr_thread_rwlock_t *rwlock = (apr_thread_rwlock_t *)data; in thread_rwlock_cleanup() local
32 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
59 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
65 APR_DECLARE(apr_status_t) apr_thread_rwlock_tryrdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_tryrdlock()
72 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
78 APR_DECLARE(apr_status_t) apr_thread_rwlock_trywrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_trywrlock()
85 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
91 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_destroy()
/external/mesa3d/src/util/
Drwlock.c16 int u_rwlock_init(struct u_rwlock *rwlock) in u_rwlock_init()
26 int u_rwlock_destroy(struct u_rwlock *rwlock) in u_rwlock_destroy()
35 int u_rwlock_rdlock(struct u_rwlock *rwlock) in u_rwlock_rdlock()
45 int u_rwlock_rdunlock(struct u_rwlock *rwlock) in u_rwlock_rdunlock()
55 int u_rwlock_wrlock(struct u_rwlock *rwlock) in u_rwlock_wrlock()
65 int u_rwlock_wrunlock(struct u_rwlock *rwlock) in u_rwlock_wrunlock()
/external/rust/crates/tokio/tests/
Dsync_rwlock.rs22 let rwlock = RwLock::new(42); in into_inner() localVariable
29 let rwlock = RwLock::new(100); in read_shared() localVariable
40 let rwlock = RwLock::new(100); in write_shared_pending() localVariable
51 let rwlock = RwLock::new(100); in read_exclusive_pending() localVariable
63 let rwlock = RwLock::with_max_readers(100, 1024); in exhaust_reading() localVariable
84 let rwlock = RwLock::new(100); in write_exclusive_pending() localVariable
95 let rwlock = RwLock::new(100); in write_shared_drop() localVariable
110 let rwlock = RwLock::new(100); in write_read_shared_pending() localVariable
128 let rwlock = RwLock::new(100); in write_read_shared_drop_pending() localVariable
146 let rwlock = RwLock::new(100); in read_uncontested() localVariable
[all …]
/external/cronet/third_party/apache-portable-runtime/src/locks/os2/
Dthread_rwlock.c27 apr_thread_rwlock_t *rwlock = therwlock; in thread_rwlock_cleanup() local
33 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
64 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
85 APR_DECLARE(apr_status_t) apr_thread_rwlock_tryrdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_tryrdlock()
103 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
128 APR_DECLARE(apr_status_t) apr_thread_rwlock_trywrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_trywrlock()
152 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
179 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_destroy()
/external/cronet/third_party/apache-portable-runtime/src/locks/beos/
Dthread_rwlock.c53 APR_DECLARE(apr_status_t) apr_thread_rwlock_create(apr_thread_rwlock_t **rwlock, in apr_thread_rwlock_create()
83 APR_DECLARE(apr_status_t) apr_thread_rwlock_rdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_rdlock()
103 APR_DECLARE(apr_status_t) apr_thread_rwlock_tryrdlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_tryrdlock()
108 APR_DECLARE(apr_status_t) apr_thread_rwlock_wrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_wrlock()
139 APR_DECLARE(apr_status_t) apr_thread_rwlock_trywrlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_trywrlock()
144 APR_DECLARE(apr_status_t) apr_thread_rwlock_unlock(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_unlock()
179 APR_DECLARE(apr_status_t) apr_thread_rwlock_destroy(apr_thread_rwlock_t *rwlock) in apr_thread_rwlock_destroy()
/external/llvm/lib/Support/
DRWMutex.cpp50 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/
DRWMutex.cpp44 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/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
DRWMutex.cpp44 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/
Dthread.c110 _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_timedwrlock/
D5-1.c52 pthread_rwlock_t rwlock; in fn_wr_1() local
97 pthread_rwlock_t rwlock; in fn_wr_2() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D5-1.c45 pthread_rwlock_t rwlock; in fn_rd_1() local
90 pthread_rwlock_t rwlock; in fn_rd_2() local
/external/rust/crates/tokio/src/sync/tests/
Dloom_rwlock.rs12 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/
Drwlock.rs1224 rwlock: &'a RwLock<R, T>, field
1232 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock() method
1402 rwlock: Arc<RwLock<R, T>>, field
1409 pub fn rwlock(s: &Self) -> &Arc<RwLock<R, T>> { in rwlock() method
1514 rwlock: &'a RwLock<R, T>, field
1522 pub fn rwlock(s: &Self) -> &'a RwLock<R, T> { in rwlock() method
1606 let rwlock = s.rwlock; in downgrade() localVariable
1627 let rwlock = s.rwlock; in downgrade_to_upgradable() localVariable
1740 rwlock: Arc<RwLock<R, T>>, field
1747 pub fn rwlock(s: &Self) -> &Arc<RwLock<R, T>> { in rwlock() method
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/speculative/
D3-1.c26 static pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/
D3-1.c25 pthread_rwlock_t rwlock; in main() local
D1-1.c25 pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
D4-1.c31 static pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
D3-1.c29 static pthread_rwlock_t rwlock; in main() local
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/
D6-1.c29 static pthread_rwlock_t rwlock; in main() local
D3-1.c27 static pthread_rwlock_t rwlock; variable
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
D5-1.c29 static pthread_rwlock_t rwlock; in main() local
/external/rust/crates/spin/examples/
Ddebug.rs11 let rwlock = spin::RwLock::new(42); in main() localVariable
/external/cronet/third_party/apache-portable-runtime/src/include/arch/netware/
Dapr_arch_thread_rwlock.h25 NXRwLock_t *rwlock; member

1234