Lines Matching refs:temp_map
631 Mapping temp_map; in MapAddressRange() local
636 temp_map.push_back(mr); in MapAddressRange()
641 if (temp_map.empty()) in MapAddressRange()
645 std::sort(temp_map.begin(), temp_map.end(), MappedRangeMappedLess); in MapAddressRange()
650 mapped_ranges->push_back(AddressRange(temp_map[0].rva_transformed, 0)); in MapAddressRange()
651 for (size_t i = 1; i < temp_map.size(); ++i) { in MapAddressRange()
652 if (temp_map[i].rva_transformed > mapped_ranges->back().rva) in MapAddressRange()
653 mapped_ranges->push_back(AddressRange(temp_map[i].rva_transformed, 0)); in MapAddressRange()
667 DWORD rva_begin = temp_map[0].rva_transformed; in MapAddressRange()
668 DWORD rva_cur_content = rva_begin + temp_map[0].length; in MapAddressRange()
669 DWORD rva_cur_injected = rva_cur_content + temp_map[0].injected; in MapAddressRange()
670 for (size_t i = 1; i < temp_map.size(); ++i) { in MapAddressRange()
671 if (rva_cur_injected < temp_map[i].rva_transformed) { in MapAddressRange()
678 rva_begin = temp_map[i].rva_transformed; in MapAddressRange()
681 rva_cur_content = temp_map[i].rva_transformed + temp_map[i].length; in MapAddressRange()
682 rva_cur_injected = rva_cur_content + temp_map[i].injected; in MapAddressRange()