Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DMemoryRangeTest.cpp45 MemoryRange range(process_memory_, 9001, 1024, 0); in TEST_F()
57 MemoryRange range(process_memory_, 1000, 1024, 0); in TEST_F()
78 std::unique_ptr<MemoryRange> overflow(new MemoryRange(process_memory, 100, 200, 0)); in TEST_F()
85 MemoryRange range(process_memory_, 1000, 1024, 0); in TEST_F()
97 MemoryRange range(process_memory_, 1000, 1024, 400); in TEST_F()
DMemoryRangesTest.cpp40 ranges_->Insert(new MemoryRange(process_memory_, 15000, 100, 4000)); in SetUp()
41 ranges_->Insert(new MemoryRange(process_memory_, 10000, 2000, 2000)); in SetUp()
42 ranges_->Insert(new MemoryRange(process_memory_, 3000, 1000, 0)); in SetUp()
43 ranges_->Insert(new MemoryRange(process_memory_, 19000, 1000, 6000)); in SetUp()
44 ranges_->Insert(new MemoryRange(process_memory_, 20000, 1000, 7000)); in SetUp()
/system/core/libunwindstack/include/unwindstack/
DMemory.h137 class MemoryRange : public Memory {
139 MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length,
141 virtual ~MemoryRange() = default;
160 void Insert(MemoryRange* memory);
165 std::map<uint64_t, std::unique_ptr<MemoryRange>> maps_;
178 std::unique_ptr<MemoryRange> memory_;
/system/core/libunwindstack/
DMapInfo.cpp162 std::unique_ptr<MemoryRange> memory(new MemoryRange(process_memory, start, end - start, 0)); in CreateMemory()
185 new MemoryRange(process_memory, prev_map->start, prev_map->end - prev_map->start, 0)); in CreateMemory()
186 ranges->Insert(new MemoryRange(process_memory, start, end - start, elf_offset)); in CreateMemory()
DMemory.cpp304 MemoryRange::MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length, in MemoryRange() function in unwindstack::MemoryRange
308 size_t MemoryRange::Read(uint64_t addr, void* dst, size_t size) { in Read()
327 void MemoryRanges::Insert(MemoryRange* memory) { in Insert()
356 memory_ = std::make_unique<MemoryRange>(memory_file, sizeof(start), size, start); in Init()
DJitDebug.cpp203 Elf* elf = new Elf(new MemoryRange(memory_, start, size, 0)); in GetElf()