Lines Matching refs:m1
94 MemMap* m1 = m0->RemapAtEnd(base0 + page_size, in RemapAtEndTest() local
103 uint8_t* base1 = m1->Begin(); in RemapAtEndTest()
104 size_t size1 = m1->Size(); in RemapAtEndTest()
107 EXPECT_EQ(BaseBegin(m1), base1); in RemapAtEndTest()
108 EXPECT_EQ(BaseSize(m1), size1); in RemapAtEndTest()
125 delete m1; in RemapAtEndTest()
656 std::unique_ptr<MemMap> m1(m0->RemapAtEnd(base0 + 3 * page_size, in TEST_F() local
660 uint8_t* base1 = m1->Begin(); in TEST_F()
665 std::unique_ptr<MemMap> m2(m1->RemapAtEnd(base1 + 4 * page_size, in TEST_F()
672 ASSERT_EQ(m1->Size(), 4 * page_size); in TEST_F()
685 uint8_t* end1 = base1 + m1->Size(); in TEST_F()
705 m1->AlignBy(2 * page_size); in TEST_F()
710 EXPECT_TRUE(IsAlignedParam(m1->Begin(), 2 * page_size)); in TEST_F()
715 EXPECT_TRUE(IsAlignedParam(m1->Begin() + m1->Size(), 2 * page_size)); in TEST_F()
722 EXPECT_EQ(m1->Begin(), base1 + page_size); in TEST_F()
723 EXPECT_EQ(m1->Begin() + m1->Size(), end1 - page_size); in TEST_F()
731 EXPECT_EQ(m1->Begin(), base1); in TEST_F()
732 EXPECT_EQ(m1->Begin() + m1->Size(), end1); in TEST_F()