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

1 2 3 4 5 6 78 91011>>

  /hardware/libhardware/modules/sensors/tests/
SensorEventQueue_test.cpp 98 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
113 pthread_mutex_lock(&mutex);
114 if (queue->waitForSpace(&mutex)) {
125 pthread_mutex_unlock(&mutex);
148 pthread_mutex_lock(&mutex);
152 pthread_cond_wait(&dataAvailableCond, &mutex);
157 pthread_mutex_unlock(&mutex);
  /hardware/nxp/nfc/halimpl/utils/
phNxpNciHal_utils.h 37 pthread_mutex_t mutex; member in struct:listHead
57 /* Semaphore and mutex monitor */
59 /* Mutex protecting native library against reentrance */
62 /* Mutex protecting native library against concurrency */
  /hardware/qcom/display/msm8084/libgralloc/
gr.h 77 pthread_mutex_t mutex; member in class:Locker
87 pthread_mutex_init(&mutex, 0);
91 pthread_mutex_destroy(&mutex);
94 inline void lock() { pthread_mutex_lock(&mutex); }
95 inline void wait() { pthread_cond_wait(&cond, &mutex); }
96 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /hardware/qcom/display/msm8226/libgralloc/
gr.h 77 pthread_mutex_t mutex; member in class:Locker
87 pthread_mutex_init(&mutex, 0);
91 pthread_mutex_destroy(&mutex);
94 inline void lock() { pthread_mutex_lock(&mutex); }
95 inline void wait() { pthread_cond_wait(&cond, &mutex); }
96 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /hardware/qcom/display/msm8994/libgralloc/
gr.h 84 pthread_mutex_t mutex; member in class:Locker
94 pthread_mutex_init(&mutex, 0);
98 pthread_mutex_destroy(&mutex);
101 inline void lock() { pthread_mutex_lock(&mutex); }
102 inline void wait() { pthread_cond_wait(&cond, &mutex); }
103 inline void unlock() { pthread_mutex_unlock(&mutex); }
  /packages/services/BuiltInPrintService/jni/lib/
wprint_msgq.c 43 pthread_mutex_t mutex; member in struct:__anon53065
63 // create a mutex to protect access to this structure
66 pthread_mutex_init(&msgq->mutex, &msgq->mutexattr);
82 pthread_mutex_lock(&(msgq->mutex));
88 pthread_mutex_unlock(&(msgq->mutex));
89 pthread_mutex_destroy(&(msgq->mutex));
103 pthread_mutex_lock(&(msgq->mutex));
116 pthread_mutex_unlock(&(msgq->mutex));
135 pthread_mutex_lock(&(msgq->mutex));
142 pthread_mutex_unlock(&(msgq->mutex));
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/
RWMutex.h 84 /// SmartMutex - An R/W mutex with a compile time constant parameter that
85 /// indicates whether this mutex should become a no-op when we're not
147 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedReader
149 explicit SmartScopedReader(SmartRWMutex<mt_only>& m) : mutex(m) {
150 mutex.lock_shared();
154 mutex.unlock_shared();
163 SmartRWMutex<mt_only>& mutex; member in struct:llvm::sys::SmartScopedWriter
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) {
166 mutex.lock();
170 mutex.unlock()
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/
mutex.cpp 1 //===------------------------- mutex.cpp ----------------------------------===//
11 #include "mutex"
24 mutex::~mutex()
30 mutex::lock()
34 __throw_system_error(ec, "mutex lock failed");
38 mutex::try_lock() _NOEXCEPT
44 mutex::unlock() _NOEXCEPT
48 _LIBCPP_ASSERT(ec == 0, "call to mutex::unlock failed");
98 lock_guard<mutex> _(__m_)
    [all...]
  /bionic/benchmarks/
pthread_benchmark.cpp 70 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; local
73 pthread_mutex_lock(&mutex);
74 pthread_mutex_unlock(&mutex);
80 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; local
83 pthread_mutex_lock(&mutex);
84 pthread_mutex_unlock(&mutex);
90 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; local
93 pthread_mutex_lock(&mutex);
94 pthread_mutex_unlock(&mutex);
101 pthread_mutex_t mutex; member in struct:__anon203::PIMutex
    [all...]
  /bionic/tools/versioner/src/
DeclarationDatabase.h 22 #include <mutex>
196 std::mutex mutex; member in class:HeaderDatabase
  /cts/apps/CtsVerifier/jni/audio_loopback/
sles.h 66 pthread_mutex_t mutex;// = PTHREAD_MUTEX_INITIALIZER; member in struct:__anon1540
  /cts/hostsidetests/security/securityPatch/CVE-2016-8424/
poc.c 63 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
114 pthread_mutex_lock(&mutex);
115 pthread_cond_wait(&cond, &mutex);
116 pthread_mutex_unlock(&mutex);

Completed in 752 milliseconds

1 2 3 4 5 6 78 91011>>