Home
last modified time | relevance | path

Searched defs:mtx (Results 1 – 25 of 156) sorted by relevance

1234567

/third_party/musl/libc-test/src/functionalext/thread/
Dpthread_mutex_ext.c23 pthread_mutex_t *mtx = (pthread_mutex_t*)arg; in PthreadClocklockOutRealTime() local
44 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in pthread_mutex_clocklock_0010() local
60 pthread_mutex_t *mtx = (pthread_mutex_t*)arg; in PthreadClocklockNoOutRealTime() local
76 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in pthread_mutex_clocklock_0020() local
91 pthread_mutex_t *mtx = (pthread_mutex_t*)arg; in PthreadClocklockOutMonoTime() local
112 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in pthread_mutex_clocklock_0030() local
128 pthread_mutex_t *mtx = (pthread_mutex_t*)arg; in PthreadClocklockNoOutMonoTime() local
144 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in pthread_mutex_clocklock_0040() local
159 pthread_mutex_t *mtx = (pthread_mutex_t*)arg; in PthreadClocklockOutRealTime2() local
184 pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; in pthread_mutex_clocklock_0050() local
[all …]
/third_party/mesa3d/src/util/
Dsimple_mtx.h75 simple_mtx_init(simple_mtx_t *mtx, ASSERTED int type) in simple_mtx_init()
85 simple_mtx_destroy(ASSERTED simple_mtx_t *mtx) in simple_mtx_destroy()
94 simple_mtx_lock(simple_mtx_t *mtx) in simple_mtx_lock()
115 simple_mtx_unlock(simple_mtx_t *mtx) in simple_mtx_unlock()
132 simple_mtx_assert_locked(simple_mtx_t *mtx) in simple_mtx_assert_locked()
144 simple_mtx_init(simple_mtx_t *mtx, int type) in simple_mtx_init()
150 simple_mtx_destroy(simple_mtx_t *mtx) in simple_mtx_destroy()
156 simple_mtx_lock(simple_mtx_t *mtx) in simple_mtx_lock()
162 simple_mtx_unlock(simple_mtx_t *mtx) in simple_mtx_unlock()
168 simple_mtx_assert_locked(simple_mtx_t *mtx) in simple_mtx_assert_locked()
Dcnd_monotonic.h110 u_cnd_monotonic_timedwait(struct u_cnd_monotonic *cond, mtx_t *mtx, const struct timespec *abs_time) in u_cnd_monotonic_timedwait()
132 u_cnd_monotonic_wait(struct u_cnd_monotonic *cond, mtx_t *mtx) in u_cnd_monotonic_wait()
/third_party/boost/boost/thread/
Dlock_factories.hpp20 unique_lock<Lockable> make_unique_lock(Lockable& mtx) in make_unique_lock()
26 unique_lock<Lockable> make_unique_lock(Lockable& mtx, adopt_lock_t) in make_unique_lock()
32 unique_lock<Lockable> make_unique_lock(Lockable& mtx, defer_lock_t) in make_unique_lock()
38 unique_lock<Lockable> make_unique_lock(Lockable& mtx, try_to_lock_t) in make_unique_lock()
46 std::tuple<unique_lock<Lockable> ...> make_unique_locks(Lockable& ...mtx) in make_unique_locks()
Dexternally_locked_stream.hpp37 stream_guard(externally_locked_stream<Stream, RecursiveMutex>& mtx) : in stream_guard()
43 stream_guard(externally_locked_stream<Stream, RecursiveMutex>& mtx, adopt_lock_t) : in stream_guard()
104 externally_locked_stream(Stream& stream, RecursiveMutex& mtx) BOOST_NOEXCEPT : in externally_locked_stream()
143 …rd<Stream, RecursiveMutex> operator<<(externally_locked_stream<Stream, RecursiveMutex>& mtx, T arg) in operator <<()
151 …ream, RecursiveMutex> operator<<(externally_locked_stream<Stream, RecursiveMutex>& mtx, Stream& (*… in operator <<()
159 …d<Stream, RecursiveMutex> operator>>(externally_locked_stream<Stream, RecursiveMutex>& mtx, T& arg) in operator >>()
Dlock_concepts.hpp58 mutex_type& mtx; member
79 mutex_type& mtx; member
101 mutex_type& mtx; member
121 mutex_type& mtx; member
138 mutex_type& mtx; member
156 mutex_type& mtx; member
192 mutex_type const& mtx; member
Dlock_guard.hpp74 lock_guard<Lockable> make_lock_guard(Lockable& mtx) in make_lock_guard()
79 lock_guard<Lockable> make_lock_guard(Lockable& mtx, adopt_lock_t) in make_lock_guard()
Dexternally_locked.hpp52 externally_locked(mutex_type& mtx, const T& obj) : in externally_locked()
61 externally_locked(mutex_type& mtx, BOOST_THREAD_RV_REF(T) obj) : in externally_locked()
70 externally_locked(mutex_type& mtx) // BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(T())) in externally_locked()
213 externally_locked(T& obj, mutex_type& mtx) BOOST_NOEXCEPT : in externally_locked()
Dsynchronized_value.hpp66 const_strict_lock_ptr(T const& val, Lockable & mtx) : in const_strict_lock_ptr()
70 const_strict_lock_ptr(T const& val, Lockable & mtx, adopt_lock_t tag) BOOST_NOEXCEPT : in const_strict_lock_ptr()
123 strict_lock_ptr(T & val, Lockable & mtx) : in strict_lock_ptr()
127 strict_lock_ptr(T & val, Lockable & mtx, adopt_lock_t tag) : in strict_lock_ptr()
214 const_unique_lock_ptr(T const& val, Lockable & mtx) in const_unique_lock_ptr()
225 const_unique_lock_ptr(T const& val, Lockable & mtx, adopt_lock_t) BOOST_NOEXCEPT in const_unique_lock_ptr()
235 const_unique_lock_ptr(T const& val, Lockable & mtx, defer_lock_t) BOOST_NOEXCEPT in const_unique_lock_ptr()
246 const_unique_lock_ptr(T const& val, Lockable & mtx, try_to_lock_t) BOOST_NOEXCEPT in const_unique_lock_ptr()
307 unique_lock_ptr(T & val, Lockable & mtx) in unique_lock_ptr()
317 unique_lock_ptr(T & value, Lockable & mtx, adopt_lock_t) BOOST_NOEXCEPT in unique_lock_ptr()
[all …]
Dstrict_lock.hpp47 explicit strict_lock(mutex_type& mtx) : in strict_lock()
222 strict_lock<Lockable> make_strict_lock(Lockable& mtx) in make_strict_lock()
/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c374 usbd_do_request_flags(struct usb_device *udev, struct mtx *mtx, in usbd_do_request_flags()
753 usbd_req_reset_port(struct usb_device *udev, struct mtx *mtx, uint8_t port) in usbd_req_reset_port()
856 usbd_req_warm_reset_port(struct usb_device *udev, struct mtx *mtx, in usbd_req_warm_reset_port()
967 struct mtx *mtx, uint16_t *actlen, void *desc, in usbd_req_get_desc()
1057 usbd_req_get_string_any(struct usb_device *udev, struct mtx *mtx, char *buf, in usbd_req_get_string_any()
1159 usbd_req_get_string_desc(struct usb_device *udev, struct mtx *mtx, void *sdesc, in usbd_req_get_string_desc()
1225 usbd_req_get_config_desc(struct usb_device *udev, struct mtx *mtx, in usbd_req_get_config_desc()
1295 usbd_req_get_config_desc_full(struct usb_device *udev, struct mtx *mtx, in usbd_req_get_config_desc_full()
1345 usbd_req_get_device_desc(struct usb_device *udev, struct mtx *mtx, in usbd_req_get_device_desc()
1361 usbd_req_get_alt_interface_no(struct usb_device *udev, struct mtx *mtx, in usbd_req_get_alt_interface_no()
[all …]
/third_party/boost/libs/fiber/test/
Dtest_condition_mt_post.cpp34 boost::fibers::mutex & mtx, in wait_fn()
44 boost::fibers::mutex & mtx, in notify_one_fn()
55 boost::fibers::mutex & mtx, in notify_all_fn()
66 boost::fibers::mutex & mtx, in fn1()
79 boost::fibers::mutex & mtx, in fn2()
92 boost::fibers::mutex & mtx, in fn3()
110 boost::fibers::mutex mtx; in test_one_waiter_notify_one() local
131 boost::fibers::mutex mtx; in test_two_waiter_notify_all() local
Dtest_condition_mt_dispatch.cpp34 boost::fibers::mutex & mtx, in wait_fn()
44 boost::fibers::mutex & mtx, in notify_one_fn()
55 boost::fibers::mutex & mtx, in notify_all_fn()
66 boost::fibers::mutex & mtx, in fn1()
79 boost::fibers::mutex & mtx, in fn2()
92 boost::fibers::mutex & mtx, in fn3()
110 boost::fibers::mutex mtx; in test_one_waiter_notify_one() local
131 boost::fibers::mutex mtx; in test_two_waiter_notify_all() local
Dtest_mutex_mt_post.cpp56 boost::fibers::mutex mtx; in test_mutex() local
73 boost::fibers::recursive_mutex mtx; in test_recursive_mutex() local
90 boost::fibers::timed_mutex mtx; in test_timed_mutex() local
107 boost::fibers::recursive_timed_mutex mtx; in test_recursive_timed_mutex() local
Dtest_mutex_mt_dispatch.cpp56 boost::fibers::mutex mtx; in test_mutex() local
73 boost::fibers::recursive_mutex mtx; in test_recursive_mutex() local
90 boost::fibers::timed_mutex mtx; in test_timed_mutex() local
107 boost::fibers::recursive_timed_mutex mtx; in test_recursive_timed_mutex() local
Dtest_mutex_dispatch.cpp28 void fn1( M & mtx) { in fn1()
37 void fn2( M & mtx) { in fn2()
201 mutex_type mtx; in operator ()() local
230 mutex_type mtx; in operator ()() local
260 boost::fibers::mutex mtx; in do_test_mutex() local
269 boost::fibers::mutex mtx; in do_test_mutex() local
288 boost::fibers::recursive_mutex mtx; in do_test_recursive_mutex() local
297 boost::fibers::recursive_mutex mtx; in do_test_recursive_mutex() local
Dtest_mutex_post.cpp28 void fn1( M & mtx) { in fn1()
37 void fn2( M & mtx) { in fn2()
201 mutex_type mtx; in operator ()() local
230 mutex_type mtx; in operator ()() local
260 boost::fibers::mutex mtx; in do_test_mutex() local
269 boost::fibers::mutex mtx; in do_test_mutex() local
288 boost::fibers::recursive_mutex mtx; in do_test_recursive_mutex() local
297 boost::fibers::recursive_mutex mtx; in do_test_recursive_mutex() local
/third_party/boost/libs/thread/example/
Dstrict_lock.cpp23 boost::mutex mtx; in main() local
28 boost::timed_mutex mtx; in main() local
34 boost::mutex mtx; in main() local
/third_party/flutter/glfw/deps/
Dtinycthread.c56 int mtx_init(mtx_t *mtx, int type) in mtx_init()
77 void mtx_destroy(mtx_t *mtx) in mtx_destroy()
86 int mtx_lock(mtx_t *mtx) in mtx_lock()
101 int mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
109 int mtx_trylock(mtx_t *mtx) in mtx_trylock()
124 int mtx_unlock(mtx_t *mtx) in mtx_unlock()
237 static int _cnd_timedwait_win32(cnd_t *cond, mtx_t *mtx, DWORD timeout) in _cnd_timedwait_win32()
285 int cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
294 int cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *ts) in cnd_timedwait()
/third_party/mindspore/mindspore/ccsrc/fl/server/
Dexecutor.cc75 std::mutex &mtx = parameter_mutex_[param_name]; in HandlePush() local
118 std::mutex &mtx = parameter_mutex_[param_name]; in HandleModelUpdate() local
143 std::mutex &mtx = parameter_mutex_[param_name]; in HandleModelUpdateAsync() local
168 std::mutex &mtx = parameter_mutex_[param_name]; in HandlePushWeight() local
193 std::mutex &mtx = parameter_mutex_[param_name]; in HandlePull() local
219 std::mutex &mtx = parameter_mutex_[param_name]; in HandlePullWeight() local
242 std::mutex &mtx = parameter_mutex_[name]; in IsWeightAggrDone() local
259 std::mutex &mtx = parameter_mutex_[param_name]; in ResetAggregationStatus() local
271 std::mutex &mtx = parameter_mutex_[name]; in GetModel() local
/third_party/mesa3d/include/c11/
Dthreads_posix.h135 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait()
151 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
162 mtx_destroy(mtx_t *mtx) in mtx_destroy()
196 mtx_init(mtx_t *mtx, int type) in mtx_init()
220 mtx_lock(mtx_t *mtx) in mtx_lock()
234 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
263 mtx_trylock(mtx_t *mtx) in mtx_trylock()
271 mtx_unlock(mtx_t *mtx) in mtx_unlock()
Dthreads_win32.h253 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait()
270 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
282 mtx_destroy(mtx_t *mtx) in mtx_destroy()
290 mtx_init(mtx_t *mtx, int type) in mtx_init()
304 mtx_lock(mtx_t *mtx) in mtx_lock()
313 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
332 mtx_trylock(mtx_t *mtx) in mtx_trylock()
340 mtx_unlock(mtx_t *mtx) in mtx_unlock()
/third_party/boost/libs/interprocess/test/
Dsharable_mutex_test_template.hpp118 SM mtx; in test_plain_sharable_mutex() local
155 SM mtx; in test_plain_sharable_mutex() local
194 SM mtx; in test_try_sharable_mutex() local
230 SM mtx; in test_timed_sharable_mutex() local
/third_party/musl/src/thread/
Dmtx_destroy.c3 void mtx_destroy(mtx_t *mtx) in mtx_destroy()
Dmtx_unlock.c4 int mtx_unlock(mtx_t *mtx) in mtx_unlock()

1234567