Home
last modified time | relevance | path

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

12345678910>>...24

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/sync/
DMutexTest.kt14 val mutex = Mutex() in <lambda>() constant
36 val mutex = Mutex() in tryLockTest() constant
54 val mutex = Mutex() in <lambda>() constant
65 val mutex = Mutex(true) in testUnconfinedStackOverflow() constant
80 val mutex = Mutex() in <lambda>() constant
114 val mutex = Mutex() in testUnlockWithNullOwner() constant
126 val mutex = Mutex() in <lambda>() constant
144 val mutex = Mutex() in <lambda>() constant
/external/deqp/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()
/external/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()
/external/pigweed/pw_sync/
Dtimed_mutex.cc19 extern "C" void pw_sync_TimedMutex_Lock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_Lock()
23 extern "C" bool pw_sync_TimedMutex_TryLock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_TryLock()
28 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_Duration timeout) { in pw_sync_TimedMutex_TryLockFor()
33 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_TimePoint deadline) { in pw_sync_TimedMutex_TryLockUntil()
38 extern "C" void pw_sync_TimedMutex_Unlock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_Unlock()
Dtimed_mutex_facade_test_c.c22 void pw_sync_TimedMutex_CallLock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_CallLock()
26 bool pw_sync_TimedMutex_CallTryLock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_CallTryLock()
30 bool pw_sync_TimedMutex_CallTryLockFor(pw_sync_TimedMutex* mutex, in pw_sync_TimedMutex_CallTryLockFor()
36 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_TimePoint deadline) { in pw_sync_TimedMutex_CallTryLockUntil()
40 void pw_sync_TimedMutex_CallUnlock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_CallUnlock()
Dtimed_mutex_facade_test.cc51 pw::sync::TimedMutex mutex; in TEST() local
69 pw::sync::TimedMutex mutex; in TEST() local
81 pw::sync::TimedMutex mutex; in TEST() local
100 pw::sync::TimedMutex mutex; in TEST() local
119 pw::sync::VirtualTimedMutex mutex; in TEST() local
137 pw::sync::TimedMutex mutex; in TEST() local
143 pw::sync::TimedMutex mutex; in TEST() local
152 pw::sync::TimedMutex mutex; in TEST() local
170 pw::sync::TimedMutex mutex; in TEST() local
Dmutex_facade_test.cc35 pw::sync::Mutex mutex; in TEST() local
51 pw::sync::Mutex mutex; in TEST() local
62 pw::sync::VirtualMutex mutex; in TEST() local
78 pw::sync::Mutex mutex; in TEST() local
84 pw::sync::Mutex mutex; in TEST() local
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
Drelease.pass.cpp21 struct mutex struct
29 int mutex::lock_count = 0; argument
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
Drelease.pass.cpp22 struct mutex struct
30 int mutex::lock_count = 0; argument
/external/deqp/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()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/
Drelease.pass.cpp23 struct mutex struct
31 int mutex::lock_count = 0; argument
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.mod/
Drelease.pass.cpp22 struct mutex struct
30 int mutex::lock_count = 0; argument
/external/libcups/cups/
Dthread.c47 _cups_mutex_t *mutex, /* I - Mutex */ in _cupsCondWait()
77 _cupsMutexInit(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexInit()
88 _cupsMutexLock(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexLock()
99 _cupsMutexUnlock(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexUnlock()
238 _cups_mutex_t *mutex, /* I - Mutex */ in _cupsCondWait()
250 _cupsMutexInit(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexInit()
262 _cupsMutexLock(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexLock()
286 _cupsMutexUnlock(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexUnlock()
415 _cups_mutex_t *mutex, /* I - Mutex */ in _cupsCondWait()
427 _cupsMutexInit(_cups_mutex_t *mutex) /* I - Mutex */ in _cupsMutexInit()
[all …]
/external/XNNPACK/src/
Dmutex.c24 enum xnn_status xnn_mutex_init(struct xnn_mutex* mutex) { in xnn_mutex_init()
50 enum xnn_status xnn_mutex_lock(struct xnn_mutex* mutex) { in xnn_mutex_lock()
73 enum xnn_status xnn_mutex_unlock(struct xnn_mutex* mutex) { in xnn_mutex_unlock()
91 enum xnn_status xnn_mutex_destroy(struct xnn_mutex* mutex) { in xnn_mutex_destroy()
/external/openthread/third_party/mbedtls/repo/library/
Dthreading.c65 static void threading_mutex_init_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_init_pthread()
79 static void threading_mutex_free_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_free_pthread()
88 static int threading_mutex_lock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_lock_pthread()
99 static int threading_mutex_unlock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_unlock_pthread()
123 static int threading_mutex_fail( mbedtls_threading_mutex_t *mutex ) in threading_mutex_fail()
128 static void threading_mutex_dummy( mbedtls_threading_mutex_t *mutex ) in threading_mutex_dummy()
/external/mbedtls/library/
Dthreading.c65 static void threading_mutex_init_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_init_pthread()
79 static void threading_mutex_free_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_free_pthread()
88 static int threading_mutex_lock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_lock_pthread()
99 static int threading_mutex_unlock_pthread( mbedtls_threading_mutex_t *mutex ) in threading_mutex_unlock_pthread()
123 static int threading_mutex_fail( mbedtls_threading_mutex_t *mutex ) in threading_mutex_fail()
128 static void threading_mutex_dummy( mbedtls_threading_mutex_t *mutex ) in threading_mutex_dummy()
/external/gemmlowp/profiling/
Dpthread_everywhere.h53 inline void pthread_mutex_init(pthread_mutex_t *mutex, std::nullptr_t) { in pthread_mutex_init()
56 inline void pthread_mutex_lock(pthread_mutex_t *mutex) { (*mutex)->lock(); } in pthread_mutex_lock()
57 inline void pthread_mutex_unlock(pthread_mutex_t *mutex) { (*mutex)->unlock(); } in pthread_mutex_unlock()
58 inline void pthread_mutex_destroy(pthread_mutex_t *mutex) { delete *mutex; } in pthread_mutex_destroy()
66 inline void pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) { in pthread_cond_wait()
/external/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
/external/llvm/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
/external/guava/android/guava/src/com/google/common/collect/
DSynchronized.java73 final Object mutex; field in Synchronized.SynchronizedObject
75 SynchronizedObject(Object delegate, @CheckForNull Object mutex) { in SynchronizedObject()
110 Collection<E> collection, @CheckForNull Object mutex) { in collection()
117 private SynchronizedCollection(Collection<E> delegate, @CheckForNull Object mutex) { in SynchronizedCollection()
221 static <E extends @Nullable Object> Set<E> set(Set<E> set, @CheckForNull Object mutex) { in set()
228 SynchronizedSet(Set<E> delegate, @CheckForNull Object mutex) { in SynchronizedSet()
258 SortedSet<E> set, @CheckForNull Object mutex) { in sortedSet()
264 SynchronizedSortedSet(SortedSet<E> delegate, @CheckForNull Object mutex) { in SynchronizedSortedSet()
320 List<E> list, @CheckForNull Object mutex) { in list()
328 SynchronizedList(List<E> delegate, @CheckForNull Object mutex) { in SynchronizedList()
[all …]
/external/rust/crates/futures/tests/
Dlock_mutex.rs13 let mutex = Mutex::new(()); in mutex_acquire_uncontested() localVariable
21 let mutex = Mutex::new(()); in mutex_wakes_waiters() localVariable
44 let mutex = Arc::new(Mutex::new(0)); in mutex_contested() localVariable
49 let mutex = mutex.clone(); in mutex_contested() localVariable
/external/guava/guava/src/com/google/common/collect/
DSynchronized.java81 final Object mutex; field in Synchronized.SynchronizedObject
83 SynchronizedObject(Object delegate, @CheckForNull Object mutex) { in SynchronizedObject()
118 Collection<E> collection, @CheckForNull Object mutex) { in collection()
125 private SynchronizedCollection(Collection<E> delegate, @CheckForNull Object mutex) { in SynchronizedCollection()
264 static <E extends @Nullable Object> Set<E> set(Set<E> set, @CheckForNull Object mutex) { in set()
271 SynchronizedSet(Set<E> delegate, @CheckForNull Object mutex) { in SynchronizedSet()
301 SortedSet<E> set, @CheckForNull Object mutex) { in sortedSet()
307 SynchronizedSortedSet(SortedSet<E> delegate, @CheckForNull Object mutex) { in SynchronizedSortedSet()
363 List<E> list, @CheckForNull Object mutex) { in list()
371 SynchronizedList(List<E> delegate, @CheckForNull Object mutex) { in SynchronizedList()
[all …]
/external/openthread/third_party/mbedtls/repo/tests/src/
Dthreading_helpers.c101 static void mbedtls_test_mutex_usage_error( mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
114 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()
/external/mbedtls/tests/src/
Dthreading_helpers.c101 static void mbedtls_test_mutex_usage_error( mbedtls_threading_mutex_t *mutex, in mbedtls_test_mutex_usage_error()
114 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()

12345678910>>...24