HomeSort by relevance Sort by last modified time
    Searched defs:mu_ (Results 1 - 25 of 34) sorted by null

1 2

  /bionic/libc/private/
ScopedPthreadMutexLocker.h 26 explicit ScopedPthreadMutexLocker(pthread_mutex_t* mu) : mu_(mu) {
27 pthread_mutex_lock(mu_);
31 pthread_mutex_unlock(mu_);
35 pthread_mutex_t* mu_; member in class:ScopedPthreadMutexLocker
  /external/chromium_org/third_party/leveldatabase/src/util/
mutexlock.h 19 // MutexLock l(&mu_); // mu_ is an instance variable
26 : mu_(mu) {
27 this->mu_->Lock();
29 ~MutexLock() UNLOCK_FUNCTION() { this->mu_->Unlock(); }
32 port::Mutex *const mu_; member in class:leveldb::MutexLock::port
env_test.cc 16 port::Mutex mu_; member in class:leveldb::EnvPosixTest
env_posix.cc 111 MutexLock l(&mu_);
123 MutexLock l(&mu_);
128 port::Mutex mu_; member in class:leveldb::__anon17093::MmapLimiter
135 // REQUIRES: mu_ must be held
281 port::Mutex mu_; member in class:leveldb::__anon17093::PosixLockTable
285 MutexLock l(&mu_);
289 MutexLock l(&mu_);
513 pthread_mutex_t mu_; member in class:leveldb::__anon17093::PosixEnv
528 PthreadCall("mutex_init", pthread_mutex_init(&mu_, NULL));
533 PthreadCall("lock", pthread_mutex_lock(&mu_));
    [all...]
  /frameworks/ex/variablespeed/jni/
no_synchronization.h 42 explicit MutexLock(Mutex* mu) : mu_(mu) {}
46 Mutex* const mu_; member in class:MutexLock
  /external/chromium_org/ppapi/native_client/src/untrusted/nacl_ppapi_util/
nacl_ppapi_util.h 94 NaClXMutexCtor(&mu_);
99 NaClMutexDtor(&mu_);
107 nacl::MutexLocker take(&mu_);
113 nacl::MutexLocker take(&mu_);
115 NaClXCondVarWait(&cv_, &mu_);
123 nacl::MutexLocker take(&mu_);
128 NaClMutex mu_; member in class:nacl_ppapi::EventThreadWorkState
  /external/chromium_org/third_party/leveldatabase/port/
port_chromium.h 46 base::Lock mu_; member in class:leveldb::port::Mutex
  /external/chromium_org/third_party/leveldatabase/src/port/
port_posix.h 96 pthread_mutex_t mu_; member in class:leveldb::port::Mutex
112 Mutex* mu_; member in class:leveldb::port::CondVar
  /external/clang/test/Sema/
warn-thread-safety-analysis.c 31 struct Mutex *mu_; member in struct:Foo
45 int a_ GUARDED_BY(foo_.mu_);
46 int *b_ PT_GUARDED_BY(foo_.mu_) = &a_;
67 void set_value(int *a, int value) EXCLUSIVE_LOCKS_REQUIRED(foo_.mu_) {
71 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){
103 set_value(&a_, 0); // expected-warning{{calling function 'set_value' requires holding mutex 'foo_.mu_' exclusively}}
104 get_value(b_); // expected-warning{{calling function 'get_value' requires holding mutex 'foo_.mu_'}}
105 mutex_exclusive_lock(foo_.mu_);
107 mutex_unlock(foo_.mu_);
108 mutex_shared_lock(foo_.mu_);
    [all...]
  /external/ceres-solver/internal/ceres/
dogleg_strategy.h 107 // reports an invalid step, the value of mu_ is increased so that
110 // If a successful step is reported, then the value of mu_ is
112 double mu_; member in class:ceres::internal::DoglegStrategy
mutex.h 286 explicit CeresMutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); }
287 ~CeresMutexLock() { mu_->Unlock(); }
289 Mutex * const mu_; member in class:ceres::internal::CeresMutexLock
298 explicit CeresReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
299 ~CeresReaderMutexLock() { mu_->ReaderUnlock(); }
301 Mutex * const mu_; member in class:ceres::internal::CeresReaderMutexLock
309 explicit CeresWriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock();
312 Mutex * const mu_; member in class:ceres::internal::CeresWriterMutexLock
    [all...]
  /external/chromium_org/ppapi/native_client/src/trusted/plugin/
service_runtime.h 127 NaClMutex mu_; member in class:plugin::PluginReverseInterface
205 NaClMutex mu_; member in class:plugin::ServiceRuntime
  /external/chromium_org/third_party/re2/util/
mutex.h 155 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); }
156 ~MutexLock() { mu_->Unlock(); }
158 Mutex * const mu_; member in class:re2::MutexLock
167 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
168 ~ReaderMutexLock() { mu_->ReaderUnlock(); }
170 Mutex * const mu_; member in class:re2::ReaderMutexLock
178 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock();
181 Mutex * const mu_; member in class:re2::WriterMutexLock
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
simple_mutex.h 288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); }
289 ~MutexLock() { mu_->Unlock(); }
291 Mutex * const mu_; member in class:MUTEX_NAMESPACE::MutexLock
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
301 ~ReaderMutexLock() { mu_->ReaderUnlock(); }
303 Mutex * const mu_; member in class:MUTEX_NAMESPACE::ReaderMutexLock
311 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock();
314 Mutex * const mu_; member in class:MUTEX_NAMESPACE::WriterMutexLock
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
simple_mutex.h 288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); }
289 ~MutexLock() { mu_->Unlock(); }
291 Mutex * const mu_; member in class:MUTEX_NAMESPACE::MutexLock
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
301 ~ReaderMutexLock() { mu_->ReaderUnlock(); }
303 Mutex * const mu_; member in class:MUTEX_NAMESPACE::ReaderMutexLock
311 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock();
314 Mutex * const mu_; member in class:MUTEX_NAMESPACE::WriterMutexLock
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_mutex.h 172 : mu_(mu) {
173 mu_->Lock();
177 mu_->Unlock();
181 MutexType *mu_; member in class:__sanitizer::GenericScopedLock
191 : mu_(mu) {
192 mu_->ReadLock();
196 mu_->ReadUnlock();
200 MutexType *mu_; member in class:__sanitizer::GenericScopedReadLock
sanitizer_symbolizer_posix_libcdep.cc 511 BlockingMutexLock l(&mu_);
520 mu_.CheckLocked();
579 BlockingMutexLock l(&mu_);
591 mu_.CheckLocked();
607 BlockingMutexLock l(&mu_);
617 BlockingMutexLock l(&mu_);
625 BlockingMutexLock l(&mu_);
641 BlockingMutexLock l(&mu_);
649 mu_.CheckLocked();
666 mu_.CheckLocked()
712 BlockingMutex mu_; member in class:__sanitizer::POSIXSymbolizer
    [all...]
  /external/regex-re2/util/
mutex.h 151 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); }
152 ~MutexLock() { mu_->Unlock(); }
154 Mutex * const mu_; member in class:re2::MutexLock
163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
164 ~ReaderMutexLock() { mu_->ReaderUnlock(); }
166 Mutex * const mu_; member in class:re2::ReaderMutexLock
174 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock();
177 Mutex * const mu_; member in class:re2::WriterMutexLock
    [all...]
  /external/chromium_org/third_party/leveldatabase/
env_chromium.h 160 leveldb::MutexLock l(&mu_);
164 leveldb::MutexLock l(&mu_);
168 leveldb::port::Mutex mu_; member in class:leveldb_env::ChromiumEnv::LockTable
198 ::base::Lock mu_; member in class:leveldb_env::ChromiumEnv
  /external/chromium_org/third_party/leveldatabase/src/db/
skiplist_test.cc 209 // SkipList is not protected by mu_. We just use a single writer
313 state_cv_(&mu_) {}
316 mu_.Lock();
320 mu_.Unlock();
324 mu_.Lock();
327 mu_.Unlock();
331 port::Mutex mu_; member in class:leveldb::TestState
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
profile-handler_unittest.cc 159 MutexLock lock(&mu_);
163 MutexLock lock(&mu_);
169 Mutex mu_; member in class:__anon20191::BusyThread
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
profile-handler_unittest.cc 159 MutexLock lock(&mu_);
163 MutexLock lock(&mu_);
169 Mutex mu_; member in class:__anon20234::BusyThread
  /external/compiler-rt/test/tsan/
deadlock_detector_stress_test.cc 33 assert(0 == pthread_mutex_init(&mu_, &attr));
35 assert(0 == pthread_mutex_init(&mu_, 0));
39 assert(0 == pthread_mutex_destroy(&mu_));
44 void lock() { assert(0 == pthread_mutex_lock(&mu_)); }
45 void unlock() { assert(0 == pthread_mutex_unlock(&mu_)); }
46 bool try_lock() { return 0 == pthread_mutex_trylock(&mu_); }
52 pthread_mutex_t mu_; member in class:PthreadMutex
64 PthreadSpinLock() { assert(0 == pthread_spin_init(&mu_, 0)); }
66 assert(0 == pthread_spin_destroy(&mu_));
71 void lock() { assert(0 == pthread_spin_lock(&mu_)); }
79 pthread_spinlock_t mu_; member in class:PthreadSpinLock
100 pthread_rwlock_t mu_; member in class:PthreadRWLock
    [all...]
  /art/runtime/base/
mutex.h 421 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) {
422 mu_.ExclusiveLock(self_);
426 mu_.ExclusiveUnlock(self_);
431 Mutex& mu_; member in class:art::MutexLock
442 self_(self), mu_(mu) {
443 mu_.SharedLock(self_);
447 mu_.SharedUnlock(self_);
452 ReaderWriterMutex& mu_; member in class:art::ReaderMutexLock
464 self_(self), mu_(mu) {
465 mu_.ExclusiveLock(self_)
474 ReaderWriterMutex& mu_; member in class:art::WriterMutexLock
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
common.h 1142 Mutex *const mu_; member in class:google::protobuf::internal::MutexLock
1157 Mutex *const mu_; member in class:google::protobuf::internal::MutexLockMaybe
    [all...]

Completed in 685 milliseconds

1 2