Lines Matching refs:recursion_count_
381 : BaseMutex(name, level), exclusive_owner_(0), recursion_count_(0), recursive_(recursive) { in Mutex()
476 recursion_count_++; in ExclusiveLock()
478 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveLock()
479 << name_ << " " << recursion_count_; in ExclusiveLock()
516 recursion_count_++; in ExclusiveTryLock()
518 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveTryLock()
519 << name_ << " " << recursion_count_; in ExclusiveTryLock()
549 recursion_count_ = 1; in ExclusiveLockUncontendedFor()
561 recursion_count_ = 0; in ExclusiveUnlockUncontended()
582 recursion_count_--; in ExclusiveUnlock()
583 if (!recursive_ || recursion_count_ == 0) { in ExclusiveUnlock()
585 CHECK(recursion_count_ == 0 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveUnlock()
586 << name_ << " " << recursion_count_; in ExclusiveUnlock()
634 << " rec=" << recursion_count_ in Dump()
996 unsigned int old_recursion_count = guard_.recursion_count_; in WaitHoldingLocks()
1001 guard_.recursion_count_ = 1; in WaitHoldingLocks()
1022 guard_.recursion_count_ = 0; in WaitHoldingLocks()
1026 guard_.recursion_count_ = old_recursion_count; in WaitHoldingLocks()
1034 unsigned int old_recursion_count = guard_.recursion_count_; in TimedWait()
1041 guard_.recursion_count_ = 1; in TimedWait()
1069 guard_.recursion_count_ = 0; in TimedWait()
1085 guard_.recursion_count_ = old_recursion_count; in TimedWait()