HomeSort by relevance Sort by last modified time
    Searched refs:mu_ (Results 1 - 25 of 33) 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_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...]
  /external/chromium_org/third_party/leveldatabase/src/port/
port_posix.cc 22 Mutex::Mutex() { PthreadCall("init mutex", pthread_mutex_init(&mu_, NULL)); }
24 Mutex::~Mutex() { PthreadCall("destroy mutex", pthread_mutex_destroy(&mu_)); }
26 void Mutex::Lock() { PthreadCall("lock", pthread_mutex_lock(&mu_)); }
28 void Mutex::Unlock() { PthreadCall("unlock", pthread_mutex_unlock(&mu_)); }
31 : mu_(mu) {
38 PthreadCall("wait", pthread_cond_wait(&cv_, &mu_->mu_));
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/SemaCXX/
warn-thread-safety-analysis.cpp 930 void func1(int y) LOCKS_EXCLUDED(mu_);
931 template <typename T> void func2(T x) LOCKS_EXCLUDED(mu_);
933 Mutex mu_; member in class:thread_annot_lock_38::Foo
949 Mutex *mu_; member in class:thread_annot_lock_43::Foo
955 int GetA() EXCLUSIVE_LOCKS_REQUIRED(foo_->mu_) { return a_; }
956 int a_ GUARDED_BY(foo_->mu_);
964 fb->foo_->mu_->Lock();
966 fb->foo_->mu_->Unlock();
1082 Mutex mu_; member in class:thread_annot_lock_68_modified::Bar
1089 mu_.Lock()
1097 Mutex mu_; member in class:thread_annot_lock_68_modified::Foo
1153 Mutex mu_; member in class:thread_annot_lock_47::Base
1424 Mutex mu_; member in class:thread_annot_lock_46::Base
1640 Mutex mu_; member in class:FunctionAttrTest::Foo
1791 Mutex mu_; member in class:TestTemplateAttributeInstantiation::Foo1
1798 Mutex mu_; member in class:TestTemplateAttributeInstantiation::Foo2
1845 Mutex mu_; member in class:TestTemplateAttributeInstantiation::Cell
1918 Mutex mu_; member in class:TestTemplateAttributeInstantiation::CellDelayed
1943 Mutex mu_; member in class:FunctionDeclDefTest::Foo
2010 Mutex mu_; member in class:FunctionDefinitionTest::Foo
2019 Mutex mu_; member in class:FunctionDefinitionTest::FooT
2137 Mutex mu_; member in class:SelfLockingTest::MyLock2
2173 Mutex mu_; member in namespace:NoReturnTest
2203 Mutex mu_; member in class:TestMultiDecl::Foo
2226 Mutex mu_; member in class:MoreLockExpressions::Foo
2351 Mutex mu_; member in class:LockReturned::Foo
2451 Mutex mu_; member in class:ReleasableScopedLock::Foo
2535 Mutex mu_; member in class:DoubleLockBug::Foo
2589 Mutex mu_; member in class:FoolishScopedLockableBug::Foo
2669 SmartPtr<Mutex> mu_; member in class:SmartPointerTests::Foo
2672 int c GUARDED_BY(*mu_); member in class:SmartPointerTests::Foo
2998 Mutex mu_; member in class:TryLockEqTest::Foo
3085 Mutex mu_; member in class:ExistentialPatternMatching::Graph
3088 void LockAllGraphs() EXCLUSIVE_LOCK_FUNCTION(&Graph::mu_); member in namespace:ExistentialPatternMatching
3089 void UnlockAllGraphs() UNLOCK_FUNCTION(&Graph::mu_); member in namespace:ExistentialPatternMatching
3093 int a GUARDED_BY(&Graph::mu_); member in class:ExistentialPatternMatching::Node
3098 void foo2() LOCKS_EXCLUDED(&Graph::mu_); member in class:ExistentialPatternMatching::Node
3146 Mutex mu_; member in class:StringIgnoreTest::Foo
3216 Mutex mu_; member in struct:TrylockWithCleanups::Foo
3236 Mutex mu_; member in class:UniversalLock::Foo
3334 Mutex mu_; member in class:ExprMatchingBugFix::Foo
3348 void unlockFoo() UNLOCK_FUNCTION(&Foo::mu_); member in struct:ExprMatchingBugFix::Bar::Nested
3373 static Mutex mu_; member in class:ComplexNameTest::Foo
3383 static Mutex mu_; member in class:ComplexNameTest::Bar
3485 Mutex* mu_; member in struct:TemplateFunctionParamRemapTest::Cell
3568 Mutex mu_; member in class:SelfConstructorTest::SelfLock
3804 Mutex mu_; member in class:GuardedNonPrimitiveTypeTest::Foo
3839 Mutex mu_; member in class:GuardedNonPrimitive_MemberAccess::Bar
3878 Mutex mu_; member in class:TestThrowExpr::Foo
3918 Mutex mu_; member in class:LockUnlockFunctionTest::MyLockable
3971 Mutex mu_; member in class:LockUnlockFunctionTest::Foo
3984 Mutex mu_; member in class:AssertHeldTest::Foo
4356 Mutex mu_; member in class:ThreadAttributesOnLambdas::Foo
    [all...]
warn-thread-safety-parsing.cpp 1300 Mutex mu_; member in class:FunctionDefinitionParseTest::Foo
1308 Mutex mu_; member in class:FunctionDefinitionParseTest::Bar
1331 Mutex mu_; member in class:TestMultiDecl::Foo
1366 Mutex mu_; member in class:PointerToMemberTest::Graph
1368 static Mutex* get_static_mu() LOCK_RETURNED(&Graph::mu_); member in class:PointerToMemberTest::Graph
1373 void foo() EXCLUSIVE_LOCKS_REQUIRED(&Graph::mu_); member in class:PointerToMemberTest::Node
1374 int a GUARDED_BY(&Graph::mu_); member in class:PointerToMemberTest::Node
1399 Mutex mu_; member in class:SmartPointerTest::MyClass
    [all...]
  /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/ceres-solver/internal/ceres/
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...]
dogleg_strategy.cc 58 mu_(kMinMu),
541 while (mu_ < max_mu_) {
558 lm_diagonal_ = diagonal_ * std::sqrt(mu_);
592 mu_ *= mu_increase_factor_;
593 VLOG(2) << "Increasing mu " << mu_;
627 mu_ = max(min_mu_, 2.0 * mu_ / mu_increase_factor_);
637 mu_ *= mu_increase_factor_;
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
  /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/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/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/chromium_org/third_party/leveldatabase/port/
port_chromium.cc 24 mu_.Acquire();
28 mu_.Release();
32 mu_.AssertAcquired();
36 : cv_(&mu->mu_) {
  /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...]
  /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/chromium_org/ppapi/native_client/src/trusted/plugin/
service_runtime.cc 59 NaClXMutexCtor(&mu_);
65 NaClMutexDtor(&mu_);
70 nacl::MutexLocker take(&mu_);
110 bool op_complete = false; // NB: mu_ and cv_ also controls access to this!
132 nacl::MutexLocker take(&mu_);
134 NaClXCondVarWait(&cv_, &mu_);
203 nacl::MutexLocker take(&mu_);
256 NaClXMutexCtor(&mu_);
424 nacl::MutexLocker take(&mu_);
430 NaClXCondVarTimedWaitRelative(&cond_, &mu_, &left_timespec)
    [all...]
service_runtime.h 127 NaClMutex mu_; member in class:plugin::PluginReverseInterface
205 NaClMutex mu_; member in class:plugin::ServiceRuntime
  /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/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/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/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 1004 milliseconds

1 2