Lines Matching refs:counts
709 size_t counts[kNumberOfLocks]; in TestUnlockObject() local
715 counts[i] = 0; in TestUnlockObject()
731 if (counts[index] == 0) { in TestUnlockObject()
738 if (counts[index] == 0) { in TestUnlockObject()
740 } else if (counts[index] == kThinLockLoops) { in TestUnlockObject()
750 counts[index]++; in TestUnlockObject()
754 counts[index]--; in TestUnlockObject()
766 EXPECT_EQ(counts[index], info.entry_count_) << index; in TestUnlockObject()
768 if (counts[index] > 0) { in TestUnlockObject()
770 EXPECT_EQ(counts[index] - 1, lock_iter.ThinLockCount()); in TestUnlockObject()
782 size_t count = counts[index]; in TestUnlockObject()