Searched refs:LockState (Results 1 – 3 of 3) sorted by relevance
121 LockWord::LockState new_state = lock_after.GetState(); in Run()124 if (LockWord::LockState::kThinLocked != new_state) { in Run()126 ASSERT_EQ(LockWord::LockState::kThinLocked, new_state); // To fail the test. in Run()133 LockWord::LockState new_state2 = lock_after2.GetState(); in Run()136 if (LockWord::LockState::kFatLocked != new_state2) { in Run()138 ASSERT_EQ(LockWord::LockState::kFatLocked, new_state2); // To fail the test. in Run()
146 enum LockState { enum154 LockState GetState() const { in GetState()258 std::ostream& operator<<(std::ostream& os, const LockWord::LockState& code);
862 LockWord::LockState old_state = lock.GetState(); in TEST_F()863 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()868 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()869 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()878 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()879 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()892 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()893 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()936 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()937 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()[all …]