Lines Matching refs:map
132 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() local
139 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
141 map.reset(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F()
148 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
156 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousEmpty", in TEST_F() local
163 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
165 ASSERT_LT(reinterpret_cast<uintptr_t>(BaseBegin(map.get())), 1ULL << 32); in TEST_F()
222 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousExactAddr32bitHighAddr", in TEST_F() local
229 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
231 ASSERT_EQ(reinterpret_cast<uintptr_t>(BaseBegin(map.get())), start_addr); in TEST_F()
240 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousOverflow", in TEST_F() local
247 ASSERT_EQ(nullptr, map.get()); in TEST_F()
255 std::unique_ptr<MemMap> map( in TEST_F() local
263 ASSERT_EQ(nullptr, map.get()); in TEST_F()
270 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousLow4GBRangeTooHigh", in TEST_F() local
277 ASSERT_EQ(nullptr, map.get()); in TEST_F()
285 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymousReserve", in TEST_F() local
292 ASSERT_NE(nullptr, map.get()); in TEST_F()
295 reinterpret_cast<uint8_t*>(map->BaseBegin()), in TEST_F()
310 std::unique_ptr<MemMap> map(MemMap::MapAnonymous("MapAnonymous0", in TEST_F() local
317 ASSERT_TRUE(map.get() != nullptr) << error_msg; in TEST_F()
320 uint8_t* map_base = reinterpret_cast<uint8_t*>(map->BaseBegin()); in TEST_F()
322 map.reset(); in TEST_F()