Lines Matching refs:LockState
602 LockWord::LockState old_state = lock.GetState(); in TEST_F()
603 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TEST_F()
608 LockWord::LockState new_state = lock_after.GetState(); in TEST_F()
609 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state); in TEST_F()
618 LockWord::LockState l_inc_state = l_inc.GetState(); in TEST_F()
619 EXPECT_EQ(LockWord::LockState::kThinLocked, l_inc_state); in TEST_F()
632 LockWord::LockState new_state2 = lock_after2.GetState(); in TEST_F()
633 EXPECT_EQ(LockWord::LockState::kFatLocked, new_state2); in TEST_F()
676 LockWord::LockState old_state = lock.GetState(); in TestUnlockObject()
677 EXPECT_EQ(LockWord::LockState::kUnlocked, old_state); in TestUnlockObject()
685 LockWord::LockState new_state = lock_after.GetState(); in TestUnlockObject()
686 EXPECT_EQ(LockWord::LockState::kUnlocked, new_state); in TestUnlockObject()
691 LockWord::LockState new_state2 = lock_after2.GetState(); in TestUnlockObject()
692 EXPECT_EQ(LockWord::LockState::kThinLocked, new_state2); in TestUnlockObject()
697 LockWord::LockState new_state3 = lock_after3.GetState(); in TestUnlockObject()
698 EXPECT_EQ(LockWord::LockState::kUnlocked, new_state3); in TestUnlockObject()
730 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
732 EXPECT_EQ(LockWord::LockState::kHashCode, iter_state); in TestUnlockObject()
734 EXPECT_EQ(LockWord::LockState::kFatLocked, iter_state); in TestUnlockObject()
761 LockWord::LockState iter_state = lock_iter.GetState(); in TestUnlockObject()
764 EXPECT_EQ(LockWord::LockState::kFatLocked, iter_state) << index; in TestUnlockObject()
769 EXPECT_EQ(LockWord::LockState::kThinLocked, iter_state); in TestUnlockObject()
772 EXPECT_EQ(LockWord::LockState::kUnlocked, iter_state); in TestUnlockObject()
790 LockWord::LockState new_state4 = lock_after4.GetState(); in TestUnlockObject()
791 EXPECT_TRUE(LockWord::LockState::kUnlocked == new_state4 in TestUnlockObject()
792 || LockWord::LockState::kFatLocked == new_state4); in TestUnlockObject()