Home
last modified time | relevance | path

Searched refs:m0 (Results 1 – 1 of 1) sorted by relevance

/art/libartbase/base/
Dmem_map_test.cc69 MemMap m0 = MemMap::MapAnonymous("MemMapTest_RemapAtEndTest_map0", in RemapAtEndTest() local
75 ASSERT_TRUE(m0.IsValid()); in RemapAtEndTest()
76 uint8_t* base0 = m0.Begin(); in RemapAtEndTest()
78 size_t size0 = m0.Size(); in RemapAtEndTest()
79 EXPECT_EQ(m0.Size(), 2 * page_size); in RemapAtEndTest()
80 EXPECT_EQ(m0.BaseBegin(), base0); in RemapAtEndTest()
81 EXPECT_EQ(m0.BaseSize(), size0); in RemapAtEndTest()
84 MemMap m1 = m0.RemapAtEnd(base0 + page_size, in RemapAtEndTest()
89 EXPECT_EQ(m0.Begin(), base0) << error_msg; in RemapAtEndTest()
90 EXPECT_EQ(m0.Size(), page_size); in RemapAtEndTest()
[all …]