Lines Matching refs:map
129 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() local
135 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
137 map.reset(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F()
143 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
151 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() local
157 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
159 ASSERT_LT(reinterpret_cast<uintptr_t>(BaseBegin(map.get())), 1ULL << 32); in TEST_F()
211 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousExactAddr32bitHighAddr", in TEST_F() local
217 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
219 ASSERT_EQ(reinterpret_cast<uintptr_t>(BaseBegin(map.get())), start_addr); in TEST_F()
227 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousOverflow", in TEST_F() local
233 ASSERT_EQ(nullptr, map.get()); in TEST_F()
241 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousLow4GBExpectedTooHigh", in TEST_F() local
247 ASSERT_EQ(nullptr, map.get()); in TEST_F()
254 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousLow4GBRangeTooHigh", in TEST_F() local
260 ASSERT_EQ(nullptr, map.get()); in TEST_F()
270 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymous0", in TEST_F() local
276 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
279 byte* map_base = reinterpret_cast<byte*>(map->BaseBegin()); in TEST_F()
281 map.reset(); in TEST_F()