/hardware/google/av/media/v4l2store/ |
C2VDAComponentStore.cpp | 18 #include <mutex> 128 std::mutex mMutex; ///< mutex guarding the module 264 std::lock_guard<std::mutex> lock(mMutex); 396 static std::mutex mutex; local 398 std::lock_guard<std::mutex> lock(mutex);
|
/hardware/intel/common/libwsbm/src/ |
wsbm_fencemgr.c | 48 struct _WsbmMutex mutex; member in struct:_WsbmFenceClass 53 * Note: The struct _WsbmFenceMgr::Mutex should never be held 61 * Constant members. Need no mutex protection. 67 * Atomic members. No mutex protection. 73 * These members are protected by this->mutex 84 * These members are constant and need no mutex protection. 86 * mutex protection, that we don't care about. 95 * Atomic members. No mutex protection. note that 104 * These members are protected by mgr->mutex. 135 ret = WSBM_MUTEX_INIT(&fc->mutex); [all...] |
wsbm_userpool.c | 63 /* Protected by the pool mutex */ 68 /* Protected by the buffer mutex */ 99 struct _WsbmMutex mutex; member in struct:_WsbmUserPool 127 WSBM_COND_WAIT(&vBuf->event, &buf->mutex); 134 WSBM_MUTEX_UNLOCK(&buf->mutex); 137 WSBM_MUTEX_LOCK(&buf->mutex); 153 WSBM_MUTEX_UNLOCK(&buf->mutex); 155 WSBM_MUTEX_UNLOCK(&buf->mutex); 174 WSBM_MUTEX_UNLOCK(&p->mutex); 175 WSBM_MUTEX_LOCK(&vBuf->buf.mutex); [all...] |
/prebuilts/ndk/r16/sources/android/native_app_glue/ |
android_native_app_glue.h | 167 pthread_mutex_t mutex; member in struct:android_app
|
/system/extras/libfec/ |
fec_private.h | 104 pthread_mutex_t mutex; member in struct:fec_handle
|
/art/openjdkjvm/ |
OpenjdkJvm.cc | 135 pthread_mutex_t* mutex = local 137 CHECK(mutex != nullptr); 138 CHECK_PTHREAD_CALL(pthread_mutex_init, (mutex, nullptr), "JVM_RawMonitorCreate"); 139 return mutex;
|
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/ |
poc.c | 106 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
|
/device/google/marlin/camera/usbcamcore/src/ |
QCameraMjpegDecode.cpp | 107 pthread_mutex_t mutex; member in struct:__anon2696 213 os_mutex_init(&thread_ctrl_blks[i].mutex); 449 os_mutex_lock(&p_thread_arg->mutex); 452 rc = mjpegd_cond_timedwait(&p_thread_arg->cond, &p_thread_arg->mutex, p_args->abort_time); 456 os_mutex_unlock(&p_thread_arg->mutex); 467 os_mutex_unlock(&p_thread_arg->mutex); 470 os_mutex_lock(&p_thread_arg->mutex); 473 os_cond_wait(&p_thread_arg->cond, &p_thread_arg->mutex); 475 os_mutex_unlock(&p_thread_arg->mutex); 566 os_mutex_lock(&p_thread_arg->mutex); [all...] |
/external/clang/tools/scan-build-py/libear/ |
ear.c | 98 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 143 pthread_mutex_lock(&mutex); 146 pthread_mutex_unlock(&mutex); 150 pthread_mutex_lock(&mutex); 153 pthread_mutex_unlock(&mutex); 416 pthread_mutex_lock(&mutex); 448 pthread_mutex_unlock(&mutex);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_deadlock_detector2.cc | 77 struct Mutex { 105 Mutex *getMutex(u32 id); 106 u32 getMutexId(Mutex *m); 110 Mutex* mutex[kL1Size]; member in struct:__sanitizer::DD 160 Mutex *DD::getMutex(u32 id) { 161 return &mutex[id / kL2Size][id % kL2Size]; 164 u32 DD::getMutexId(Mutex *m) { 166 Mutex *tab = mutex[i] [all...] |
sanitizer_stoptheworld_linux_libcdep.cc | 90 // The tracer thread waits on this mutex while the parent finishes its 92 BlockingMutex mutex; member in struct:__sanitizer::TracerThreadArgument 265 tracer_thread_argument->mutex.Lock(); 266 tracer_thread_argument->mutex.Unlock(); 383 tracer_thread_argument.mutex.Lock(); 417 tracer_thread_argument.mutex.Unlock(); 426 tracer_thread_argument.mutex.Unlock();
|
/external/deqp/framework/delibs/dethread/ |
deThreadTest.c | 176 deMutex mutex = *((deMutex*)arg); local 178 deMutex_lock(mutex); 179 deMutex_unlock(mutex); 184 deMutex mutex; member in struct:MutexData2_s 198 deMutex_lock(data->mutex); 202 deMutex_unlock(data->mutex); 213 deMutex_unlock(data->mutex); 218 deMutex_lock(data->mutex); 220 deMutex_unlock(data->mutex); 225 deMutex mutex = *((deMutex*)arg) local 236 deMutex mutex = deMutex_create(DE_NULL); local 254 deMutex mutex; local 276 deMutex mutex; local 338 deMutex mutex = deMutex_create(DE_NULL); local [all...] |
/external/fio/profiles/ |
act.c | 41 struct fio_mutex *mutex; member in struct:act_run_data 344 fio_mutex_down(act_run_data->mutex); 346 fio_mutex_up(act_run_data->mutex); 403 fio_mutex_down(act_run_data->mutex); 423 fio_mutex_up(act_run_data->mutex); 471 act_run_data->mutex = fio_mutex_init(FIO_MUTEX_UNLOCKED); 483 fio_mutex_remove(act_run_data->mutex);
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest-port_test.cc | 272 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data); local 273 pthread_mutex_lock(mutex); 274 pthread_mutex_unlock(mutex); 280 pthread_mutex_t mutex; local 284 // TODO(vladl@google.com): turn mutex into internal::Mutex for automatic 286 pthread_mutex_init(&mutex, NULL); 287 pthread_mutex_lock(&mutex); 291 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 295 pthread_mutex_unlock(&mutex); 1059 Mutex mutex; local [all...] |
/external/googletest/googletest/test/ |
gtest-port_test.cc | 309 internal::Mutex* mutex = static_cast<internal::Mutex*>(data); local 310 mutex->Lock(); 311 mutex->Unlock(); 319 internal::Mutex mutex; local 321 internal::MutexLock lock(&mutex); 326 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 1038 Mutex m 1103 Mutex mutex; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Synchronized.java | 48 * serializable if the backing collection and the mutex are serializable. 50 * <p>If {@code null} is passed as the {@code mutex} parameter to any of this 52 * uses itself as the synchronization mutex. 65 final Object mutex; field in class:Synchronized.SynchronizedObject 67 SynchronizedObject(Object delegate, @Nullable Object mutex) { 69 this.mutex = (mutex == null) ? this : mutex; 79 synchronized (mutex) { 91 synchronized (mutex) { [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Synchronized.java | 42 * serializable if the backing collection and the mutex are serializable. 44 * <p>If {@code null} is passed as the {@code mutex} parameter to any of this 46 * uses itself as the synchronization mutex. 59 final Object mutex; field in class:Synchronized.SynchronizedObject 61 SynchronizedObject(Object delegate, @Nullable Object mutex) { 63 this.mutex = (mutex == null) ? this : mutex; 73 synchronized (mutex) { 85 Collection<E> collection, @Nullable Object mutex) { [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedNavigableMapTest.java | 49 TestMap<K, V> inner = new TestMap<K, V>(innermost, mutex); 50 NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex); 57 private final Object mutex; field in class:SynchronizedNavigableMapTest.TestEntry 59 TestEntry(Entry<K, V> delegate, Object mutex) { 61 this.mutex = mutex; 69 assertTrue(Thread.holdsLock(mutex)); 74 assertTrue(Thread.holdsLock(mutex)); 79 assertTrue(Thread.holdsLock(mutex)); 84 assertTrue(Thread.holdsLock(mutex)); [all...] |
/external/libmicrohttpd/src/examples/ |
demo.c | 182 * Mutex used when we update the cached directory response object. 184 static pthread_mutex_t mutex; variable 215 (void) pthread_mutex_lock (&mutex); 219 (void) pthread_mutex_unlock (&mutex); 645 (void) pthread_mutex_lock (&mutex); 654 (void) pthread_mutex_unlock (&mutex); 863 (void) pthread_mutex_init (&mutex, NULL); 902 (void) pthread_mutex_destroy (&mutex);
|
demo_https.c | 183 * Mutex used when we update the cached directory response object. 185 static pthread_mutex_t mutex; variable 216 (void) pthread_mutex_lock (&mutex); 220 (void) pthread_mutex_unlock (&mutex); 646 (void) pthread_mutex_lock (&mutex); 655 (void) pthread_mutex_unlock (&mutex); 914 (void) pthread_mutex_init (&mutex, NULL); 955 (void) pthread_mutex_destroy (&mutex);
|
/external/libvncserver/libvncclient/ |
tls_openssl.c | 32 #define MUTEX_INIT(mutex) InitializeCriticalSection(&mutex) 33 #define MUTEX_FREE(mutex) DeleteCriticalSection(&mutex) 34 #define MUTEX_LOCK(mutex) EnterCriticalSection(&mutex) 35 #define MUTEX_UNLOCK(mutex) LeaveCriticalSection(&mutex) 39 #define MUTEX_INIT(mutex) {\ 43 pthread_mutex_init(&mutex, &mutexAttr); 67 MUTEX_TYPE mutex; member in struct:CRYPTO_dynlock_value [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_ethread.c | 298 // Deallocate row based multi-threading synchronization related mutex and data 330 pthread_mutex_t *const mutex = &row_mt_sync->mutex_[r - 1]; local 331 pthread_mutex_lock(mutex); 334 pthread_cond_wait(&row_mt_sync->cond_[r - 1], mutex); 336 pthread_mutex_unlock(mutex);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_simulator.c | 65 mtx_t mutex; member in struct:vc4_simulator_state 77 .mutex = _MTX_INITIALIZER_NP, 145 mtx_lock(&sim_state.mutex); 147 mtx_unlock(&sim_state.mutex); 161 mtx_lock(&sim_state.mutex); 163 mtx_unlock(&sim_state.mutex); 179 mtx_lock(&sim_state.mutex); 187 mtx_unlock(&sim_state.mutex); 194 mtx_lock(&sim_state.mutex); 197 mtx_unlock(&sim_state.mutex); [all...] |
/external/mesa3d/src/gallium/state_trackers/va/ |
va_private.h | 211 pipe_mutex mutex; member in struct:__anon30230
|
/external/mesa3d/src/vulkan/wsi/ |
wsi_common_wayland.c | 64 pthread_mutex_t mutex; member in struct:wsi_wayland 312 pthread_mutex_lock(&wsi->mutex); 318 * mutex for now so we don't block up too badly. 320 pthread_mutex_unlock(&wsi->mutex); 326 pthread_mutex_lock(&wsi->mutex); 337 pthread_mutex_unlock(&wsi->mutex); 792 int ret = pthread_mutex_init(&wsi->mutex, NULL); 822 pthread_mutex_destroy(&wsi->mutex); 846 pthread_mutex_destroy(&wsi->mutex);
|