Home
last modified time | relevance | path

Searched refs:MemoryRange (Results 1 – 7 of 7) sorted by relevance

/system/core/libunwindstack/
DMemoryRange.h33 class MemoryRange : public Memory {
35 MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length,
37 virtual ~MemoryRange() = default;
56 void Insert(MemoryRange* memory);
61 std::map<uint64_t, std::unique_ptr<MemoryRange>> maps_;
DMapInfo.cpp165 std::unique_ptr<MemoryRange> memory(new MemoryRange(process_memory, start, end - start, 0)); in CreateMemory()
187 ranges->Insert(new MemoryRange(process_memory, prev_real_map->start, in CreateMemory()
189 ranges->Insert(new MemoryRange(process_memory, start, end - start, elf_offset)); in CreateMemory()
DMemoryOffline.h42 std::unique_ptr<MemoryRange> memory_;
DMemory.cpp347 MemoryRange::MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length, in MemoryRange() function in unwindstack::MemoryRange
351 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read()
370 void MemoryRanges::Insert(MemoryRange* memory) { in Insert()
399 memory_ = std::make_unique<MemoryRange>(memory_file, sizeof(start), size, start); in Init()
DJitDebug.cpp204 Elf* elf = new Elf(new MemoryRange(memory_, start, size, 0)); in GetElf()
/system/core/libunwindstack/tests/
DMemoryRangeTest.cpp44 MemoryRange range(process_memory_, 9001, 1024, 0); in TEST_F()
56 MemoryRange range(process_memory_, 1000, 1024, 0); in TEST_F()
77 std::unique_ptr<MemoryRange> overflow(new MemoryRange(process_memory, 100, 200, 0)); in TEST_F()
84 MemoryRange range(process_memory_, 1000, 1024, 0); in TEST_F()
96 MemoryRange range(process_memory_, 1000, 1024, 400); in TEST_F()
DMemoryRangesTest.cpp39 ranges_->Insert(new MemoryRange(process_memory_, 15000, 100, 4000)); in SetUp()
40 ranges_->Insert(new MemoryRange(process_memory_, 10000, 2000, 2000)); in SetUp()
41 ranges_->Insert(new MemoryRange(process_memory_, 3000, 1000, 0)); in SetUp()
42 ranges_->Insert(new MemoryRange(process_memory_, 19000, 1000, 6000)); in SetUp()
43 ranges_->Insert(new MemoryRange(process_memory_, 20000, 1000, 7000)); in SetUp()