Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/vk-gl-cts/framework/delibs/dethread/win32/
DdeMutexWin32.c65 void deMutex_destroy (deMutex mutex) in deMutex_destroy()
71 void deMutex_lock (deMutex mutex) in deMutex_lock()
76 void deMutex_unlock (deMutex mutex) in deMutex_unlock()
81 deBool deMutex_tryLock (deMutex mutex) in deMutex_tryLock()
101 void deMutex_destroy (deMutex mutex) in deMutex_destroy()
107 void deMutex_lock (deMutex mutex) in deMutex_lock()
114 void deMutex_unlock (deMutex mutex) in deMutex_unlock()
121 deBool deMutex_tryLock (deMutex mutex) in deMutex_tryLock()
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
DdeMutexUnix.c40 pthread_mutex_t* mutex = deMalloc(sizeof(pthread_mutex_t)); in deMutex_create() local
88 void deMutex_destroy (deMutex mutex) in deMutex_destroy()
96 void deMutex_lock (deMutex mutex) in deMutex_lock()
103 void deMutex_unlock (deMutex mutex) in deMutex_unlock()
110 deBool deMutex_tryLock (deMutex mutex) in deMutex_tryLock()
/third_party/mbedtls/library/
Dthreading.c65 static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_init_pthread()
80 static void threading_mutex_free_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_free_pthread()
90 static int threading_mutex_lock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_lock_pthread()
103 static int threading_mutex_unlock_pthread(mbedtls_threading_mutex_t *mutex) in threading_mutex_unlock_pthread()
129 static int threading_mutex_fail(mbedtls_threading_mutex_t *mutex) in threading_mutex_fail()
134 static void threading_mutex_dummy(mbedtls_threading_mutex_t *mutex) in threading_mutex_dummy()
/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/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/mbedtls/tests/src/
Dthreading_helpers.c99 static void mbedtls_test_mutex_usage_error(mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
113 static void mbedtls_test_wrap_mutex_init(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_init()
121 static void mbedtls_test_wrap_mutex_free(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_free()
144 static int mbedtls_test_wrap_mutex_lock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_lock()
166 static int mbedtls_test_wrap_mutex_unlock(mbedtls_threading_mutex_t *mutex) in mbedtls_test_wrap_mutex_unlock()
/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()
/third_party/skia/third_party/externals/microhttpd/src/include/
Dplatform_interface.h252 #define MHD_mutex_create_(mutex) \ argument
260 #define MHD_mutex_create_(mutex) \ argument
270 #define MHD_mutex_destroy_(mutex) \ argument
278 #define MHD_mutex_destroy_(mutex) \ argument
290 #define MHD_mutex_lock_(mutex) \ argument
300 #define MHD_mutex_lock_(mutex) \ argument
312 #define MHD_mutex_trylock_(mutex) \ argument
322 #define MHD_mutex_trylock_(mutex) \ argument
332 #define MHD_mutex_unlock_(mutex) \ argument
340 #define MHD_mutex_unlock_(mutex) \ argument
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_mutex_timedlock.c33 pthread_mutex_t mutex; in pthread_mutex_timedlock_0100() local
55 pthread_mutex_t mutex; in pthread_mutex_timedlock_0200() local
77 pthread_mutex_t mutex; in pthread_mutex_timedlock_0300() local
100 pthread_mutex_t mutex; in pthread_mutex_timedlock_time64_0100() local
Dmtx_timedlock.c35 mtx_t mutex; in mtx_timedlock_0100() local
59 mtx_t mutex; in mtx_timedlock_0200() local
94 mtx_t mutex; in mtx_timedlock_time64_0100() local
/third_party/node/deps/v8/src/heap/
Dparked-scope.h51 explicit ParkedMutexGuard(LocalIsolate* local_isolate, base::Mutex* mutex) in ParkedMutexGuard()
53 explicit ParkedMutexGuard(LocalHeap* local_heap, base::Mutex* mutex) in ParkedMutexGuard()
76 base::SharedMutex* mutex, bool enable_mutex) in ParkedSharedMutexGuardIf()
78 ParkedSharedMutexGuardIf(LocalHeap* local_heap, base::SharedMutex* mutex, in ParkedSharedMutexGuardIf()
/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp45 pthread_mutex_t mutex; in Bm_function_pthread_mutex_trylock_fast() local
60 pthread_mutex_t mutex; in Bm_function_pthread_mutex_trylock_errchk() local
75 pthread_mutex_t mutex; in Bm_function_pthread_mutex_trylock_rec() local
90 pthread_mutex_t mutex; in Bm_function_pthread_mutex_trylock_pi_fast() local
105 pthread_mutex_t mutex; in Bm_function_pthread_mutex_trylock_pi_errorcheck() local
120 pthread_mutex_t mutex; in Bm_function_pthread_mutex_trylock_pi_rec() local
136 pthread_mutex_t mutex; in Bm_function_pthread_mutex_timedlock_fast() local
153 pthread_mutex_t mutex; in Bm_function_pthread_mutex_timedlock_errchk() local
170 pthread_mutex_t mutex; in Bm_function_pthread_mutex_timedlock_rec() local
187 pthread_mutex_t mutex; in Bm_function_pthread_mutex_timedlock_pi_fast() local
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dpthread_cond_test.cpp63 …clockid_t clock, int (*testWaitFunc)(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec*… in MakeTimeout()
156 …MakeTimeout(CLOCK_MONOTONIC, [](pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* time… in __anonaf1334be0102()
160 …MakeTimeout(CLOCK_MONOTONIC, [](pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* time… in __anonaf1334be0202()
177 …MakeTimeout(CLOCK_REALTIME, [](pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* timeo… in __anonaf1334be0302()
181 …MakeTimeout(CLOCK_REALTIME, [](pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* timeo… in __anonaf1334be0402()
/third_party/ffmpeg/compat/
Dos2threads.h104 static av_always_inline int pthread_mutex_init(pthread_mutex_t *mutex, in pthread_mutex_init()
112 static av_always_inline int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy()
119 static av_always_inline int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock()
126 static av_always_inline int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
171 pthread_mutex_t *mutex, in pthread_cond_timedwait()
193 pthread_mutex_t *mutex) in pthread_cond_wait()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_mutex.cpp59 void SetInnermostMutex (dng_mutex *mutex) in SetInnermostMutex()
231 dng_lock_mutex::dng_lock_mutex (dng_mutex *mutex) in dng_lock_mutex()
254 dng_unlock_mutex::dng_unlock_mutex (dng_mutex *mutex) in dng_unlock_mutex()
311 bool dng_condition::Wait (dng_mutex &mutex, double timeoutSecs) in Wait()
/third_party/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h45 #define pipe_mutex_assert_locked(mutex) \ argument
49 __pipe_mutex_assert_locked(mtx_t *mutex) in __pipe_mutex_assert_locked()
71 mtx_t mutex; member
/third_party/openh264/codec/common/src/
DWelsThreadLib.cpp74 WELS_THREAD_ERROR_CODE WelsMutexInit (WELS_MUTEX* mutex) { in WelsMutexInit()
80 WELS_THREAD_ERROR_CODE WelsMutexLock (WELS_MUTEX* mutex) { in WelsMutexLock()
86 WELS_THREAD_ERROR_CODE WelsMutexUnlock (WELS_MUTEX* mutex) { in WelsMutexUnlock()
92 WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) { in WelsMutexDestroy()
100 WELS_THREAD_ERROR_CODE WelsMutexInit (WELS_MUTEX* mutex) { in WelsMutexInit()
104 WELS_THREAD_ERROR_CODE WelsMutexLock (WELS_MUTEX* mutex) { in WelsMutexLock()
108 WELS_THREAD_ERROR_CODE WelsMutexUnlock (WELS_MUTEX* mutex) { in WelsMutexUnlock()
112 WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) { in WelsMutexDestroy()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne()
59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo()
76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests()
94 absl::Mutex mutex; in TestLocals() local
/third_party/libuv/test/
Dtest-mutexes.c29 static uv_mutex_t mutex; variable
39 uv_mutex_t mutex; in TEST_IMPL() local
54 uv_mutex_t mutex; in TEST_IMPL() local
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
Drwmutex.h53 std::mutex mutex; variable
117 RLock::RLock(RWMutex& mutex) : m(&mutex) { in RLock()
169 WLock::WLock(RWMutex& mutex) : m(&mutex) { in WLock()
/third_party/node/deps/uv/src/win/
Dthread.c219 int uv_mutex_init(uv_mutex_t* mutex) { in uv_mutex_init()
225 int uv_mutex_init_recursive(uv_mutex_t* mutex) { in uv_mutex_init_recursive()
230 void uv_mutex_destroy(uv_mutex_t* mutex) { in uv_mutex_destroy()
235 void uv_mutex_lock(uv_mutex_t* mutex) { in uv_mutex_lock()
240 int uv_mutex_trylock(uv_mutex_t* mutex) { in uv_mutex_trylock()
248 void uv_mutex_unlock(uv_mutex_t* mutex) { in uv_mutex_unlock()
372 void uv_cond_wait(uv_cond_t* cond, uv_mutex_t* mutex) { in uv_cond_wait()
377 int uv_cond_timedwait(uv_cond_t* cond, uv_mutex_t* mutex, uint64_t timeout) { in uv_cond_timedwait()
/third_party/libuv/src/win/
Dthread.c219 int uv_mutex_init(uv_mutex_t* mutex) { in uv_mutex_init()
225 int uv_mutex_init_recursive(uv_mutex_t* mutex) { in uv_mutex_init_recursive()
230 void uv_mutex_destroy(uv_mutex_t* mutex) { in uv_mutex_destroy()
235 void uv_mutex_lock(uv_mutex_t* mutex) { in uv_mutex_lock()
240 int uv_mutex_trylock(uv_mutex_t* mutex) { in uv_mutex_trylock()
248 void uv_mutex_unlock(uv_mutex_t* mutex) { in uv_mutex_unlock()
372 void uv_cond_wait(uv_cond_t* cond, uv_mutex_t* mutex) { in uv_cond_wait()
377 int uv_cond_timedwait(uv_cond_t* cond, uv_mutex_t* mutex, uint64_t timeout) { in uv_cond_timedwait()
/third_party/ltp/testcases/kernel/sched/nptl/
Dnptl01.c72 void call_mutex_init(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_init()
82 void call_mutex_lock(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_lock()
92 void call_mutex_unlock(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_unlock()
112 void call_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex, in call_cond_wait()
133 void do_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, in do_timedwait()

12345678910>>...16