Lines Matching refs:recursion_count_
313 : BaseMutex(name, level), recursive_(recursive), recursion_count_(0) { in Mutex()
391 recursion_count_++; in ExclusiveLock()
393 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveLock()
394 << name_ << " " << recursion_count_; in ExclusiveLock()
431 recursion_count_++; in ExclusiveTryLock()
433 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveTryLock()
434 << name_ << " " << recursion_count_; in ExclusiveTryLock()
455 recursion_count_--; in ExclusiveUnlock()
456 if (!recursive_ || recursion_count_ == 0) { in ExclusiveUnlock()
458 CHECK(recursion_count_ == 0 || recursive_) << "Unexpected recursion count on mutex: " in ExclusiveUnlock()
459 << name_ << " " << recursion_count_; in ExclusiveUnlock()
503 << " rec=" << recursion_count_ in Dump()
832 unsigned int old_recursion_count = guard_.recursion_count_; in WaitHoldingLocks()
837 guard_.recursion_count_ = 1; in WaitHoldingLocks()
857 guard_.recursion_count_ = 0; in WaitHoldingLocks()
861 guard_.recursion_count_ = old_recursion_count; in WaitHoldingLocks()
869 unsigned int old_recursion_count = guard_.recursion_count_; in TimedWait()
876 guard_.recursion_count_ = 1; in TimedWait()
903 guard_.recursion_count_ = 0; in TimedWait()
915 guard_.recursion_count_ = old_recursion_count; in TimedWait()