Home
last modified time | relevance | path

Searched refs:curr_addr (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DMachVMMemory.cpp170 nub_addr_t curr_addr = address; in Read() local
174 MaxBytesLeftInPage(task, curr_addr, data_count - total_bytes_read); in Read()
177 m_err = ::mach_vm_read(task, curr_addr, curr_size, &vm_memory, in Read()
183 task, (uint64_t)curr_addr, (uint64_t)curr_size, in Read()
192 task, (uint64_t)curr_addr, (uint64_t)curr_size, vm_memory, in Read()
198 curr_addr += curr_bytes_read; in Read()
212 nub_addr_t curr_addr = address; in Write() local
216 if (vmRegion.GetRegionForAddress(curr_addr)) { in Write()
218 mach_vm_size_t region_bytes_left = vmRegion.BytesRemaining(curr_addr); in Write()
225 if (vmRegion.SetProtections(curr_addr, curr_data_count, in Write()
[all …]
DMachProcess.mm1709 const nub_addr_t curr_addr = addr + bytes_written;
1710 if (intersect_addr > curr_addr) {
1713 nub_size_t curr_size = intersect_addr - curr_addr;
1715 m_task.WriteMemory(curr_addr, curr_size, ubuf + bytes_written);
/external/llvm-project/lldb/source/Target/
DMemory.cpp91 for (addr_t curr_addr = first_cache_line_addr; cache_idx < num_cache_lines; in Flush() local
92 curr_addr += cache_line_byte_size, ++cache_idx) { in Flush()
93 BlockMap::iterator pos = m_L2_cache.find(curr_addr); in Flush()
171 addr_t curr_addr = addr - (addr % cache_line_byte_size); in Read() local
172 addr_t cache_offset = addr - curr_addr; in Read()
175 if (m_invalid_ranges.FindEntryThatContains(curr_addr)) { in Read()
177 curr_addr); in Read()
181 BlockMap::const_iterator pos = m_L2_cache.find(curr_addr); in Read()
193 curr_addr += curr_read_size + cache_offset; in Read()
199 assert((curr_addr % cache_line_byte_size) == 0); in Read()
[all …]
DThreadPlanStepInRange.cpp244 lldb::addr_t curr_addr = thread.GetRegisterContext()->GetPC(); in ShouldStop() local
252 if (curr_addr == func_start_address.GetLoadAddress(&GetTarget())) in ShouldStop()
256 if (curr_addr == func_start_address.GetLoadAddress(&GetTarget())) in ShouldStop()
264 GetTarget().GetSectionLoadList().ResolveLoadAddress(curr_addr, in ShouldStop()
DProcess.cpp2075 addr_t curr_addr = addr; in ReadCStringFromMemory() local
2077 size_t length = ReadCStringFromMemory(curr_addr, buf, sizeof(buf), error); in ReadCStringFromMemory()
2084 curr_addr += length; in ReadCStringFromMemory()
2105 addr_t curr_addr = addr; in ReadStringFromMemory() local
2112 cache_line_size - (curr_addr % cache_line_size); in ReadStringFromMemory()
2115 size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error); in ReadStringFromMemory()
2132 curr_addr += bytes_read; in ReadStringFromMemory()
2153 addr_t curr_addr = addr; in ReadCStringFromMemory() local
2160 cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
2163 size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error); in ReadCStringFromMemory()
[all …]
DTarget.cpp1818 addr_t curr_addr = addr.GetLoadAddress(this); in ReadCStringFromMemory() local
1828 curr_addr += length; in ReadCStringFromMemory()
1831 address = Address(curr_addr); in ReadCStringFromMemory()
1844 addr_t curr_addr = addr.GetLoadAddress(this); in ReadCStringFromMemory() local
1857 cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
1876 curr_addr += bytes_read; in ReadCStringFromMemory()
1878 address = Address(curr_addr); in ReadCStringFromMemory()
/external/llvm-project/lldb/source/Plugins/Architecture/PPC64/
DArchitecturePPC64.cpp55 const Address &curr_addr) const { in GetBytesToSkip()
56 if (curr_addr.GetFileAddress() == in GetBytesToSkip()
DArchitecturePPC64.h29 size_t GetBytesToSkip(Symbol &func, const Address &curr_addr) const override;
/external/llvm-project/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp607 const addr_t curr_addr = addr + bytes_read; in DoReadMemory() local
609 m_core_aranges.FindEntryThatContains(curr_addr); in DoReadMemory()
612 const addr_t offset = curr_addr - core_memory_entry->GetRangeBase(); in DoReadMemory()
613 const addr_t bytes_left = core_memory_entry->GetRangeEnd() - curr_addr; in DoReadMemory()
626 "core file does not contain 0x%" PRIx64, curr_addr); in DoReadMemory()
/external/llvm-project/lldb/include/lldb/Core/
DArchitecture.h45 virtual size_t GetBytesToSkip(Symbol &func, const Address &curr_addr) const { in GetBytesToSkip() argument
/external/llvm-project/lldb/source/Host/common/
DNativeProcessProtocol.cpp674 addr_t curr_addr = addr; in ReadCStringFromMemory() local
682 cache_line_size - (curr_addr % cache_line_size); in ReadCStringFromMemory()
684 status = ReadMemory(curr_addr, static_cast<void *>(curr_buffer), in ReadCStringFromMemory()
700 curr_addr += bytes_read; in ReadCStringFromMemory()
/external/crosvm/disk/src/qcow/
Dmod.rs1332 let curr_addr = address + nwritten as u64; in zero_bytes() localVariable
1333 let count = self.limit_range_cluster(curr_addr, write_count - nwritten); in zero_bytes()
1337 self.deallocate_cluster(curr_addr)?; in zero_bytes()
1344 Some(self.file_offset_write(curr_addr)?) in zero_bytes()
1348 self.file_offset_read(curr_addr)? in zero_bytes()
1485 let curr_addr = address + nread as u64; in read_cb() localVariable
1486 let file_offset = self.file_offset_read(curr_addr)?; in read_cb()
1487 let count = self.limit_range_cluster(curr_addr, read_count - nread); in read_cb()
1492 cb(Some(backing.as_mut()), nread, curr_addr, count)?; in read_cb()
1512 let curr_addr = address + nwritten as u64; in write_cb() localVariable
[all …]
/external/llvm-project/lldb/tools/debugserver/source/
DDNB.cpp1244 nub_addr_t curr_addr = addr; in DNBProcessMemoryReadCString() local
1247 DNBProcessMemoryRead(pid, curr_addr, max_buffer_cstr_length, buffer); in DNBProcessMemoryReadCString()
1252 curr_addr += length; in DNBProcessMemoryReadCString()