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

1 2 3 4 5 6 7 891011>>

  /external/swiftshader/src/Common/
Thread.hpp 110 pthread_mutex_t mutex; member in class:sw::Event
218 pthread_mutex_lock(&mutex);
221 pthread_mutex_unlock(&mutex);
230 pthread_mutex_lock(&mutex);
231 while(!signaled) pthread_cond_wait(&handle, &mutex);
233 pthread_mutex_unlock(&mutex);
  /external/swiftshader/src/Reactor/
Thread.hpp 110 pthread_mutex_t mutex; member in class:rr::Event
218 pthread_mutex_lock(&mutex);
221 pthread_mutex_unlock(&mutex);
230 pthread_mutex_lock(&mutex);
231 while(!signaled) pthread_cond_wait(&handle, &mutex);
233 pthread_mutex_unlock(&mutex);
  /external/swiftshader/src/System/
Thread.hpp 110 pthread_mutex_t mutex; member in class:sw::Event
218 pthread_mutex_lock(&mutex);
221 pthread_mutex_unlock(&mutex);
230 pthread_mutex_lock(&mutex);
231 while(!signaled) pthread_cond_wait(&handle, &mutex);
233 pthread_mutex_unlock(&mutex);
  /external/swiftshader/third_party/LLVM/examples/ParallelJIT/
ParallelJIT.cpp 135 result = pthread_mutex_init( &mutex, NULL );
144 result = pthread_mutex_destroy( &mutex );
151 int result = pthread_mutex_lock( &mutex );
166 result = pthread_cond_wait( &condition, &mutex );
170 // unlock the mutex before returning
171 result = pthread_mutex_unlock( &mutex );
180 int result = pthread_mutex_lock( &mutex );
190 pthread_cond_wait( &condition, &mutex );
193 // unlock the mutex before returning
194 result = pthread_mutex_unlock( &mutex );
218 pthread_mutex_t mutex; member in class:WaitForThreads
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/examples/ParallelJIT/
ParallelJIT.cpp 151 result = pthread_mutex_init( &mutex, nullptr );
161 result = pthread_mutex_destroy( &mutex );
168 int result = pthread_mutex_lock( &mutex );
184 result = pthread_cond_wait( &condition, &mutex );
188 // unlock the mutex before returning
189 result = pthread_mutex_unlock( &mutex );
198 int result = pthread_mutex_lock( &mutex );
209 pthread_cond_wait( &condition, &mutex );
212 // unlock the mutex before returning
213 result = pthread_mutex_unlock( &mutex );
238 pthread_mutex_t mutex; member in class:WaitForThreads
    [all...]
  /external/u-boot/include/linux/mtd/
flashchip.h 17 #include <linux/mutex.h>
78 struct mutex mutex; member in struct:flchip
97 struct mutex lock;
  /external/virglrenderer/src/gallium/auxiliary/os/
os_thread.h 31 * Thread, mutex, condition variable, barrier, semaphore and
93 #define pipe_static_mutex(mutex) \
94 static pipe_mutex mutex = _MTX_INITIALIZER_NP
96 #define pipe_mutex_init(mutex) \
97 (void) mtx_init(&(mutex), mtx_plain)
99 #define pipe_mutex_destroy(mutex) \
100 mtx_destroy(&(mutex))
102 #define pipe_mutex_lock(mutex) \
103 (void) mtx_lock(&(mutex))
105 #define pipe_mutex_unlock(mutex) \
159 pipe_mutex mutex; member in struct:__anon48920
211 pipe_mutex mutex; member in struct:__anon48921
    [all...]
  /frameworks/av/media/libeffects/factory/
EffectsXmlConfigLoader.cpp 133 void listPush(T* object, ListElem** list, pthread_mutex_t* mutex = nullptr) noexcept {
136 if (mutex != nullptr) {
137 pthread_mutex_lock(mutex); variable
141 if (mutex != nullptr) {
142 pthread_mutex_unlock(mutex); variable
148 void listPush(UniqueCPtr<T>&& object, ListElem** list, pthread_mutex_t* mutex = nullptr) noexcept {
149 listPush(object.release(), list, mutex);
  /art/openjdkjvm/
OpenjdkJvm.cc 131 pthread_mutex_t* mutex = local
133 CHECK(mutex != nullptr);
134 CHECK_PTHREAD_CALL(pthread_mutex_init, (mutex, nullptr), "JVM_RawMonitorCreate");
135 return mutex;
  /cts/hostsidetests/securitybulletin/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:__anon3677
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/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/
googletest-port-test.cc 293 internal::Mutex* mutex = static_cast<internal::Mutex*>(data); local
294 mutex->Lock();
295 mutex->Unlock();
303 internal::Mutex mutex; local
305 internal::MutexLock lock(&mutex);
310 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex);
1022 Mutex m
1087 Mutex mutex; local
    [all...]
  /external/grpc-grpc/src/core/lib/iomgr/
udp_server.cc 101 gpr_mu* mutex() { return &mutex_; } function in class:GrpcUdpListener
231 gpr_mu_lock(sp->mutex());
241 gpr_mu_unlock(sp->mutex());
446 gpr_mu_lock(sp->mutex());
458 gpr_mu_unlock(sp->mutex());
499 gpr_mu_lock(sp->mutex());
504 gpr_mu_unlock(sp->mutex());
510 gpr_mu_lock(sp->mutex());
523 gpr_mu_unlock(sp->mutex());
  /external/grpc-grpc/test/cpp/qps/
client_async.cc 23 #include <mutex>
217 mutable std::mutex mutex; member in struct:grpc::testing::AsyncClient::PerThreadShutdownState
232 std::lock_guard<std::mutex> lock((*ss)->mutex);
266 std::mutex* shutdown_mu = &shutdown_state_[thread_idx]->mutex;
    [all...]
server_async.cc 23 #include <mutex>
163 std::lock_guard<std::mutex> lock((*ss)->mutex);
210 std::mutex* mu_ptr = &shutdown_state_[thread_idx]->mutex;
242 std::mutex mu_;
527 mutable std::mutex mutex; member in struct:grpc::testing::final::PerThreadShutdownState
  /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/libaom/libaom/av1/encoder/
ethread.c 91 pthread_mutex_t *const mutex = &row_mt_sync->mutex_[r - 1]; local
92 pthread_mutex_lock(mutex);
95 pthread_cond_wait(&row_mt_sync->cond_[r - 1], mutex);
97 pthread_mutex_unlock(mutex);
170 // Deallocate row based multi-threading synchronization related mutex and data
  /external/libvpx/libvpx/vp9/encoder/
vp9_ethread.c 273 CHECK_MEM_ERROR(cm, row_mt_sync->mutex,
274 vpx_malloc(sizeof(*row_mt_sync->mutex) * rows));
275 if (row_mt_sync->mutex) {
277 pthread_mutex_init(&row_mt_sync->mutex[i], NULL);
298 // Deallocate row based multi-threading synchronization related mutex and data
304 if (row_mt_sync->mutex != NULL) {
306 pthread_mutex_destroy(&row_mt_sync->mutex[i]);
308 vpx_free(row_mt_sync->mutex);
330 pthread_mutex_t *const mutex = &row_mt_sync->mutex[r - 1] local
    [all...]

Completed in 1509 milliseconds

1 2 3 4 5 6 7 891011>>