Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/third_party/gettext/gettext-runtime/intl/
Dwindows-mutex.c28 glwthread_mutex_init (glwthread_mutex_t *mutex) in glwthread_mutex_init()
35 glwthread_mutex_lock (glwthread_mutex_t *mutex) in glwthread_mutex_lock()
57 glwthread_mutex_trylock (glwthread_mutex_t *mutex) in glwthread_mutex_trylock()
79 glwthread_mutex_unlock (glwthread_mutex_t *mutex) in glwthread_mutex_unlock()
88 glwthread_mutex_destroy (glwthread_mutex_t *mutex) in glwthread_mutex_destroy()
Dwindows-recmutex.c28 glwthread_recmutex_init (glwthread_recmutex_t *mutex) in glwthread_recmutex_init()
37 glwthread_recmutex_lock (glwthread_recmutex_t *mutex) in glwthread_recmutex_lock()
71 glwthread_recmutex_trylock (glwthread_recmutex_t *mutex) in glwthread_recmutex_trylock()
105 glwthread_recmutex_unlock (glwthread_recmutex_t *mutex) in glwthread_recmutex_unlock()
120 glwthread_recmutex_destroy (glwthread_recmutex_t *mutex) in glwthread_recmutex_destroy()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/mod/
Drelease_pass.cpp24 struct mutex struct
38 int mutex::lock_count = 0; argument
Dmember_swap_pass.cpp24 struct mutex struct
34 mutex m; argument
Dnon_member_swap_pass.cpp23 struct mutex struct
33 mutex m; argument
/third_party/flutter/skia/third_party/externals/sdl/src/thread/stdcpp/
DSDL_sysmutex.cpp42 SDL_mutex * mutex = new SDL_mutex; in SDL_CreateMutex() local
56 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
66 SDL_mutexP(SDL_mutex * mutex) in SDL_mutexP()
84 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
100 SDL_mutexV(SDL_mutex * mutex) in SDL_mutexV()
/third_party/libusb/libusb/os/
Dthreads_posix.h30 static inline void usbi_mutex_static_lock(usbi_mutex_static_t *mutex) in usbi_mutex_static_lock()
34 static inline void usbi_mutex_static_unlock(usbi_mutex_static_t *mutex) in usbi_mutex_static_unlock()
40 static inline void usbi_mutex_init(usbi_mutex_t *mutex) in usbi_mutex_init()
44 static inline void usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock()
48 static inline void usbi_mutex_unlock(usbi_mutex_t *mutex) in usbi_mutex_unlock()
52 static inline int usbi_mutex_trylock(usbi_mutex_t *mutex) in usbi_mutex_trylock()
56 static inline void usbi_mutex_destroy(usbi_mutex_t *mutex) in usbi_mutex_destroy()
63 static inline void usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex) in usbi_cond_wait()
Dthreads_windows.h28 static inline void usbi_mutex_static_lock(usbi_mutex_static_t *mutex) in usbi_mutex_static_lock()
33 static inline void usbi_mutex_static_unlock(usbi_mutex_static_t *mutex) in usbi_mutex_static_unlock()
39 static inline void usbi_mutex_init(usbi_mutex_t *mutex) in usbi_mutex_init()
43 static inline void usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock()
47 static inline void usbi_mutex_unlock(usbi_mutex_t *mutex) in usbi_mutex_unlock()
51 static inline int usbi_mutex_trylock(usbi_mutex_t *mutex) in usbi_mutex_trylock()
55 static inline void usbi_mutex_destroy(usbi_mutex_t *mutex) in usbi_mutex_destroy()
74 static inline void usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex) in usbi_cond_wait()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/windows/
DSDL_sysmutex.c41 SDL_mutex *mutex; in SDL_CreateMutex() local
61 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
71 SDL_LockMutex(SDL_mutex * mutex) in SDL_LockMutex()
83 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
98 SDL_UnlockMutex(SDL_mutex * mutex) in SDL_UnlockMutex()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/generic/
DSDL_sysmutex.c40 SDL_mutex *mutex; in SDL_CreateMutex() local
61 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
73 SDL_LockMutex(SDL_mutex * mutex) in SDL_LockMutex()
103 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
136 SDL_mutexV(SDL_mutex * mutex) in SDL_mutexV()
/third_party/mbedtls/library/
Dthreading.c96 static void threading_mutex_init_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_init_pthread()
110 static void threading_mutex_free_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_free_pthread()
119 static int threading_mutex_lock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_lock_pthread()
130 static int threading_mutex_unlock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_unlock_pthread()
154 static int threading_mutex_fail( mbedtls_threading_mutex_t *mutex ) in threading_mutex_fail()
159 static void threading_mutex_dummy( mbedtls_threading_mutex_t *mutex ) in threading_mutex_dummy()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_sysmutex.c48 SDL_mutex *mutex; in SDL_CreateMutex() local
74 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
84 SDL_LockMutex(SDL_mutex * mutex) in SDL_LockMutex()
119 SDL_TryLockMutex(SDL_mutex * mutex) in SDL_TryLockMutex()
162 SDL_UnlockMutex(SDL_mutex * mutex) in SDL_UnlockMutex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMutex.cpp48 pthread_mutex_t* mutex = in MutexImpl() local
77 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in ~MutexImpl() local
86 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in acquire() local
96 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in release() local
106 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in tryacquire() local
/third_party/skia/third_party/externals/swiftshader/src/Common/
DRecursiveLock.hpp46 std::recursive_mutex mutex; member in sw::RecursiveLock
53 explicit RecursiveLockGuard(sw::RecursiveLock &mutex) : mutex(&mutex) in RecursiveLockGuard()
58 explicit RecursiveLockGuard(sw::RecursiveLock *mutex) : mutex(mutex) in RecursiveLockGuard()
69 sw::RecursiveLock *mutex; member in RecursiveLockGuard
DMutexLock.hpp56 pthread_mutex_t mutex; member in sw::MutexLock
167 std::atomic<bool> mutex; member
180 explicit LockGuard(sw::MutexLock &mutex) : mutex(&mutex) in LockGuard()
185 explicit LockGuard(sw::MutexLock *mutex) : mutex(mutex) in LockGuard()
196 sw::MutexLock *mutex; member in LockGuard
/third_party/flutter/skia/third_party/externals/sdl/src/thread/psp/
DSDL_sysmutex.c42 SDL_mutex *mutex; in SDL_CreateMutex() local
63 SDL_DestroyMutex(SDL_mutex * mutex) in SDL_DestroyMutex()
75 SDL_mutexP(SDL_mutex * mutex) in SDL_mutexP()
105 SDL_mutexV(SDL_mutex * mutex) in SDL_mutexV()
/third_party/ffmpeg/libavutil/
Dthread.h61 static inline int strict_pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) in strict_pthread_mutex_init()
75 static inline int strict_pthread_mutex_destroy(pthread_mutex_t *mutex) in strict_pthread_mutex_destroy()
80 static inline int strict_pthread_mutex_lock(pthread_mutex_t *mutex) in strict_pthread_mutex_lock()
85 static inline int strict_pthread_mutex_unlock(pthread_mutex_t *mutex) in strict_pthread_mutex_unlock()
110 static inline int strict_pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in strict_pthread_cond_wait()
115 static inline int strict_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in strict_pthread_cond_timedwait()
167 static inline int ff_mutex_init(AVMutex *mutex, const void *attr){ return 0; } in ff_mutex_init()
168 static inline int ff_mutex_lock(AVMutex *mutex){ return 0; } in ff_mutex_lock()
169 static inline int ff_mutex_unlock(AVMutex *mutex){ return 0; } in ff_mutex_unlock()
170 static inline int ff_mutex_destroy(AVMutex *mutex){ return 0; } in ff_mutex_destroy()
/third_party/mingw-w64/mingw-w64-libraries/winpthreads/tests_pthread/
Dbenchlib.c78 old_mutex_init(old_mutex_t *mutex, const old_mutexattr_t *attr) in old_mutex_init()
181 old_mutex_lock(old_mutex_t *mutex) in old_mutex_lock()
220 old_mutex_unlock(old_mutex_t *mutex) in old_mutex_unlock()
253 old_mutex_trylock(old_mutex_t *mutex) in old_mutex_trylock()
306 old_mutex_destroy(old_mutex_t *mutex) in old_mutex_destroy()
/third_party/glib/glib/deprecated/
Dgthread-deprecated.c471 g_static_mutex_init (GStaticMutex *mutex) in g_static_mutex_init()
510 g_static_mutex_get_mutex_impl (GStaticMutex* mutex) in g_static_mutex_get_mutex_impl()
590 g_static_mutex_free (GStaticMutex* mutex) in g_static_mutex_free()
657 g_static_rec_mutex_init (GStaticRecMutex *mutex) in g_static_rec_mutex_init()
667 g_static_rec_mutex_get_rec_mutex_impl (GStaticRecMutex* mutex) in g_static_rec_mutex_get_rec_mutex_impl()
706 g_static_rec_mutex_lock (GStaticRecMutex* mutex) in g_static_rec_mutex_lock()
729 g_static_rec_mutex_trylock (GStaticRecMutex* mutex) in g_static_rec_mutex_trylock()
756 g_static_rec_mutex_unlock (GStaticRecMutex* mutex) in g_static_rec_mutex_unlock()
775 g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, in g_static_rec_mutex_lock_full()
806 g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex) in g_static_rec_mutex_unlock_full()
[all …]
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/locking/
Dtry_lock_pass.cpp28 struct mutex struct
40 mutex m; argument
Dunlock_pass.cpp28 struct mutex struct
39 mutex m; argument
Dtry_lock_for_pass.cpp33 struct mutex struct
47 mutex m; argument
Dtry_lock_until_pass.cpp31 struct mutex struct
46 mutex m; argument
/third_party/glib/glib/
Dgthread-posix.c103 pthread_mutex_t *mutex; in g_mutex_impl_new() local
130 g_mutex_impl_free (pthread_mutex_t *mutex) in g_mutex_impl_free()
137 g_mutex_get_impl (GMutex *mutex) in g_mutex_get_impl()
185 g_mutex_init (GMutex *mutex) in g_mutex_init()
205 g_mutex_clear (GMutex *mutex) in g_mutex_clear()
224 g_mutex_lock (GMutex *mutex) in g_mutex_lock()
243 g_mutex_unlock (GMutex *mutex) in g_mutex_unlock()
267 g_mutex_trylock (GMutex *mutex) in g_mutex_trylock()
288 pthread_mutex_t *mutex; in g_rec_mutex_impl_new() local
303 g_rec_mutex_impl_free (pthread_mutex_t *mutex) in g_rec_mutex_impl_free()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DSynchronizedValue.h29 ConstStrictLockPtr(const T &value, Lockable &mutex) : mLock(mutex), mValue(value) {} in ConstStrictLockPtr()
30 ConstStrictLockPtr(const T &value, Lockable &mutex, std::adopt_lock_t) noexcept in ConstStrictLockPtr()
58 StrictLockPtr(T &value, Lockable &mutex) : BaseType(value, mutex) {} in StrictLockPtr()
59 StrictLockPtr(T &value, Lockable &mutex, std::adopt_lock_t) noexcept in StrictLockPtr()

12345678910>>...21