Home
last modified time | relevance | path

Searched refs:bytes_copied (Results 1 – 5 of 5) sorted by relevance

/external/lldb/source/Target/
DRegisterContext.cpp388 const uint32_t bytes_copied = reg_value.GetAsMemoryData (reg_info, in WriteRegisterValueToMemory() local
396 if (bytes_copied == 0) in WriteRegisterValueToMemory()
402 … const uint32_t bytes_written = process_sp->WriteMemory (dst_addr, dst, bytes_copied, error); in WriteRegisterValueToMemory()
403 if (bytes_written != bytes_copied) in WriteRegisterValueToMemory()
408 … error.SetErrorStringWithFormat("only wrote %u of %u bytes", bytes_written, bytes_copied); in WriteRegisterValueToMemory()
/external/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp293 size_t bytes_copied = 0; // Number of bytes actually read from the core file in DoReadMemory() local
308 bytes_copied = core_objfile->CopyData(offset + file_start, bytes_to_read, buf); in DoReadMemory()
313 memset(((char *)buf) + bytes_copied, 0, zero_fill_size); in DoReadMemory()
315 return bytes_copied + zero_fill_size; in DoReadMemory()
/external/lldb/source/Core/
DRegisterValue.cpp147 const uint32_t bytes_copied = reg_data.CopyByteOrderedData (0, // src offset in GetAsMemoryData() local
152 if (bytes_copied == 0) in GetAsMemoryData()
155 return bytes_copied; in GetAsMemoryData()
223 const uint32_t bytes_copied = src_data.CopyByteOrderedData (0, // src offset in SetFromMemoryData() local
228 if (bytes_copied == 0) in SetFromMemoryData()
231 return bytes_copied; in SetFromMemoryData()
DScalar.cpp2041 const size_t bytes_copied = data.CopyByteOrderedData (0, // src offset in GetAsMemoryData() local
2046 if (bytes_copied == 0) in GetAsMemoryData()
2049 return bytes_copied; in GetAsMemoryData()
/external/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteRegisterContext.cpp133 …const size_t bytes_copied = response.GetHexBytes (const_cast<uint8_t*>(m_reg_data.PeekData(reg_inf… in PrivateSetRegisterValue() local
134 bool success = bytes_copied == reg_byte_size; in PrivateSetRegisterValue()
139 else if (bytes_copied > 0) in PrivateSetRegisterValue()