HomeSort by relevance Sort by last modified time
    Searched defs:mutex (Results 201 - 225 of 511) sorted by null

1 2 3 4 5 6 7 891011>>

  /device/generic/goldfish/wifi/wifi_hal/
wifi_hal.cpp 86 std::mutex mutex; local
87 std::unique_lock<std::mutex> lock(mutex);
94 auto callback = [&mutex, &stopped, &condition] {
95 std::unique_lock<std::mutex> lock(mutex);
  /device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/src/
mm_lib2d.c 82 * @mutex: lib2d mutex used for synchronization
91 pthread_mutex_t mutex; member in struct:mm_lib2d_obj_t
329 pthread_mutex_init(&lib2d_obj->mutex, NULL);
559 &lib2d_obj->mutex, 10000);
  /external/adhd/cras/src/server/
cras_dsp.c 28 pthread_mutex_t mutex; member in struct:cras_dsp_context
100 pthread_mutex_lock(&ctx->mutex);
103 pthread_mutex_unlock(&ctx->mutex);
151 pthread_mutex_init(&ctx->mutex, NULL);
164 pthread_mutex_destroy(&ctx->mutex);
194 pthread_mutex_lock(&ctx->mutex);
196 pthread_mutex_unlock(&ctx->mutex);
204 pthread_mutex_unlock(&ctx->mutex);
  /external/drm_gralloc/
gralloc_drm_pipe.c 43 pthread_mutex_t mutex; member in struct:pipe_manager
191 pthread_mutex_lock(&pm->mutex);
193 pthread_mutex_unlock(&pm->mutex);
210 pthread_mutex_lock(&pm->mutex);
216 pthread_mutex_unlock(&pm->mutex);
229 pthread_mutex_lock(&pm->mutex);
261 pthread_mutex_unlock(&pm->mutex);
272 pthread_mutex_lock(&pm->mutex);
281 pthread_mutex_unlock(&pm->mutex);
465 pthread_mutex_init(&pm->mutex, NULL)
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
RateLimiter.java 189 private Object mutex() { method in class:RateLimiter
190 Object mutex = mutexDoNotUseDirectly; local
191 if (mutex == null) {
193 mutex = mutexDoNotUseDirectly;
194 if (mutex == null) {
195 mutexDoNotUseDirectly = mutex = new Object();
199 return mutex;
228 synchronized (mutex()) { method
243 synchronized (mutex()) { method
286 synchronized (mutex()) { method
353 synchronized (mutex()) { method
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedBiMapTest.java 71 new TestBiMap<K, V>(HashBiMap.<K, V>create(), mutex);
72 BiMap<K, V> outer = Synchronized.biMap(inner, mutex);
79 Object mutex = new Object(); local
92 Object mutex = new Object(); local
94 new TestBiMap<String, String>(HashBiMap.<String, String>create(), mutex);
95 BiMap<String, String> result = Synchronized.biMap(backing, mutex);
107 public TestBiMap(BiMap<K, V> delegate, Object mutex) {
108 super(delegate, mutex);
114 assertTrue(Thread.holdsLock(mutex));
120 assertTrue(Thread.holdsLock(mutex));
    [all...]
SynchronizedQueueTest.java 34 Queue<String> outer = Synchronized.queue(inner, inner.mutex);
41 public final Object mutex = new Integer(1); // something Serializable field in class:SynchronizedQueueTest.TestQueue
45 assertTrue(Thread.holdsLock(mutex));
51 assertTrue(Thread.holdsLock(mutex));
57 assertTrue(Thread.holdsLock(mutex));
63 assertTrue(Thread.holdsLock(mutex));
69 assertTrue(Thread.holdsLock(mutex));
76 assertFalse(Thread.holdsLock(mutex));
82 assertTrue(Thread.holdsLock(mutex));
88 assertTrue(Thread.holdsLock(mutex));
    [all...]
  /external/icu/icu4c/source/i18n/
digitlst.cpp 41 #include "mutex.h"
146 Mutex mutex; local
439 Mutex mutex;
484 Mutex mutex;
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_multi_thread.c 33 // lock the mutex for queue access
74 // Create mutex for each tile
126 // Destroy mutex for each tile
195 pthread_mutex_t *mutex; local
202 mutex = &row_mt_info->job_mutex;
206 pthread_mutex_lock(mutex);
211 pthread_mutex_unlock(mutex);
  /external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
locks.h 23 pthread_mutex_t mutex; member in struct:lock_impl
28 BUG_ON(pthread_mutex_lock(&lock->mutex));
33 BUG_ON(pthread_mutex_unlock(&lock->mutex));
38 int err = pthread_mutex_trylock(&lock->mutex);
49 pthread_mutex_init(&lock->mutex, NULL);
52 #define LOCK_IMPL_INITIALIZER {.mutex = PTHREAD_MUTEX_INITIALIZER}
  /external/ltp/testcases/realtime/func/async_handler/
async_handler.c 63 pthread_mutex_t mutex; variable
97 pthread_mutex_lock(&mutex);
99 if (pthread_cond_wait(&cond, &mutex) != 0) {
105 pthread_mutex_unlock(&mutex);
130 pthread_mutex_lock(&mutex);
137 pthread_mutex_unlock(&mutex);
186 init_pi_mutex(&mutex);
async_handler_tsc.c 71 pthread_mutex_t mutex; variable
113 pthread_mutex_lock(&mutex);
115 if (pthread_cond_wait(&cond, &mutex) != 0) {
121 pthread_mutex_unlock(&mutex);
145 pthread_mutex_lock(&mutex);
152 pthread_mutex_unlock(&mutex);
215 init_pi_mutex(&mutex);
  /external/ltp/testcases/realtime/func/prio-preempt/
prio-preempt.c 82 static pthread_mutex_t mutex[NUM_WORKERS + 1]; variable
179 rc = pthread_mutex_lock(&mutex[tid]);
182 rc = pthread_cond_wait(&cond[tid], &mutex[tid]);
183 rc = pthread_mutex_unlock(&mutex[tid]);
198 rc = pthread_mutex_lock(&mutex[tid + 1]);
204 rc = pthread_mutex_unlock(&mutex[tid + 1]);
263 pthread_mutex_init(&mutex[i], NULL);
279 pthread_mutex_lock(&mutex[0]);
281 pthread_mutex_unlock(&mutex[0]);
  /external/ltp/testcases/realtime/func/prio-wake/
prio-wake.c 63 static pthread_mutex_t mutex; variable
73 printf(" -l# 1:lock the mutex before broadcast, 0:don't\n");
122 rc = pthread_mutex_lock(&mutex);
125 rc = pthread_mutex_unlock(&mutex);
152 rc = pthread_mutex_lock(&mutex);
154 rc = pthread_cond_wait(&cond, &mutex);
162 rc = pthread_mutex_unlock(&mutex);
188 printf("Calling pthread_cond_broadcast() with mutex: %s\n\n",
193 init_pi_mutex(&mutex);
218 pthread_mutex_destroy(&mutex);
    [all...]
  /external/ltp/testcases/realtime/include/
librttest.h 84 pthread_mutex_t mutex; member in struct:thread
331 /* init_pi_mutex: initialize a pthread mutex to have PI support
  /external/mesa3d/src/gallium/auxiliary/pipebuffer/
pb_bufmgr_pool.c 59 pipe_mutex mutex; member in struct:pool_pb_manager
113 pipe_mutex_lock(pool->mutex);
116 pipe_mutex_unlock(pool->mutex);
129 pipe_mutex_lock(pool->mutex);
131 pipe_mutex_unlock(pool->mutex);
199 pipe_mutex_lock(pool->mutex);
202 pipe_mutex_unlock(pool->mutex);
210 pipe_mutex_unlock(pool->mutex);
218 pipe_mutex_unlock(pool->mutex);
241 pipe_mutex_lock(pool->mutex);
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_debug_flush.c 56 pipe_mutex mutex; member in struct:debug_flush_buf
60 /* Protected by mutex */
119 pipe_mutex_init(fbuf->mutex);
218 pipe_mutex_lock(fbuf->mutex);
230 pipe_mutex_unlock(fbuf->mutex);
257 pipe_mutex_lock(fbuf->mutex);
266 pipe_mutex_unlock(fbuf->mutex);
280 pipe_mutex_lock(fbuf->mutex);
287 pipe_mutex_unlock(fbuf->mutex);
323 pipe_mutex_lock(fbuf->mutex);
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_screen_cache.h 108 pipe_mutex mutex; member in struct:svga_host_surface_cache
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_fence.c 43 pipe_mutex mutex; member in struct:vmw_fence_ops
46 * Protected by mutex;
104 pipe_mutex_lock(ops->mutex);
107 pipe_mutex_unlock(ops->mutex);
133 pipe_mutex_lock(ops->mutex);
155 pipe_mutex_unlock(ops->mutex);
196 pipe_mutex_lock(ops->mutex);
206 pipe_mutex_unlock(ops->mutex);
232 pipe_mutex_lock(ops->mutex);
234 pipe_mutex_unlock(ops->mutex);
    [all...]
  /external/mesa3d/src/gallium/winsys/virgl/drm/
virgl_drm_winsys.h 62 pipe_mutex mutex; member in struct:virgl_drm_winsys
  /external/mesa3d/src/gallium/winsys/virgl/vtest/
virgl_vtest_winsys.h 51 pipe_mutex mutex; member in struct:virgl_vtest_winsys
  /external/mesa3d/src/gbm/backends/dri/
gbm_driint.h 52 mtx_t mutex; member in struct:gbm_dri_device
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_syncobj.c 52 mtx_t mutex; member in struct:intel_fence
101 mtx_lock(&fence->mutex);
103 mtx_unlock(&fence->mutex);
145 mtx_lock(&fence->mutex);
147 mtx_unlock(&fence->mutex);
244 mtx_init(&fence->mutex, mtx_plain);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_sync.c 51 mtx_t mutex; member in struct:brw_fence
65 mtx_init(&fence->mutex, mtx_plain);
74 mtx_destroy(&fence->mutex);
110 mtx_lock(&fence->mutex);
112 mtx_unlock(&fence->mutex);
154 mtx_lock(&fence->mutex);
156 mtx_unlock(&fence->mutex);
  /frameworks/av/media/libaaudio/tests/
test_various.cpp 20 #include <mutex>
541 std::lock_guard <std::mutex> lock(mutex);
548 std::unique_lock <std::mutex> aLock(mutex);
553 std::mutex mutex; member in struct:WakeUpCallbackData

Completed in 803 milliseconds

1 2 3 4 5 6 7 891011>>