Lines Matching defs:mutex_
2381 // on reference to mutex_ in guarded_by attribute.
2385 Mutex* mutex_;
2387 int foo __attribute__((guarded_by(mutex_)));
3630 Mutex mutex_;
3632 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mutex_) { // expected-note {{mutex acquired here}}
3633 mutex_.Unlock();
3634 } // expected-warning {{expecting mutex 'mutex_' to be held at the end of function}}
3637 void foo2() SHARED_LOCKS_REQUIRED(mutex_) { // expected-note {{mutex acquired here}}
3638 mutex_.Unlock();
3639 } // expected-warning {{expecting mutex 'mutex_' to be held at the end of function}}
4398 Mutex* get_mutex() LOCK_RETURNED(mutex_) { return &mutex_; }
4400 Mutex mutex_;
4401 int a GUARDED_BY(mutex_);