Home
last modified time | relevance | path

Searched refs:GetGPRSize (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DRegisterContextPOSIXProcessMonitor_arm.cpp22 #define REG_CONTEXT_SIZE (GetGPRSize())
37 return monitor.ReadGPR(m_thread.GetID(), &m_gpr_arm, GetGPRSize()); in ReadGPR()
47 return monitor.WriteGPR(m_thread.GetID(), &m_gpr_arm, GetGPRSize()); in WriteGPR()
164 ::memcpy(dst, &m_gpr_arm, GetGPRSize()); in ReadAllRegisterValues()
165 dst += GetGPRSize(); in ReadAllRegisterValues()
178 ::memcpy(&m_gpr_arm, src, GetGPRSize()); in WriteAllRegisterValues()
181 src += GetGPRSize(); in WriteAllRegisterValues()
DRegisterContextPOSIXProcessMonitor_powerpc.cpp21 #define REG_CONTEXT_SIZE (GetGPRSize())
37 return monitor.ReadGPR(m_thread.GetID(), &m_gpr_powerpc, GetGPRSize()); in ReadGPR()
53 return monitor.WriteGPR(m_thread.GetID(), &m_gpr_powerpc, GetGPRSize()); in WriteGPR()
178 ::memcpy(dst, &m_gpr_powerpc, GetGPRSize()); in ReadAllRegisterValues()
179 dst += GetGPRSize(); in ReadAllRegisterValues()
191 ::memcpy(&m_gpr_powerpc, src, GetGPRSize()); in WriteAllRegisterValues()
194 src += GetGPRSize(); in WriteAllRegisterValues()
DRegisterContextPOSIXProcessMonitor_arm64.cpp18 #define REG_CONTEXT_SIZE (GetGPRSize())
40 return monitor.ReadGPR(m_thread.GetID(), &m_gpr_arm64, GetGPRSize()); in ReadGPR()
50 return monitor.WriteGPR(m_thread.GetID(), &m_gpr_arm64, GetGPRSize()); in WriteGPR()
175 ::memcpy(dst, &m_gpr_arm64, GetGPRSize()); in ReadAllRegisterValues()
176 dst += GetGPRSize(); in ReadAllRegisterValues()
189 ::memcpy(&m_gpr_arm64, src, GetGPRSize()); in WriteAllRegisterValues()
191 src += GetGPRSize(); in WriteAllRegisterValues()
DRegisterContextPOSIXProcessMonitor_mips64.cpp21 #define REG_CONTEXT_SIZE (GetGPRSize())
37 return monitor.ReadGPR(m_thread.GetID(), &m_gpr_mips64, GetGPRSize()); in ReadGPR()
47 return monitor.WriteGPR(m_thread.GetID(), &m_gpr_mips64, GetGPRSize()); in WriteGPR()
168 ::memcpy(dst, &m_gpr_mips64, GetGPRSize()); in ReadAllRegisterValues()
180 ::memcpy(&m_gpr_mips64, src, GetGPRSize()); in WriteAllRegisterValues()
183 src += GetGPRSize(); in WriteAllRegisterValues()
DRegisterContextPOSIXProcessMonitor_x86.cpp25 #define REG_CONTEXT_SIZE (GetGPRSize() + sizeof(FPR))
73 return monitor.ReadGPR(m_thread.GetID(), &m_gpr_x86_64, GetGPRSize()); in ReadGPR()
90 return monitor.WriteGPR(m_thread.GetID(), &m_gpr_x86_64, GetGPRSize()); in WriteGPR()
352 ::memcpy(dst, &m_gpr_x86_64, GetGPRSize()); in ReadAllRegisterValues()
353 dst += GetGPRSize(); in ReadAllRegisterValues()
382 ::memcpy(&m_gpr_x86_64, src, GetGPRSize()); in WriteAllRegisterValues()
385 src += GetGPRSize(); in WriteAllRegisterValues()
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DRegisterContextFreeBSD_powerpc.h21 size_t GetGPRSize() const override;
33 size_t GetGPRSize() const override;
45 size_t GetGPRSize() const override;
DRegisterContextPOSIX_arm.cpp66 size_t RegisterContextPOSIX_arm::GetGPRSize() { in GetGPRSize() function in RegisterContextPOSIX_arm
67 return m_register_info_up->GetGPRSize(); in GetGPRSize()
DRegisterContextPOSIX_arm64.cpp73 size_t RegisterContextPOSIX_arm64::GetGPRSize() { in GetGPRSize() function in RegisterContextPOSIX_arm64
74 return m_register_info_up->GetGPRSize(); in GetGPRSize()
DRegisterContextFreeBSD_powerpc.cpp183 size_t RegisterContextFreeBSD_powerpc::GetGPRSize() const { in GetGPRSize() function in RegisterContextFreeBSD_powerpc
202 size_t RegisterContextFreeBSD_powerpc32::GetGPRSize() const { in GetGPRSize() function in RegisterContextFreeBSD_powerpc32
222 size_t RegisterContextFreeBSD_powerpc64::GetGPRSize() const { in GetGPRSize() function in RegisterContextFreeBSD_powerpc64
DRegisterContextPOSIX_mips64.cpp83 size_t RegisterContextPOSIX_mips64::GetGPRSize() { in GetGPRSize() function in RegisterContextPOSIX_mips64
84 return m_register_info_up->GetGPRSize(); in GetGPRSize()
DRegisterContextPOSIX_powerpc.cpp119 size_t RegisterContextPOSIX_powerpc::GetGPRSize() { in GetGPRSize() function in RegisterContextPOSIX_powerpc
120 return m_register_info_up->GetGPRSize(); in GetGPRSize()
DRegisterContextFreeBSD_i386.h18 size_t GetGPRSize() const override;
DRegisterContextNetBSD_i386.h18 size_t GetGPRSize() const override;
DRegisterContextOpenBSD_i386.h18 size_t GetGPRSize() const override;
DRegisterContextWindows_i386.h18 size_t GetGPRSize() const override;
DRegisterContextWindows_x86_64.h19 size_t GetGPRSize() const override;
/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeRegisterContextLinux_arm.cpp25 #define REG_CONTEXT_SIZE (GetGPRSize() + sizeof(m_fpr))
225 ::memcpy(dst, &m_gpr_arm, GetGPRSize()); in ReadAllRegisterValues()
226 dst += GetGPRSize(); in ReadAllRegisterValues()
259 ::memcpy(&m_gpr_arm, src, GetRegisterInfoInterface().GetGPRSize()); in WriteAllRegisterValues()
265 src += GetRegisterInfoInterface().GetGPRSize(); in WriteAllRegisterValues()
797 return reg_info->byte_offset - GetGPRSize(); in CalculateFprOffset()
858 ioVec.iov_len = GetGPRSize(); in ReadGPR()
860 return ReadRegisterSet(&ioVec, GetGPRSize(), NT_PRSTATUS); in ReadGPR()
870 ioVec.iov_len = GetGPRSize(); in WriteGPR()
872 return WriteRegisterSet(&ioVec, GetGPRSize(), NT_PRSTATUS); in WriteGPR()
DNativeRegisterContextLinux_s390x.cpp338 memcpy(dst, GetGPRBuffer(), GetGPRSize()); in ReadAllRegisterValues()
339 dst += GetGPRSize(); in ReadAllRegisterValues()
389 memcpy(GetGPRBuffer(), src, GetGPRSize()); in WriteAllRegisterValues()
390 src += GetGPRSize(); in WriteAllRegisterValues()
445 GetGPRSize()); in ReadGPR()
450 GetGPRSize()); in WriteGPR()
455 GetGPRSize()); in ReadFPR()
460 GetGPRSize()); in WriteFPR()
DNativeRegisterContextLinux.h82 virtual size_t GetGPRSize() const { in GetGPRSize() function
83 return GetRegisterInfoInterface().GetGPRSize(); in GetGPRSize()
DNativeRegisterContextLinux_arm64.cpp36 #define REG_CONTEXT_SIZE (GetGPRSize() + GetFPRSize())
131 assert(offset < GetGPRSize()); in ReadRegister()
244 assert(reg_info->byte_offset < GetGPRSize()); in WriteRegister()
372 ::memcpy(dst, GetGPRBuffer(), GetGPRSize()); in ReadAllRegisterValues()
373 dst += GetGPRSize(); in ReadAllRegisterValues()
406 ::memcpy(GetGPRBuffer(), src, GetRegisterInfoInterface().GetGPRSize()); in WriteAllRegisterValues()
412 src += GetRegisterInfoInterface().GetGPRSize(); in WriteAllRegisterValues()
1102 return reg_info->byte_offset - GetGPRSize(); in CalculateFprOffset()
1114 uint32_t sve_z0_offset = GetGPRSize() + 16; in CalculateSVEOffset()
DNativeRegisterContextLinux.cpp95 PTRACE_GETREGS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize()); in ReadGPR()
100 PTRACE_SETREGS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize()); in WriteGPR()
/external/llvm-project/lldb/source/Plugins/Process/elf-core/
DRegisterContextPOSIXCore_ppc64le.cpp70 offset -= GetGPRSize(); in ReadRegister()
79 offset -= GetGPRSize() + GetFPRSize(); in ReadRegister()
89 offset -= GetGPRSize() + GetFPRSize() + GetVMXSize(); in ReadRegister()
DRegisterContextPOSIXCore_x86_64.cpp22 size = GetGPRSize(); in RegisterContextCorePOSIX_x86_64()
65 if (m_gpregset && reg_info->byte_offset < GetGPRSize()) { in ReadRegister()
DRegisterContextPOSIXCore_arm64.cpp92 uint32_t sve_z0_offset = GetGPRSize() + 16; in CalculateSVEOffset()
106 if (offset + reg_info->byte_size <= GetGPRSize()) { in ReadRegister()
121 offset -= GetGPRSize(); in ReadRegister()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeRegisterContextFreeBSD_x86_64.cpp238 #define REG_CONTEXT_SIZE (GetRegisterInfoInterface().GetGPRSize())
268 assert(m_gpr.size() == GetRegisterInfoInterface().GetGPRSize());
558 ::memcpy(dst, m_gpr.data(), GetRegisterInfoInterface().GetGPRSize()); in ReadAllRegisterValues()
559 dst += GetRegisterInfoInterface().GetGPRSize(); in ReadAllRegisterValues()
591 ::memcpy(m_gpr.data(), src, GetRegisterInfoInterface().GetGPRSize()); in WriteAllRegisterValues()
596 src += GetRegisterInfoInterface().GetGPRSize(); in WriteAllRegisterValues()

123