Searched refs:prev_map (Results 1 – 6 of 6) sorted by relevance
/system/core/libunwindstack/ |
D | MapInfo.cpp | 37 if (prev_map == nullptr || prev_map->flags != PROT_READ) { in InitFileMemoryFromPreviousReadOnlyMap() 41 uint64_t map_size = end - prev_map->end; in InitFileMemoryFromPreviousReadOnlyMap() 42 if (!memory->Init(name, prev_map->offset, map_size)) { in InitFileMemoryFromPreviousReadOnlyMap() 51 if (!memory->Init(name, prev_map->offset, max_size)) { in InitFileMemoryFromPreviousReadOnlyMap() 55 elf_offset = offset - prev_map->offset; in InitFileMemoryFromPreviousReadOnlyMap() 56 elf_start_offset = prev_map->offset; in InitFileMemoryFromPreviousReadOnlyMap() 112 if (prev_map == nullptr || prev_map->offset != 0 || prev_map->flags != PROT_READ || in GetFileMemory() 113 prev_map->name != name) { in GetFileMemory() 172 if (offset == 0 || name.empty() || prev_map == nullptr || prev_map->name != name || in CreateMemory() 173 prev_map->offset >= offset) { in CreateMemory() [all …]
|
D | Maps.cpp | 91 MapInfo* prev_map = nullptr; in Sort() local 93 map_info->prev_map = prev_map; in Sort() 94 prev_map = map_info.get(); in Sort()
|
/system/core/libunwindstack/tests/ |
D | MapInfoTest.cpp | 29 MapInfo prev_map(nullptr, 0, 0, 0, 0, ""); in TEST() local 30 MapInfo map_info(&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, 0, 0, 0, 0, ""); in TEST() local 46 MapInfo map_info(&prev_map, 1, 2, 3, 4, name); in TEST() 48 EXPECT_EQ(&prev_map, map_info.prev_map); in TEST()
|
D | MapInfoCreateMemoryTest.cpp | 139 info.prev_map = &prev_info; in TEST_F()
|
/system/core/libunwindstack/include/unwindstack/ |
D | MapInfo.h | 40 prev_map(map_info), in MapInfo() 50 prev_map(map_info), in MapInfo() 69 MapInfo* prev_map = nullptr; member
|
/system/core/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 286 unwindstack::MapInfo* prev_map = map_info->prev_map; in SaveData() local 287 if (prev_map != nullptr && map_info->offset != 0 && prev_map->offset == 0 && in SaveData() 288 prev_map->flags == PROT_READ && map_info->name == prev_map->name && in SaveData() 289 maps_by_start.count(prev_map->start) == 0) { in SaveData() 290 info = FillInAndGetMapInfo(maps_by_start, prev_map); in SaveData()
|