Lines Matching defs:recursion_count_
344 : BaseMutex(name, level), recursive_(recursive), recursion_count_(0) {
426 recursion_count_++;
428 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: "
429 << name_ << " " << recursion_count_;
466 recursion_count_++;
468 CHECK(recursion_count_ == 1 || recursive_) << "Unexpected recursion count on mutex: "
469 << name_ << " " << recursion_count_;
490 recursion_count_--;
491 if (!recursive_ || recursion_count_ == 0) {
493 CHECK(recursion_count_ == 0 || recursive_) << "Unexpected recursion count on mutex: "
494 << name_ << " " << recursion_count_;
540 << " rec=" << recursion_count_
903 unsigned int old_recursion_count = guard_.recursion_count_;
908 guard_.recursion_count_ = 1;
940 guard_.recursion_count_ = 0;
944 guard_.recursion_count_ = old_recursion_count;
952 unsigned int old_recursion_count = guard_.recursion_count_;
959 guard_.recursion_count_ = 1;
986 guard_.recursion_count_ = 0;
998 guard_.recursion_count_ = old_recursion_count;