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