HomeSort by relevance Sort by last modified time
    Searched refs:mutex_ (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /system/core/adb/sysdeps/
mutex.h 39 InitializeCriticalSection(&mutex_);
43 DeleteCriticalSection(&mutex_);
47 EnterCriticalSection(&mutex_);
51 return TryEnterCriticalSection(&mutex_);
55 LeaveCriticalSection(&mutex_);
59 CRITICAL_SECTION mutex_; member in class:std::recursive_mutex
73 mutex_.lock();
83 mutex_.unlock();
87 if (!mutex_.try_lock()) {
92 mutex_.unlock()
101 recursive_mutex mutex_; member in class:std::mutex
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
scoped_lock.hpp 33 : mutex_(m),
40 : mutex_(m)
42 mutex_.lock();
50 mutex_.unlock();
58 mutex_.lock();
68 mutex_.unlock();
82 return mutex_;
87 Mutex& mutex_; member in class:asio::detail::scoped_lock
posix_mutex.hpp 42 ::pthread_mutex_destroy(&mutex_); // Ignore EBUSY.
48 (void)::pthread_mutex_lock(&mutex_); // Ignore EINVAL.
54 (void)::pthread_mutex_unlock(&mutex_); // Ignore EINVAL.
59 ::pthread_mutex_t mutex_; member in class:asio::detail::posix_mutex
  /external/webrtc/webrtc/system_wrappers/source/
critical_section_posix.cc 24 (void) pthread_mutex_init(&mutex_, &attr);
28 (void) pthread_mutex_destroy(&mutex_);
33 (void) pthread_mutex_lock(&mutex_);
38 (void) pthread_mutex_unlock(&mutex_);
event_timer_posix.cc 43 pthread_mutex_init(&mutex_, &attr);
58 pthread_mutex_destroy(&mutex_);
63 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_));
66 pthread_mutex_unlock(&mutex_);
72 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_));
99 ret_val = pthread_cond_timedwait(&cond_, &mutex_, &end_at);
102 ret_val = pthread_cond_wait(&cond_, &mutex_);
113 pthread_mutex_unlock(&mutex_);
120 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_));
123 ret_val = pthread_cond_timedwait(&cond_, &mutex_, end_at)
    [all...]
critical_section_posix.h 30 pthread_mutex_t mutex_; member in class:webrtc::CriticalSectionPosix
  /system/extras/memory_replay/
Thread.cpp 31 pthread_mutex_lock(&mutex_);
33 pthread_cond_wait(&cond_, &mutex_);
35 pthread_mutex_unlock(&mutex_);
39 pthread_mutex_lock(&mutex_);
41 pthread_cond_wait(&cond_, &mutex_);
43 pthread_mutex_unlock(&mutex_);
47 pthread_mutex_lock(&mutex_);
49 pthread_mutex_unlock(&mutex_);
54 pthread_mutex_lock(&mutex_);
56 pthread_mutex_unlock(&mutex_);
    [all...]
  /external/regex-re2/util/
mutex.h 72 MutexType mutex_; member in class:re2::Mutex
87 // but only one writer. We represent this by having mutex_ be -1 when
95 Mutex::Mutex() : mutex_(0) { }
96 Mutex::~Mutex() { assert(mutex_ == 0); }
97 void Mutex::Lock() { assert(--mutex_ == -1); }
98 void Mutex::Unlock() { assert(mutex_++ == -1); }
99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
100 void Mutex::ReaderLock() { assert(++mutex_ > 0); }
101 void Mutex::ReaderUnlock() { assert(mutex_-- > 0); }
108 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL));
    [all...]
  /external/drm_hwcomposer/
autolock.h 24 : mutex_(mutex), name_(name) {
38 pthread_mutex_t *const mutex_; member in class:android::AutoLock
autolock.cpp 34 int ret = pthread_mutex_lock(mutex_);
48 int ret = pthread_mutex_unlock(mutex_);
  /external/ceres-solver/internal/ceres/
mutex.h 176 MutexType mutex_; member in class:ceres::internal::Mutex
197 // but only one writer. We represent this by having mutex_ be -1 when
204 Mutex::Mutex() : mutex_(0) { }
205 Mutex::~Mutex() { assert(mutex_ == 0); }
206 void Mutex::Lock() { assert(--mutex_ == -1); }
207 void Mutex::Unlock() { assert(mutex_++ == -1); }
209 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
211 void Mutex::ReaderLock() { assert(++mutex_ > 0); }
212 void Mutex::ReaderUnlock() { assert(mutex_-- > 0); }
216 Mutex::Mutex() { InitializeCriticalSection(&mutex_); SetIsSafe();
    [all...]
  /bionic/libc/malloc_debug/
TrackData.h 63 void PrepareFork() { pthread_mutex_lock(&mutex_); }
64 void PostForkParent() { pthread_mutex_unlock(&mutex_); }
65 void PostForkChild() { pthread_mutex_init(&mutex_, NULL); }
68 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER; member in class:TrackData
TrackData.cpp 64 pthread_mutex_lock(&mutex_);
69 pthread_mutex_unlock(&mutex_);
75 pthread_mutex_lock(&mutex_);
80 pthread_mutex_unlock(&mutex_);
86 pthread_mutex_lock(&mutex_);
88 pthread_mutex_unlock(&mutex_);
115 ScopedPthreadMutexLocker scoped(&mutex_);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
vp9_thread.c 33 pthread_mutex_lock(&worker->mutex_);
35 pthread_cond_wait(&worker->condition_, &worker->mutex_);
45 pthread_mutex_unlock(&worker->mutex_);
56 pthread_mutex_lock(&worker->mutex_);
59 pthread_cond_wait(&worker->condition_, &worker->mutex_);
66 pthread_mutex_unlock(&worker->mutex_);
91 if (pthread_mutex_init(&worker->mutex_, NULL) ||
95 pthread_mutex_lock(&worker->mutex_);
98 pthread_mutex_unlock(&worker->mutex_);
128 pthread_mutex_destroy(&worker->mutex_);
    [all...]
  /external/libvpx/libvpx/vpx_util/
vpx_thread.c 24 pthread_mutex_t mutex_; member in struct:VPxWorkerImpl
37 pthread_mutex_lock(&worker->impl_->mutex_);
39 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_);
49 pthread_mutex_unlock(&worker->impl_->mutex_);
62 pthread_mutex_lock(&worker->impl_->mutex_);
66 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_);
74 pthread_mutex_unlock(&worker->impl_->mutex_);
103 if (pthread_mutex_init(&worker->impl_->mutex_, NULL)) {
107 pthread_mutex_destroy(&worker->impl_->mutex_);
110 pthread_mutex_lock(&worker->impl_->mutex_);
    [all...]
  /external/webrtc/webrtc/modules/video_processing/
video_processing_impl.cc 110 rtc::CritScope mutex(&mutex_);
116 rtc::CritScope mutex(&mutex_);
121 rtc::CritScope mutex(&mutex_);
127 rtc::CritScope cs(&mutex_);
134 rtc::CritScope cs(&mutex_);
139 rtc::CritScope cs(&mutex_);
144 rtc::CritScope cs(&mutex_);
149 rtc::CritScope cs(&mutex_);
154 rtc::CritScope cs(&mutex_);
159 rtc::CritScope cs(&mutex_);
    [all...]
  /external/v8/test/unittests/base/platform/
condition-variable-unittest.cc 40 LockGuard<Mutex> lock_guard(&mutex_); variable
44 cv_.Wait(&mutex_);
53 Mutex mutex_; member in class:v8::base::__anon23986::final
64 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
70 threads[n].cv_.Wait(&threads[n].mutex_);
75 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
81 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
91 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
93 threads[n].cv_.Wait(&threads[n].mutex_);
101 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
133 Mutex* mutex_; member in class:v8::base::__anon23987::final
261 Mutex* mutex_; member in class:v8::base::__anon23988::final
    [all...]
  /system/core/libbacktrace/
ThreadEntry.h 37 pthread_mutex_lock(&mutex_);
45 pthread_mutex_unlock(&mutex_);
59 pthread_mutex_t mutex_; member in class:ThreadEntry
  /external/google-benchmark/src/
mutex.h 114 void WaitForNotification() const EXCLUDES(mutex_) {
115 MutexLock m_lock(mutex_);
116 auto notified_fn = [this]() REQUIRES(mutex_) {
122 void Notify() EXCLUDES(mutex_) {
124 MutexLock lock(mutex_);
131 bool HasBeenNotified() const REQUIRES(mutex_) {
135 mutable Mutex mutex_; member in class:benchmark::Notification
137 bool notified_yet_ GUARDED_BY(mutex_);
  /external/v8/src/base/platform/
mutex.h 204 explicit LockGuard(Mutex* mutex) : mutex_(mutex) { mutex_->Lock(); }
205 ~LockGuard() { mutex_->Unlock(); }
208 Mutex* mutex_; member in class:v8::base::final
condition-variable.h 74 Mutex* mutex() { return &mutex_; }
80 Mutex mutex_; member in class:v8::base::final::final
  /hardware/qcom/display/msm8996/sdm/include/utils/
locker.h 128 pthread_mutex_init(&mutex_, 0);
133 pthread_mutex_destroy(&mutex_);
137 void Lock() { pthread_mutex_lock(&mutex_); }
138 void Unlock() { pthread_mutex_unlock(&mutex_); }
141 void Wait() { pthread_cond_wait(&condition_, &mutex_); }
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts);
154 pthread_mutex_t mutex_; member in class:sdm::Locker
  /hardware/qcom/display/msmcobalt/sdm/include/utils/
locker.h 128 pthread_mutex_init(&mutex_, 0);
133 pthread_mutex_destroy(&mutex_);
137 void Lock() { pthread_mutex_lock(&mutex_); }
138 void Unlock() { pthread_mutex_unlock(&mutex_); }
141 void Wait() { pthread_cond_wait(&condition_, &mutex_); }
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts);
154 pthread_mutex_t mutex_; member in class:sdm::Locker
  /development/ndk/sources/android/ndk_helper/
JNIHelper.cpp 46 pthread_mutex_init( &mutex_, NULL );
54 pthread_mutex_lock( &mutex_ );
64 pthread_mutex_destroy( &mutex_ );
74 pthread_mutex_lock( &helper.mutex_ );
101 pthread_mutex_unlock( &helper.mutex_ );
120 pthread_mutex_lock( &mutex_ );
147 pthread_mutex_unlock( &mutex_ );
157 pthread_mutex_unlock( &mutex_ );
167 pthread_mutex_unlock( &mutex_ );
175 pthread_mutex_unlock( &mutex_ );
    [all...]
  /external/v8/src/
cancelable-task.cc 32 base::LockGuard<base::Mutex> guard(&mutex_);
42 base::LockGuard<base::Mutex> guard(&mutex_);
51 base::LockGuard<base::Mutex> guard(&mutex_);
71 base::LockGuard<base::Mutex> guard(&mutex_);
86 cancelable_tasks_barrier_.Wait(&mutex_);

Completed in 959 milliseconds

1 2 3 4 5 6 7