/system/core/libunwindstack/ |
DwarfCfa.cpp | 50 memory_->set_cur_offset(start_offset); 59 if ((cfa_offset = memory_->cur_offset()) >= end_offset) { 67 if (!memory_->ReadBytes(&cfa_value, 1)) { 69 last_error_.address = memory_->cur_offset(); 80 if (!memory_->ReadULEB128(&offset)) { 82 last_error_.address = memory_->cur_offset(); 117 if (!memory_->ReadULEB128(&block_length)) { 119 last_error_.address = memory_->cur_offset(); 123 memory_->set_cur_offset(memory_->cur_offset() + block_length) [all...] |
ElfInterface.cpp | 82 if (!memory_->ReadFully(gnu_debugdata_offset_, src.data(), gnu_debugdata_size_)) { 129 eh_frame_.reset(new DwarfEhFrameWithHdr<AddressType>(memory_)); 138 eh_frame_.reset(new DwarfEhFrame<AddressType>(memory_)); 152 debug_frame_.reset(new DwarfDebugFrame<AddressType>(memory_)); 164 if (!memory_->ReadFully(0, &ehdr, sizeof(ehdr))) { 207 if (!memory_->ReadField(offset, &phdr, &phdr.p_type, sizeof(phdr.p_type))) { 222 if (!memory_->ReadField(offset, &phdr, &phdr.p_flags, sizeof(phdr.p_flags))) { 232 if (!memory_->ReadField(offset, &phdr, &phdr.p_vaddr, sizeof(phdr.p_vaddr))) { 238 if (!memory_->ReadField(offset, &phdr, &phdr.p_offset, sizeof(phdr.p_offset))) { 244 if (!memory_->ReadField(offset, &phdr, &phdr.p_memsz, sizeof(phdr.p_memsz))) [all...] |
DexFile.h | 63 std::vector<uint8_t> memory_; member in class:unwindstack::DexFileFromMemory
|
ElfInterfaceArm.cpp | 66 if (!memory_->Read32(offset, &data)) { 88 if (!memory_->ReadField(offset, &phdr, &phdr.p_vaddr, sizeof(phdr.p_vaddr))) { 91 if (!memory_->ReadField(offset, &phdr, &phdr.p_memsz, sizeof(phdr.p_memsz))) { 124 ArmExidx arm(regs_arm, memory_, process_memory);
|
DwarfEhFrameWithHdr.h | 36 using DwarfSectionImpl<AddressType>::memory_;
|
/system/core/libunwindstack/tests/ |
DwarfCfaTest.cpp | 42 memory_.Clear(); 44 dmem_.reset(new DwarfMemory(&memory_)); 61 MemoryFake memory_; member in class:unwindstack::DwarfCfaTest 77 this->memory_.SetMemory(0x2000, std::vector<uint8_t>{i}); 90 this->memory_.SetMemory(0x2000, std::vector<uint8_t>{0x00}); 103 this->memory_.SetMemory(0x2000, std::vector<uint8_t>{0x83, 0x04}); 118 this->memory_.SetMemory(0x2100, std::vector<uint8_t>{0x83, 0x84, 0x01}); 134 this->memory_.SetMemory(0x500, std::vector<uint8_t>{0x05, 0x03, 0x02}); 150 this->memory_.SetMemory(0x1500, std::vector<uint8_t>{0x05, 0x81, 0x01, 0x82, 0x12}); 165 this->memory_.SetMemory(0x500, std::vector<uint8_t>{0x11, 0x05, 0x10}) [all...] |
DwarfSectionTest.cpp | 60 MemoryFake memory_; member in class:unwindstack::DwarfSectionTest 64 MockDwarfSection mock_section(&memory_); 74 MockDwarfSection mock_section(&memory_); 88 MockDwarfSection mock_section(&memory_); 102 MockDwarfSection mock_section(&memory_); 112 MockDwarfSection mock_section(&memory_); 127 MockDwarfSection mock_section(&memory_); 146 MockDwarfSection mock_section(&memory_); 176 MockDwarfSection mock_section(&memory_); 202 MockDwarfSection mock_section(&memory_); [all...] |
DexFilesTest.cpp | 40 memory_ = new MemoryFake; 41 process_memory_.reset(memory_); 105 MemoryFake* memory_; member in class:unwindstack::DexFilesTest 112 memory_->SetData32(addr + 12, head); 117 memory_->SetData64(addr + 16, head); 124 memory_->SetData32(entry_addr, next); 126 memory_->SetData32(entry_addr + 4, prev); 128 memory_->SetData32(entry_addr + 8, dex_file); 135 memory_->SetData64(entry_addr, next); 137 memory_->SetData64(entry_addr + 8, prev) [all...] |
MapInfoGetLoadBiasTest.cpp | 49 memory_ = new MemoryFake; 50 process_memory_.reset(memory_); 59 MemoryFake* memory_; member in class:unwindstack::MapInfoGetLoadBiasTest 150 InitElfData(memory_, map_info_->start); 156 InitElfData(memory_, map_info_->start); 160 memory_->Clear(); 165 InitElfData(memory_, map_info_->start);
|
MapInfoGetElfTest.cpp | 48 memory_ = new MemoryFake; 49 process_memory_.reset(memory_); 66 MemoryFake* memory_; member in class:unwindstack::MapInfoGetElfTest 85 memory_->SetMemory(0x3000, &ehdr, sizeof(ehdr)); 99 memory_->SetMemory(0x8000, &ehdr, sizeof(ehdr)); 113 memory_->SetMemory(0x4000 + offset, ptr, size); 129 memory_->SetMemory(0x6000 + offset, ptr, size); 145 memory_->SetMemory(0x2000 + offset, ptr, size); 161 memory_->SetMemory(0x5000 + offset, ptr, size); 323 memory_->SetMemory(0x9000, &ehdr, sizeof(ehdr)) [all...] |
RegsTest.cpp | 40 memory_ = new MemoryFake; 41 elf_.reset(new ElfFake(memory_)); 47 MemoryFake* memory_; member in class:unwindstack::RegsTest 166 memory_->SetData32(0x2000, 0); 168 memory_->SetData32(0x2000, 0xe000f000); 172 memory_->SetData32(0x2100, 0); 174 memory_->SetData32(0x2100, 0xf111f111);
|
/system/core/libunwindstack/include/unwindstack/ |
Elf.h | 53 Elf(Memory* memory) : memory_(memory) {} 89 Memory* memory() { return memory_.get(); } 114 std::unique_ptr<Memory> memory_; member in class:unwindstack::Elf
|
DwarfMemory.h | 29 DwarfMemory(Memory* memory) : memory_(memory) {} 65 Memory* memory_; member in class:unwindstack::DwarfMemory
|
Memory.h | 135 std::shared_ptr<Memory> memory_; member in class:unwindstack::MemoryRange 151 std::unique_ptr<MemoryRange> memory_; member in class:unwindstack::MemoryOffline
|
DexFiles.h | 63 std::shared_ptr<Memory> memory_; member in class:unwindstack::DexFiles
|
JitDebug.h | 48 std::shared_ptr<Memory> memory_; member in class:unwindstack::JitDebug
|
/external/google-breakpad/src/processor/ |
stackwalker_mips.cc | 58 if (memory_ && memory_->GetBase() + memory_->GetSize() - 1 > 0xffffffff) { 60 << HexString(memory_->GetBase()) 62 << HexString(memory_->GetSize()); 63 memory_ = NULL; 111 if (!cfi_frame_info->FindCallerRegs(callee_registers, *memory_, 170 if (!memory_ || !stack) { 252 if (!memory_->GetMemoryAtAddress(caller_sp - sizeof(caller_pc),
|
stackwalker_x86.cc | 96 if (memory_ && memory_->GetBase() + memory_->GetSize() - 1 > 0xffffffff) { 98 // Mark memory_ = NULL, which will cause stackwalking to fail. 100 HexString(memory_->GetBase()) << "+" << 101 HexString(memory_->GetSize()); 102 memory_ = NULL; 365 PostfixEvaluator<uint32_t>(&dictionary, memory_); 453 if (has_skipped_frames || !memory_->GetMemoryAtAddress(ebp, &value)) { 461 if (!memory_->GetMemoryAtAddress(location, &ebp) [all...] |
/external/libchrome/base/memory/ |
shared_memory_posix.cc | 41 memory_(NULL), 50 memory_(NULL), 269 if (memory_) 284 memory_ = mmap(NULL, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), 287 bool mmap_succeeded = memory_ != (void*)-1 && memory_ != NULL; 291 reinterpret_cast<uintptr_t>(memory_) & 295 memory_ = NULL; 302 if (memory_ == NULL) 305 munmap(memory_, mapped_size_) [all...] |
/art/runtime/base/ |
arena_allocator.cc | 189 Arena::Arena() : bytes_allocated_(0), memory_(nullptr), size_(0), next_(nullptr) { 214 memory_ = unaligned_memory_; 216 memory_ = AlignUp(unaligned_memory_, ArenaAllocator::kArenaAlignment); 218 size_t head = memory_ - unaligned_memory_; 221 MEMORY_TOOL_MAKE_NOACCESS(memory_ + size, tail); 224 DCHECK_ALIGNED(memory_, ArenaAllocator::kArenaAlignment); 231 size_t head = memory_ - unaligned_memory_; 234 MEMORY_TOOL_MAKE_UNDEFINED(memory_ + size_, tail); 257 memory_ = map_->Begin(); 260 DCHECK_ALIGNED(memory_, ArenaAllocator::kArenaAlignment) [all...] |
/art/compiler/optimizing/ |
optimizing_cfi_test.cc | 139 memory_.resize(size); 140 return memory_.data(); 143 const std::vector<uint8_t>& GetMemory() { return memory_; } 146 std::vector<uint8_t> memory_; member in class:art::OptimizingCFITest::InternalCodeAllocator
|
/external/ImageMagick/MagickCore/ |
draw-private.h | 23 #include "MagickCore/memory_.h"
|
/external/google-breakpad/src/common/mac/ |
macho_walker.cc | 55 memory_(NULL), 68 memory_(memory), 104 if (memory_) { 114 memcpy(buffer, static_cast<char *>(memory_) + offset, size);
|
/system/core/libbacktrace/ |
UnwindStack.h | 52 unwindstack::MemoryRemote memory_; member in class:UnwindStackPtrace
|
UnwindStackMap.cpp | 152 if (memory_ == nullptr) { 153 memory_ = new unwindstack::MemoryOfflineBuffer(stack.data, stack.start, stack.end); 154 process_memory_.reset(memory_); 156 memory_->Reset(stack.data, stack.start, stack.end);
|