Searched refs:MemoryRange (Results 1 – 6 of 6) sorted by relevance
/system/unwinding/libunwindstack/ |
D | MemoryRange.h | 33 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_;
|
D | MapInfo.cpp | 167 std::unique_ptr<MemoryRange> memory(new MemoryRange(process_memory, start(), end() - start(), 0)); in CreateMemory() 181 ranges->Insert(new MemoryRange(process_memory, start(), end() - start(), 0)); in CreateMemory() 182 ranges->Insert(new MemoryRange(process_memory, next_real_map()->start(), in CreateMemory() 206 ranges->Insert(new MemoryRange(process_memory, prev_real_map()->start(), in CreateMemory() 208 ranges->Insert(new MemoryRange(process_memory, start(), end() - start(), elf_offset())); in CreateMemory()
|
D | MemoryOffline.h | 42 std::unique_ptr<MemoryRange> memory_;
|
D | Memory.cpp | 360 MemoryRange::MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length, in MemoryRange() function in unwindstack::MemoryRange 364 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read() 383 void MemoryRanges::Insert(MemoryRange* memory) { in Insert() 420 memory_ = std::make_unique<MemoryRange>(memory_file, sizeof(start), size, start); in Init()
|
/system/unwinding/libunwindstack/tests/ |
D | MemoryRangeTest.cpp | 44 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()
|
D | MemoryRangesTest.cpp | 39 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()
|