Home
last modified time | relevance | path

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

12345678

/external/virglrenderer/src/mesa/util/
Dsimple_mtx.h67 simple_mtx_init(simple_mtx_t *mtx, ASSERTED int type) in simple_mtx_init()
75 simple_mtx_destroy(ASSERTED simple_mtx_t *mtx) in simple_mtx_destroy()
83 simple_mtx_lock(simple_mtx_t *mtx) in simple_mtx_lock()
102 simple_mtx_unlock(simple_mtx_t *mtx) in simple_mtx_unlock()
117 simple_mtx_assert_locked(simple_mtx_t *mtx) in simple_mtx_assert_locked()
129 simple_mtx_init(simple_mtx_t *mtx, int type) in simple_mtx_init()
135 simple_mtx_destroy(simple_mtx_t *mtx) in simple_mtx_destroy()
141 simple_mtx_lock(simple_mtx_t *mtx) in simple_mtx_lock()
147 simple_mtx_unlock(simple_mtx_t *mtx) in simple_mtx_unlock()
153 simple_mtx_assert_locked(simple_mtx_t *mtx) in simple_mtx_assert_locked()
/external/jemalloc_new/test/src/
Dmtx.c8 mtx_init(mtx_t *mtx) { in mtx_init()
35 mtx_fini(mtx_t *mtx) { in mtx_fini()
45 mtx_lock(mtx_t *mtx) { in mtx_lock()
58 mtx_unlock(mtx_t *mtx) { in mtx_unlock()
/external/sdv/vsomeip/third_party/boost/thread/include/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
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 …]
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()
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()
/external/mesa3d/src/util/
Dsimple_mtx.h83 simple_mtx_init(simple_mtx_t *mtx, ASSERTED int type) in simple_mtx_init()
93 simple_mtx_destroy(ASSERTED simple_mtx_t *mtx) in simple_mtx_destroy()
102 simple_mtx_lock(simple_mtx_t *mtx) in simple_mtx_lock()
123 simple_mtx_unlock(simple_mtx_t *mtx) in simple_mtx_unlock()
140 simple_mtx_assert_locked(simple_mtx_t *mtx) in simple_mtx_assert_locked()
Dsimple_mtx.c11 void _simple_mtx_plain_init_once(simple_mtx_t *mtx) in _simple_mtx_plain_init_once()
17 simple_mtx_init(simple_mtx_t *mtx, ASSERTED int type) in simple_mtx_init()
26 simple_mtx_destroy(simple_mtx_t *mtx) in simple_mtx_destroy()
Dcnd_monotonic.c111 u_cnd_monotonic_timedwait(struct u_cnd_monotonic *cond, mtx_t *mtx, in u_cnd_monotonic_timedwait()
144 u_cnd_monotonic_wait(struct u_cnd_monotonic *cond, mtx_t *mtx) in u_cnd_monotonic_wait()
/external/mesa3d/src/c11/impl/
Dthreads_posix.c91 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait()
107 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
118 mtx_destroy(mtx_t *mtx) in mtx_destroy()
152 mtx_init(mtx_t *mtx, int type) in mtx_init()
175 mtx_lock(mtx_t *mtx) in mtx_lock()
198 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
228 mtx_trylock(mtx_t *mtx) in mtx_trylock()
236 mtx_unlock(mtx_t *mtx) in mtx_unlock()
Dthreads_win32.c171 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time) in cnd_timedwait()
184 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
196 mtx_destroy(mtx_t *mtx) in mtx_destroy()
204 mtx_init(mtx_t *mtx, int type) in mtx_init()
217 mtx_lock(mtx_t *mtx) in mtx_lock()
226 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) in mtx_timedlock()
241 mtx_trylock(mtx_t *mtx) in mtx_trylock()
249 mtx_unlock(mtx_t *mtx) in mtx_unlock()
/external/sdv/vsomeip/third_party/boost/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
/external/virglrenderer/src/mesa/compat/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()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc27 explicit TestData(MutexType *mtx) in TestData()
98 static void check_locked(MutexType *mtx) { in check_locked()
104 SpinMutex mtx; in TEST() local
115 SpinMutex mtx; in TEST() local
127 BlockingMutex *mtx = new(mtxmem) BlockingMutex(LINKER_INITIALIZED); in TEST() local
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutex_test.cc25 explicit TestData(MutexType *mtx) in TestData()
97 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); in TEST() local
107 Mutex mtx(MutexTypeAnnotations, StatMtxAnnotations); in TEST() local
117 SpinMutex mtx; in TEST() local
/external/jemalloc_new/test/unit/
Dmtx.c7 mtx_t mtx; in TEST_BEGIN() local
17 mtx_t mtx; member
/external/pdfium/third_party/lcms/src/
Dcmserr.c412 void defMtxDestroy(cmsContext id, void* mtx) in defMtxDestroy()
419 cmsBool defMtxLock(cmsContext id, void* mtx) in defMtxLock()
426 void defMtxUnlock(cmsContext id, void* mtx) in defMtxUnlock()
493 void CMSEXPORT _cmsDestroyMutex(cmsContext ContextID, void* mtx) in _cmsDestroyMutex()
503 cmsBool CMSEXPORT _cmsLockMutex(cmsContext ContextID, void* mtx) in _cmsLockMutex()
512 void CMSEXPORT _cmsUnlockMutex(cmsContext ContextID, void* mtx) in _cmsUnlockMutex()
/external/webrtc/modules/desktop_capture/win/
Dwindow_capture_utils_unittest.cc31 std::unique_ptr<rtc::Thread> SetUpUnresponsiveWindow(std::mutex& mtx, in SetUpUnresponsiveWindow()
67 std::mutex mtx; in TEST() local
90 std::mutex mtx; in TEST() local
/external/musl/src/thread/
Dmtx_unlock.c4 int mtx_unlock(mtx_t *mtx) in mtx_unlock()
Dmtx_destroy.c3 void mtx_destroy(mtx_t *mtx) in mtx_destroy()
/external/trusty/musl/src/thread/
Dmtx_unlock.c4 int mtx_unlock(mtx_t *mtx) in mtx_unlock()

12345678