Home
last modified time | relevance | path

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

12345678910>>...21

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/sync/
DMutexTest.kt13 val mutex = Mutex() in <lambda>() constant
35 val mutex = Mutex() in tryLockTest() constant
53 val mutex = Mutex() in <lambda>() constant
64 val mutex = Mutex(true) in testUnconfinedStackOverflow() constant
79 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/pigweed/pw_sync/
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()
31 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_Duration for_at_least) { in pw_sync_TimedMutex_CallTryLockFor()
36 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_TimePoint until_at_least) { in pw_sync_TimedMutex_CallTryLockUntil()
40 void pw_sync_TimedMutex_CallUnlock(pw_sync_TimedMutex* mutex) { in pw_sync_TimedMutex_CallUnlock()
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 for_at_least) { in pw_sync_TimedMutex_TryLockFor()
33 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_TimePoint until_at_least) { 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.cc51 pw::sync::TimedMutex mutex; in TEST() local
67 pw::sync::TimedMutex mutex; in TEST() local
78 pw::sync::TimedMutex mutex; in TEST() local
98 pw::sync::TimedMutex mutex; in TEST() local
118 pw::sync::TimedMutex mutex; in TEST() local
124 pw::sync::TimedMutex mutex; in TEST() local
132 pw::sync::TimedMutex mutex; in TEST() local
154 pw::sync::TimedMutex mutex; in TEST() local
Dmutex_facade_test_c.c22 void pw_sync_Mutex_CallLock(pw_sync_Mutex* mutex) { pw_sync_Mutex_Lock(mutex); } in pw_sync_Mutex_CallLock()
24 bool pw_sync_Mutex_CallTryLock(pw_sync_Mutex* mutex) { in pw_sync_Mutex_CallTryLock()
28 void pw_sync_Mutex_CallUnlock(pw_sync_Mutex* mutex) { in pw_sync_Mutex_CallUnlock()
Dmutex.cc17 extern "C" void pw_sync_Mutex_Lock(pw_sync_Mutex* mutex) { mutex->lock(); } in pw_sync_Mutex_Lock()
19 extern "C" bool pw_sync_Mutex_TryLock(pw_sync_Mutex* mutex) { in pw_sync_Mutex_TryLock()
23 extern "C" void pw_sync_Mutex_Unlock(pw_sync_Mutex* mutex) { mutex->unlock(); } in pw_sync_Mutex_Unlock()
/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/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
Dmember_swap.pass.cpp22 struct mutex struct
28 mutex m; argument
/external/llvm-project/libcxx/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/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/llvm-project/libcxx/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/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/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/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/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/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
/external/rust/crates/futures/tests/
Dmutex.rs7 let mutex = Mutex::new(()); in mutex_acquire_uncontested() localVariable
20 let mutex = Mutex::new(()); in mutex_wakes_waiters() localVariable
54 let mutex = Arc::new(Mutex::new(0)); in mutex_contested() localVariable
59 let mutex = mutex.clone(); in mutex_contested() localVariable
/external/guava/android/guava/src/com/google/common/collect/
DSynchronized.java63 final Object mutex; field in Synchronized.SynchronizedObject
65 SynchronizedObject(Object delegate, @NullableDecl Object mutex) { in SynchronizedObject()
100 Collection<E> collection, @NullableDecl Object mutex) { in collection()
106 private SynchronizedCollection(Collection<E> delegate, @NullableDecl Object mutex) { in SynchronizedCollection()
209 static <E> Set<E> set(Set<E> set, @NullableDecl Object mutex) { in set()
215 SynchronizedSet(Set<E> delegate, @NullableDecl Object mutex) { in SynchronizedSet()
244 private static <E> SortedSet<E> sortedSet(SortedSet<E> set, @NullableDecl Object mutex) { in sortedSet()
249 SynchronizedSortedSet(SortedSet<E> delegate, @NullableDecl Object mutex) { in SynchronizedSortedSet()
303 private static <E> List<E> list(List<E> list, @NullableDecl Object mutex) { in list()
310 SynchronizedList(List<E> delegate, @NullableDecl Object mutex) { in SynchronizedList()
[all …]
/external/guava/guava/src/com/google/common/collect/
DSynchronized.java71 final Object mutex; field in Synchronized.SynchronizedObject
73 SynchronizedObject(Object delegate, @Nullable Object mutex) { in SynchronizedObject()
107 private static <E> Collection<E> collection(Collection<E> collection, @Nullable Object mutex) { in collection()
113 private SynchronizedCollection(Collection<E> delegate, @Nullable Object mutex) { in SynchronizedCollection()
251 static <E> Set<E> set(Set<E> set, @Nullable Object mutex) { in set()
257 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { in SynchronizedSet()
286 private static <E> SortedSet<E> sortedSet(SortedSet<E> set, @Nullable Object mutex) { in sortedSet()
291 SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) { in SynchronizedSortedSet()
345 private static <E> List<E> list(List<E> list, @Nullable Object mutex) { in list()
352 SynchronizedList(List<E> delegate, @Nullable Object mutex) { in SynchronizedList()
[all …]
/external/jemalloc_new/src/
Dmutex.c47 malloc_mutex_lock_slow(malloc_mutex_t *mutex) { in malloc_mutex_lock_slow()
112 malloc_mutex_prof_data_reset(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_prof_data_reset()
134 malloc_mutex_init(malloc_mutex_t *mutex, const char *name, in malloc_mutex_init()
186 malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_prefork()
191 malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_postfork_parent()
196 malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex) { in malloc_mutex_postfork_child()

12345678910>>...21