Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp385 size_t bytes_to_read = size; // Number of bytes to read from the core file in DoReadMemory() local
400 if (bytes_to_read > bytes_left) in DoReadMemory()
401 bytes_to_read = bytes_left; in DoReadMemory()
404 if (bytes_to_read) in DoReadMemory()
406 core_objfile->CopyData(offset + file_start, bytes_to_read, buf); in DoReadMemory()
/llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp654 const size_t bytes_to_read = in DoReadMemory() local
657 core_memory_entry->data.GetRangeBase() + offset, bytes_to_read, in DoReadMemory()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp671 addr_t bytes_to_read = std::min<addr_t>(bytes_left, cache_line_bytes_left); in ReadCStringFromMemory() local
673 bytes_to_read, bytes_read); in ReadCStringFromMemory()
/llvm-project-15.0.7/lldb/source/Target/
H A DTarget.cpp1902 addr_t bytes_to_read = in ReadCStringFromMemory() local
1904 size_t bytes_read = ReadMemory(address, curr_dst, bytes_to_read, error, in ReadCStringFromMemory()
1916 if (len < bytes_to_read) in ReadCStringFromMemory()
1969 addr_t bytes_to_read = in ReadStringFromMemory() local
1972 ReadMemory(address, curr_dst, bytes_to_read, error, force_live_memory); in ReadStringFromMemory()
H A DProcess.cpp2005 addr_t bytes_to_read = in ReadCStringFromMemory() local
2007 size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error); in ReadCStringFromMemory()
2018 if (len < bytes_to_read) in ReadCStringFromMemory()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp6821 const size_t bytes_to_read =
6828 addr, bytes, bytes_to_read, memory_read_error);
6830 if (bytes_read == bytes_to_read) {
6838 memset(bytes, 0, bytes_to_read);
6839 size_t bytes_written = bytes_to_read;
6841 bytes_left -= bytes_to_read;
6842 addr += bytes_to_read;