• Home
  • Raw
  • Download

Lines Matching refs:mu2_

2563   Mutex mu2_;  member in TrylockFunctionTest::Foo
2566 bool lockBoth() EXCLUSIVE_TRYLOCK_FUNCTION(true, mu1_, mu2_);
2573 mu2_.Lock(); in lockBoth()
2576 mu2_.Unlock(); in lockBoth()
2890 Mutex mu2_; member in DuplicateAttributeTest::Foo
2893 int b GUARDED_BY(mu2_);
2901 void lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_);
2904 EXCLUSIVE_LOCK_FUNCTION(mu2_)
2905 EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_);
2908 void unlock3() UNLOCK_FUNCTION(mu1_, mu2_, mu3_);
2911 UNLOCK_FUNCTION(mu2_)
2912 UNLOCK_FUNCTION(mu1_, mu2_, mu3_);
2927 void Foo::lock3() EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_, mu3_) { in lock3()
2929 mu2_.Lock(); in lock3()
2934 EXCLUSIVE_LOCK_FUNCTION(mu1_, mu2_) in locklots()
2935 EXCLUSIVE_LOCK_FUNCTION(mu2_, mu3_) { in locklots()
2937 mu2_.Lock(); in locklots()
2945 void Foo::unlock3() UNLOCK_FUNCTION(mu1_, mu2_, mu3_) { in unlock3()
2947 mu2_.Unlock(); in unlock3()
2952 UNLOCK_FUNCTION(mu1_, mu2_) in unlocklots()
2953 UNLOCK_FUNCTION(mu2_, mu3_) { in unlocklots()
2955 mu2_.Unlock(); in unlocklots()
3654 Mutex mu2_; member in MultipleAttributeTest::Foo
3656 int b GUARDED_BY(mu2_);
3657 int c GUARDED_BY(mu1_) GUARDED_BY(mu2_);
3658 int* d PT_GUARDED_BY(mu1_) PT_GUARDED_BY(mu2_);
3661 EXCLUSIVE_LOCKS_REQUIRED(mu2_);
3663 SHARED_LOCKS_REQUIRED(mu2_);
3665 LOCKS_EXCLUDED(mu2_);
3667 EXCLUSIVE_LOCK_FUNCTION(mu2_);
3669 SHARED_LOCK_FUNCTION(mu2_);
3671 UNLOCK_FUNCTION(mu2_);
3673 EXCLUSIVE_TRYLOCK_FUNCTION(true, mu2_);
3675 SHARED_TRYLOCK_FUNCTION(true, mu2_);
3677 ASSERT_EXCLUSIVE_LOCK(mu2_);
3679 ASSERT_SHARED_LOCK(mu2_);
3697 void Foo::lock() { mu1_.Lock(); mu2_.Lock(); } in lock()
3698 void Foo::readerlock() { mu1_.ReaderLock(); mu2_.ReaderLock(); } in readerlock()
3699 void Foo::unlock() { mu1_.Unlock(); mu2_.Unlock(); } in unlock()
3717 mu2_.Lock(); in test()
3719 mu2_.Unlock(); in test()
3996 mu2_.Lock(); in lockBad()
3997 mu2_.Unlock(); in lockBad()
4001 mu2_.Lock(); in readerLockBad()
4002 mu2_.Unlock(); in readerLockBad()
4006 mu2_.Lock(); in unlockBad()
4007 mu2_.Unlock(); in unlockBad()
4012 mu2_.Lock(); // expected-note {{mutex acquired here}} in lockBad2()
4018 mu2_.ReaderLock(); // expected-note {{mutex acquired here}} in readerLockBad2()
4024 mu2_.Unlock(); // expected-warning {{releasing mutex 'mu2_' that was not held}} in unlockBad2()
4029 Mutex mu2_; member in LockUnlockFunctionTest::Foo