Searched refs:MemoryRange (Results 1 – 6 of 6) sorted by relevance
/system/unwinding/libunwindstack/ |
D | MemoryRange.h | 32 class MemoryRange : public Memory { 34 MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length, 36 virtual ~MemoryRange() = default; 55 bool Insert(MemoryRange* memory); 60 std::map<uint64_t, std::unique_ptr<MemoryRange>> maps_;
|
D | MapInfo.cpp | 209 std::unique_ptr<MemoryRange> memory(new MemoryRange(process_memory, start(), end() - start(), 0)); in CreateMemory() 226 ranges->Insert(new MemoryRange(process_memory, start(), end() - start(), 0)); in CreateMemory() 227 ranges->Insert(new MemoryRange(process_memory, next_real_map->start(), in CreateMemory() 252 if (!ranges->Insert(new MemoryRange(process_memory, prev_real_map->start(), in CreateMemory() 256 if (!ranges->Insert(new MemoryRange(process_memory, start(), end() - start(), elf_offset()))) { in CreateMemory()
|
D | Memory.cpp | 349 MemoryRange::MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length, in MemoryRange() function in unwindstack::MemoryRange 353 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read() 372 bool MemoryRanges::Insert(MemoryRange* memory) { in Insert() 414 memory_ = std::make_unique<MemoryRange>(memory_file, sizeof(start), size, start); in Init() 424 memory_ = std::make_unique<MemoryRange>(memory_file, 0, size, start); in Init()
|
D | MemoryOffline.h | 43 std::unique_ptr<MemoryRange> memory_;
|
/system/unwinding/libunwindstack/tests/ |
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() 91 ASSERT_TRUE(ranges.Insert(new MemoryRange(nullptr, 0x1000, 0x2000, 0x1000))); in TEST_F() 92 ASSERT_FALSE(ranges.Insert(new MemoryRange(nullptr, 0x2000, 0x1000, 0x2000))); in TEST_F()
|
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()
|