/third_party/boost/boost/interprocess/sync/ |
D | interprocess_upgradable_mutex.hpp | 293 scoped_lock_t lck(m_mut); in lock() local 298 this->m_first_gate.wait(lck); in lock() 309 this->m_second_gate.wait(lck); in lock() 316 scoped_lock_t lck(m_mut, try_to_lock); in try_lock() local 320 if(!lck.owns() in try_lock() 334 scoped_lock_t lck(m_mut, abs_time); in timed_lock() local 335 if(!lck.owns()) return false; in timed_lock() 340 if(!this->m_first_gate.timed_wait(lck, abs_time)){ in timed_lock() 356 if(!this->m_second_gate.timed_wait(lck, abs_time)){ in timed_lock() 369 scoped_lock_t lck(m_mut); in unlock() local [all …]
|
D | interprocess_sharable_mutex.hpp | 181 scoped_lock_t lck(m_mut); in lock() local 186 this->m_first_gate.wait(lck); in lock() 197 this->m_second_gate.wait(lck); in lock() 204 scoped_lock_t lck(m_mut, try_to_lock); in try_lock() local 208 if(!lck.owns() in try_lock() 220 scoped_lock_t lck(m_mut, abs_time); in timed_lock() local 221 if(!lck.owns()) return false; in timed_lock() 228 if(!this->m_first_gate.timed_wait(lck, abs_time)){ in timed_lock() 246 if(!this->m_second_gate.timed_wait(lck, abs_time)){ in timed_lock() 259 scoped_lock_t lck(m_mut); in unlock() local [all …]
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 76 struct flock64 lck = { in fn_ofd_w() local 87 lck.l_type = F_WRLCK; in fn_ofd_w() 88 my_fcntl(fd, F_OFD_SETLKW, &lck); in fn_ofd_w() 93 lck.l_type = F_UNLCK; in fn_ofd_w() 94 my_fcntl(fd, F_OFD_SETLKW, &lck); in fn_ofd_w() 116 struct flock lck = { in fn_posix_w() local 126 lck.l_type = F_WRLCK; in fn_posix_w() 127 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 132 lck.l_type = F_UNLCK; in fn_posix_w() 133 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() [all …]
|
D | fcntl_common.h | 21 static int my_fcntl(int fd, int cmd, void *lck) in my_fcntl() argument 23 return SAFE_FCNTL(fd, cmd, lck); in my_fcntl() 26 static int my_fcntl(int fd, int cmd, void *lck) in my_fcntl() argument 28 int ret = tst_syscall(__NR_fcntl64, fd, cmd, lck); in my_fcntl()
|
D | fcntl34.c | 58 struct flock64 lck = { in thread_fn_01() local 65 lck.l_type = F_WRLCK; in thread_fn_01() 66 my_fcntl(fd, F_OFD_SETLKW, &lck); in thread_fn_01() 71 lck.l_type = F_UNLCK; in thread_fn_01() 72 my_fcntl(fd, F_OFD_SETLKW, &lck); in thread_fn_01()
|
/third_party/boost/boost/thread/ |
D | externally_locked_stream.hpp | 122 …m_guard<Stream, RecursiveMutex>& operator<<(const stream_guard<Stream, RecursiveMutex>& lck, T arg) in operator <<() argument 124 lck.get() << arg; in operator <<() 125 return lck; in operator <<() 129 …m, RecursiveMutex>& operator<<(const stream_guard<Stream, RecursiveMutex>& lck, Stream& (*arg)(Str… in operator <<() argument 131 lck.get() << arg; in operator <<() 132 return lck; in operator <<() 136 …_guard<Stream, RecursiveMutex>& operator>>(const stream_guard<Stream, RecursiveMutex>& lck, T& arg) in operator >>() argument 138 lck.get() >> arg; in operator >>() 139 return lck; in operator >>()
|
D | future.hpp | 1056 virtual void execute(boost::unique_lock<boost::mutex>& lck) { in execute() 1060 relocker relock(lck); in execute() 1063 this->mark_finished_with_result_internal(boost::move(res), lck); in execute() 1067 this->mark_exceptional_finish_internal(current_exception(), lck); in execute() 1082 virtual void execute(boost::unique_lock<boost::mutex>& lck) { in execute() 1085 this->mark_finished_with_result_internal(func_(), lck); in execute() 1089 this->mark_exceptional_finish_internal(current_exception(), lck); in execute() 1105 virtual void execute(boost::unique_lock<boost::mutex>& lck) { in execute() 1109 relocker relock(lck); in execute() 1112 this->mark_finished_with_result_internal(lck); in execute() [all …]
|
/third_party/boost/libs/container/src/ |
D | synchronized_pool_resource.cpp | 67 thread_mutex_lock lck(m_mut); (void)lck; in release() local 79 thread_mutex_lock lck(m_mut); (void)lck; in do_allocate() local 85 thread_mutex_lock lck(m_mut); (void)lck; in do_deallocate() local
|
/third_party/boost/boost/interprocess/detail/ |
D | windows_intermodule_singleton.hpp | 134 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in windows_semaphore_based_map() local 188 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in find() local 201 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in insert() local 209 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in erase() local 217 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in atomic_func() local 223 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in ~windows_semaphore_based_map() local
|
/third_party/openssl/crypto/asn1/ |
D | tasn_utl.c | 61 CRYPTO_REF_COUNT *lck; in asn1_do_lock() local 71 lck = offset2ptr(*pval, aux->ref_offset); in asn1_do_lock() 76 *lck = ret = 1; in asn1_do_lock() 84 if (!CRYPTO_UP_REF(lck, &ret, *lock)) in asn1_do_lock() 88 if (!CRYPTO_DOWN_REF(lck, &ret, *lock)) in asn1_do_lock()
|
/third_party/boost/libs/exception/test/ |
D | copy_exception_test.cpp | 55 boost::unique_lock<boost::mutex> lck (mux_); in set_exception() local 64 boost::unique_lock<boost::mutex> lck (mux_); in get_exception() local 66 cond_.wait (lck); in get_exception()
|
/third_party/boost/libs/thread/doc/ |
D | sync_streams.qbk | 34 …_guard<Stream, RecursiveMutex>& operator<<(const stream_guard<Stream, RecursiveMutex>& lck, T arg); 37 operator<<(const stream_guard<Stream, RecursiveMutex>& lck, Stream& (*arg)(Stream&)); 40 operator>>(const stream_guard<Stream, RecursiveMutex>& lck, T& arg);
|
/third_party/gstreamer/gstplugins_bad/sys/nvdec/ |
D | cuviddec.h | 945 extern CUresult CUDAAPI cuvidCtxLockDestroy(CUvideoctxlock lck); 951 extern CUresult CUDAAPI cuvidCtxLock(CUvideoctxlock lck, unsigned int reserved_flags); 957 extern CUresult CUDAAPI cuvidCtxUnlock(CUvideoctxlock lck, unsigned int reserved_flags);
|
/third_party/openssl/ssl/ |
D | ssl_sess.c | 21 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck); 719 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) in remove_session_lock() argument 725 if (lck) in remove_session_lock() 734 if (lck) in remove_session_lock()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 501 struct tdb_lock_type *lck = NULL; in tdb_unlock() local 527 lck = &tdb->lockrecs[i]; in tdb_unlock() 532 if ((lck == NULL) || (lck->count == 0)) { in tdb_unlock() 537 if (lck->count > 1) { in tdb_unlock() 538 lck->count--; in tdb_unlock() 563 *lck = tdb->lockrecs[tdb->num_lockrecs-1]; in tdb_unlock()
|