Searched refs:prev_map (Results 1 – 6 of 6) sorted by relevance
/system/core/libunwindstack/ |
D | Maps.cpp | 63 MapInfo* prev_map = nullptr; in Parse() local 72 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse() 73 prev_map = maps_.back().get(); in Parse() 74 if (!prev_map->IsBlank()) { in Parse() 75 prev_real_map = prev_map; in Parse() 82 MapInfo* prev_map = maps_.empty() ? nullptr : maps_.back().get(); in Add() local 83 MapInfo* prev_real_map = prev_map; in Add() 85 prev_real_map = prev_real_map->prev_map; in Add() 89 std::make_unique<MapInfo>(prev_map, prev_real_map, start, end, offset, flags, name); in Add() 100 MapInfo* prev_map = nullptr; in Sort() local [all …]
|
/system/core/libunwindstack/tests/ |
D | MapInfoTest.cpp | 29 MapInfo prev_map(nullptr, nullptr, 0, 0, 0, 0, ""); in TEST() local 30 MapInfo map_info(&prev_map, &prev_map, 1, 2, 3, 4, "map"); in TEST() 32 EXPECT_EQ(&prev_map, map_info.prev_map); in TEST() 45 MapInfo prev_map(nullptr, nullptr, 0, 0, 0, 0, ""); in TEST() local 46 MapInfo map_info(&prev_map, &prev_map, 1, 2, 3, 4, name); in TEST() 48 EXPECT_EQ(&prev_map, map_info.prev_map); in TEST()
|
D | LocalUpdatableMapsTest.cpp | 293 EXPECT_EQ(maps_.Get(1), map_info->prev_map); in TEST_F() 316 EXPECT_EQ(maps_.Get(1), map_info->prev_map); in TEST_F() 326 EXPECT_EQ(maps_.Get(2), map_info->prev_map); in TEST_F() 349 EXPECT_EQ(maps_.Get(1), map_info->prev_map); in TEST_F() 359 EXPECT_EQ(maps_.Get(3), map_info->prev_map); in TEST_F() 369 EXPECT_EQ(maps_.Get(4), map_info->prev_map); in TEST_F()
|
D | MapInfoCreateMemoryTest.cpp | 133 info.prev_map = &prev_info; in TEST_F()
|
/system/core/libunwindstack/include/unwindstack/ |
D | MapInfo.h | 34 MapInfo(MapInfo* prev_map, MapInfo* prev_real_map, uint64_t start, uint64_t end, uint64_t offset, in MapInfo() 41 prev_map(prev_map), in MapInfo() 45 MapInfo(MapInfo* prev_map, MapInfo* prev_real_map, uint64_t start, uint64_t end, uint64_t offset, in MapInfo() 52 prev_map(prev_map), in MapInfo() 75 MapInfo* prev_map = nullptr; member
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 289 unwindstack::MapInfo* prev_map = map_info->prev_map; in SaveData() local 290 if (prev_map != nullptr && map_info->offset != 0 && prev_map->offset == 0 && in SaveData() 291 prev_map->flags == PROT_READ && map_info->name == prev_map->name && in SaveData() 292 maps_by_start.count(prev_map->start) == 0) { in SaveData() 293 info = FillInAndGetMapInfo(maps_by_start, prev_map); in SaveData()
|