Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:mu2_

2505   Mutex mu2_;
2508 bool lockBoth() EXCLUSIVE_TRYLOCK_FUNCTION(true, mu1_, mu2_);
2515 mu2_.Lock();
2518 mu2_.Unlock();
2832 Mutex mu2_;
2835 int b GUARDED_BY(mu2_);
2843 void lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_);
2846 EXCLUSIVE_LOCK_FUNCTION(mu2_)
2847 EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_);
2850 void unlock3() UNLOCK_FUNCTION(mu1_, mu2_, mu3_);
2853 UNLOCK_FUNCTION(mu2_)
2854 UNLOCK_FUNCTION(mu1_, mu2_, mu3_);
2869 void Foo::lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_) {
2871 mu2_.Lock();
2876 EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_)
2877 EXCLUSIVE_LOCK_FUNCTION(mu2_, mu3_) {
2879 mu2_.Lock();
2887 void Foo::unlock3() UNLOCK_FUNCTION(mu1_, mu2_, mu3_) {
2889 mu2_.Unlock();
2894 UNLOCK_FUNCTION(mu1_, mu2_)
2895 UNLOCK_FUNCTION(mu2_, mu3_) {
2897 mu2_.Unlock();
2954 // expected-warning {{locking 'foo.mu2_' that is already locked}} \
2962 // expected-warning {{unlocking 'foo.mu2_' that was not locked}} \
2978 // expected-warning {{locking 'foo.mu2_' that is already locked}} \
2986 // expected-warning {{unlocking 'foo.mu2_' that was not locked}} \
3634 Mutex mu2_;
3636 int b GUARDED_BY(mu2_);
3637 int c GUARDED_BY(mu1_) GUARDED_BY(mu2_);
3638 int* d PT_GUARDED_BY(mu1_) PT_GUARDED_BY(mu2_);
3641 EXCLUSIVE_LOCKS_REQUIRED(mu2_);
3643 SHARED_LOCKS_REQUIRED(mu2_);
3645 LOCKS_EXCLUDED(mu2_);
3647 EXCLUSIVE_LOCK_FUNCTION(mu2_);
3649 SHARED_LOCK_FUNCTION(mu2_);
3651 UNLOCK_FUNCTION(mu2_);
3653 EXCLUSIVE_TRYLOCK_FUNCTION(true, mu2_);
3655 SHARED_TRYLOCK_FUNCTION(true, mu2_);
3671 void Foo::lock() { mu1_.Lock(); mu2_.Lock(); }
3672 void Foo::readerlock() { mu1_.ReaderLock(); mu2_.ReaderLock(); }
3673 void Foo::unlock() { mu1_.Unlock(); mu2_.Unlock(); }
3691 mu2_.Lock();
3693 mu2_.Unlock();
3955 mu2_.Lock();
3956 mu2_.Unlock();
3960 mu2_.Lock();
3961 mu2_.Unlock();
3965 mu2_.Lock();
3966 mu2_.Unlock();
3971 mu2_.Lock(); // expected-note {{mutex acquired here}}
3973 // expected-warning {{mutex 'mu2_' is still locked at the end of function}}
3977 mu2_.ReaderLock(); // expected-note {{mutex acquired here}}
3979 // expected-warning {{mutex 'mu2_' is still locked at the end of function}}
3983 mu2_.Unlock(); // expected-warning {{unlocking 'mu2_' that was not locked}}
3988 Mutex mu2_;