Home
last modified time | relevance | path

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

/art/runtime/jit/
Djit_memory_region_test.cc85 int32_t* addr2 = reinterpret_cast<int32_t*>( in BasicTest() local
87 CHECK_EQ(addr2, MAP_FAILED); in BasicTest()
96 addr2 = reinterpret_cast<int32_t*>(mremap(addr, 0, kPageSize, MREMAP_MAYMOVE)); in BasicTest()
97 CHECK_NE(addr2, MAP_FAILED); in BasicTest()
100 addr2[0] = 3; in BasicTest()
101 CHECK_EQ(addr2[0], 3); in BasicTest()
103 addr2 = reinterpret_cast<int32_t*>(mremap(addr, kPageSize, 2 * kPageSize, MREMAP_MAYMOVE)); in BasicTest()
104 CHECK_NE(addr2, MAP_FAILED); in BasicTest()
107 addr2[0] = 4; in BasicTest()
108 CHECK_EQ(addr2[0], 4); in BasicTest()
[all …]
/art/libartbase/base/
Dmem_map_test.cc815 uint8_t* addr2 = reservation.Begin(); in TEST_F() local
817 addr2, in TEST_F()
827 ASSERT_EQ(addr2, map2.Begin()); in TEST_F()
859 ASSERT_EQ(addr2, map2a.Begin()); in TEST_F()