Lines Matching refs:m2
115 MemMap m2 = m1.RemapAtEnd(m1.Begin(), in RemapAtEndTest() local
119 ASSERT_TRUE(m2.IsValid()) << error_msg; in RemapAtEndTest()
701 MemMap m2 = m1.RemapAtEnd(base1 + 4 * page_size, in TEST_F() local
705 uint8_t* base2 = m2.Begin(); in TEST_F()
710 MemMap m3 = m2.RemapAtEnd(base2 + 3 * page_size, in TEST_F()
717 ASSERT_EQ(m2.Size(), 3 * page_size); in TEST_F()
722 uint8_t* end2 = base2 + m2.Size(); in TEST_F()
742 m2.AlignBy(2 * page_size); in TEST_F()
747 EXPECT_TRUE(IsAlignedParam(m2.Begin(), 2 * page_size)); in TEST_F()
752 EXPECT_TRUE(IsAlignedParam(m2.Begin() + m2.Size(), 2 * page_size)); in TEST_F()
760 EXPECT_EQ(m2.Begin(), base2 + page_size); in TEST_F()
761 EXPECT_EQ(m2.Begin() + m2.Size(), end2); in TEST_F()
769 EXPECT_EQ(m2.Begin(), base2); in TEST_F()
770 EXPECT_EQ(m2.Begin() + m2.Size(), end2 - page_size); in TEST_F()