/external/llvm-project/lldb/examples/python/ |
D | file_extract.py | 15 self.byte_order = b 21 self.byte_order = '>' 23 self.byte_order = '<' 26 self.byte_order = swap_unpack_char() 28 self.byte_order = '=' 30 self.byte_order = b 67 v, = struct.unpack(self.byte_order + 'b', s) 76 v, = struct.unpack(self.byte_order + 'B', s) 85 v, = struct.unpack(self.byte_order + 'h', s) 94 v, = struct.unpack(self.byte_order + 'H', s) [all …]
|
/external/llvm-project/lldb/source/Utility/ |
D | Stream.cpp | 25 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream() argument 27 : m_flags(flags), m_addr_size(addr_size), m_byte_order(byte_order), in Stream() 37 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder() argument 39 m_byte_order = byte_order; in SetByteOrder() 240 size_t Stream::PutHex16(uint16_t uvalue, ByteOrder byte_order) { in PutHex16() argument 243 if (byte_order == eByteOrderInvalid) in PutHex16() 244 byte_order = m_byte_order; in PutHex16() 246 if (byte_order == eByteOrderLittle) { in PutHex16() 256 size_t Stream::PutHex32(uint32_t uvalue, ByteOrder byte_order) { in PutHex32() argument 259 if (byte_order == eByteOrderInvalid) in PutHex32() [all …]
|
D | RegisterValue.cpp | 141 DataExtractor data(buffer.bytes, buffer.length, buffer.byte_order, 1); in GetScalarValue() 243 buffer.byte_order = src.GetByteOrder(); in SetValueFromData() 252 buffer.byte_order) == 0) // dst byte order in SetValueFromData() 501 buffer.byte_order = rhs.buffer.byte_order; in CopyValue() 753 lldb::ByteOrder byte_order) { in SetBytes() argument 763 buffer.byte_order = byte_order; in SetBytes() 824 if (buffer.byte_order == eByteOrderBig || in ClearBit() 825 buffer.byte_order == eByteOrderLittle) { in ClearBit() 827 if (buffer.byte_order == eByteOrderBig) in ClearBit() 864 if (buffer.byte_order == eByteOrderBig || in SetBit() [all …]
|
/external/llvm-project/lldb/unittests/SymbolFile/DWARF/ |
D | SymbolFileDWARFTests.cpp | 75 const auto byte_order = eByteOrderLittle; in TEST_F() local 77 StreamString encoder(Stream::eBinary, addr_size, byte_order); in TEST_F() 97 data.SetData(encoder.GetData(), encoder.GetSize(), byte_order); in TEST_F() 120 const auto byte_order = eByteOrderLittle; in TEST_F() local 122 StreamString encoder(Stream::eBinary, addr_size, byte_order); in TEST_F() 142 data.SetData(encoder.GetData(), encoder.GetSize(), byte_order); in TEST_F() 165 const auto byte_order = eByteOrderLittle; in TEST_F() local 167 StreamString encoder(Stream::eBinary, addr_size, byte_order); in TEST_F() 187 data.SetData(encoder.GetData(), encoder.GetSize(), byte_order); in TEST_F() 210 const auto byte_order = eByteOrderLittle; in TEST_F() local [all …]
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | Stream.h | 59 Stream(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order, 122 lldb::ByteOrder SetByteOrder(lldb::ByteOrder byte_order); 150 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid); 153 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid); 156 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid); 159 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid); 161 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid); 164 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid); 167 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
|
D | RegisterValue.h | 78 lldb::ByteOrder byte_order) { in RegisterValue() argument 79 SetBytes(bytes.data(), bytes.size(), byte_order); in RegisterValue() 233 void SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order); 249 return buffer.byte_order; in GetByteOrder() 268 lldb::ByteOrder byte_order; member
|
D | DataExtractor.h | 88 lldb::ByteOrder byte_order, uint32_t addr_size, 109 DataExtractor(const lldb::DataBufferSP &data_sp, lldb::ByteOrder byte_order, 860 lldb::ByteOrder byte_order); 920 void SetByteOrder(lldb::ByteOrder byte_order) { m_byte_order = byte_order; } in SetByteOrder() argument
|
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
D | RegisterContextPOSIXProcessMonitor_x86.cpp | 136 ByteOrder byte_order = GetByteOrder(); in WriteRegister() local 141 full_reg_info, dst, sizeof(dst), byte_order, error); in WriteRegister() 147 reg_info, src, sizeof(src), byte_order, error); in WriteRegister() 152 value_to_write.SetBytes(dst, full_value.GetByteSize(), byte_order); in WriteRegister() 210 ByteOrder byte_order = GetByteOrder(); in ReadRegister() local 212 if (byte_order != ByteOrder::eByteOrderInvalid) { in ReadRegister() 215 reg_info->byte_size, byte_order); in ReadRegister() 218 reg_info->byte_size, byte_order); in ReadRegister() 221 reg_info->byte_size, byte_order); in ReadRegister() 225 if (GetFPRType() == eXSAVE && CopyXSTATEtoYMM(reg, byte_order)) in ReadRegister() [all …]
|
D | RegisterContextPOSIXProcessMonitor_mips64.cpp | 79 ByteOrder byte_order = GetByteOrder(); in WriteRegister() local 84 full_reg_info, dst, sizeof(dst), byte_order, error); in WriteRegister() 90 reg_info, src, sizeof(src), byte_order, error); in WriteRegister() 95 value_to_write.SetBytes(dst, full_value.GetByteSize(), byte_order); in WriteRegister()
|
D | RegisterContextPOSIXProcessMonitor_arm.cpp | 79 ByteOrder byte_order = GetByteOrder(); in WriteRegister() local 84 full_reg_info, dst, sizeof(dst), byte_order, error); in WriteRegister() 90 reg_info, src, sizeof(src), byte_order, error); in WriteRegister() 95 value_to_write.SetBytes(dst, full_value.GetByteSize(), byte_order); in WriteRegister()
|
D | RegisterContextPOSIXProcessMonitor_powerpc.cpp | 91 ByteOrder byte_order = GetByteOrder(); in WriteRegister() local 96 full_reg_info, dst, sizeof(dst), byte_order, error); in WriteRegister() 102 reg_info, src, sizeof(src), byte_order, error); in WriteRegister() 107 value_to_write.SetBytes(dst, full_value.GetByteSize(), byte_order); in WriteRegister()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangExpressionVariable.cpp | 24 ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, in ClangExpressionVariable() argument 30 ValueObjectConstResult::Create(exe_scope, byte_order, addr_byte_size); in ClangExpressionVariable() 52 const TypeFromUser &user_type, lldb::ByteOrder byte_order, in ClangExpressionVariable() argument 58 ValueObjectConstResult::Create(exe_scope, byte_order, addr_byte_size); in ClangExpressionVariable()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
D | PDBLocationToDWARFExpression.cpp | 76 ByteOrder byte_order = architecture.GetByteOrder(); in ConvertPDBLocationToDWARFExpression() local 79 if (byte_order == eByteOrderInvalid || address_size == 0) in ConvertPDBLocationToDWARFExpression() 83 StreamBuffer<32> stream(Stream::eBinary, address_size, byte_order); in ConvertPDBLocationToDWARFExpression() 101 byte_order); in ConvertPDBLocationToDWARFExpression() 176 DataExtractor extractor(buffer, byte_order, address_size, byte_size); in ConvertPDBLocationToDWARFExpression()
|
/external/llvm-project/lldb/source/Plugins/ABI/AArch64/ |
D | ABISysV_arm64.cpp | 477 const ByteOrder byte_order = exe_ctx.GetProcessRef().GetByteOrder(); in LoadValueFromConsecutiveGPRRegisters() local 514 byte_order, error); in LoadValueFromConsecutiveGPRRegisters() 522 data.SetByteOrder(byte_order); in LoadValueFromConsecutiveGPRRegisters() 550 byte_order, error); in LoadValueFromConsecutiveGPRRegisters() 596 data.SetByteOrder(byte_order); in LoadValueFromConsecutiveGPRRegisters() 654 const ByteOrder byte_order = in GetReturnValueObjectImpl() local 663 byte_order, error) && in GetReturnValueObjectImpl() 666 byte_order, error)) { in GetReturnValueObjectImpl() 668 DataBufferSP(heap_data_up.release()), byte_order, in GetReturnValueObjectImpl() 752 const ByteOrder byte_order = exe_ctx.GetProcessRef().GetByteOrder(); in GetReturnValueObjectImpl() local [all …]
|
D | ABIMacOSX_arm64.cpp | 502 const ByteOrder byte_order = exe_ctx.GetProcessRef().GetByteOrder(); in LoadValueFromConsecutiveGPRRegisters() local 539 byte_order, error); in LoadValueFromConsecutiveGPRRegisters() 547 data.SetByteOrder(byte_order); in LoadValueFromConsecutiveGPRRegisters() 579 byte_order, error); in LoadValueFromConsecutiveGPRRegisters() 628 data.SetByteOrder(byte_order); in LoadValueFromConsecutiveGPRRegisters() 684 const ByteOrder byte_order = in GetReturnValueObjectImpl() local 693 byte_order, error) && in GetReturnValueObjectImpl() 696 byte_order, error)) { in GetReturnValueObjectImpl() 698 DataBufferSP(heap_data_up.release()), byte_order, in GetReturnValueObjectImpl() 784 const ByteOrder byte_order = exe_ctx.GetProcessRef().GetByteOrder(); in GetReturnValueObjectImpl() local [all …]
|
/external/llvm-project/lldb/source/Plugins/Process/Linux/ |
D | NativeRegisterContextLinux_x86_64.cpp | 463 lldb::ByteOrder byte_order = GetByteOrder(); in ReadRegister() local 465 if (byte_order != lldb::eByteOrderInvalid) { in ReadRegister() 469 reg_info->byte_size, byte_order); in ReadRegister() 473 reg_info->byte_size, byte_order); in ReadRegister() 477 reg_info->byte_size, byte_order); in ReadRegister() 481 if (CopyXSTATEtoYMM(reg, byte_order)) in ReadRegister() 483 reg_info->byte_size, byte_order); in ReadRegister() 492 reg_info->byte_size, byte_order); in ReadRegister() 501 reg_info->byte_size, byte_order); in ReadRegister() 712 lldb::ByteOrder byte_order = GetByteOrder(); in ReadAllRegisterValues() local [all …]
|
D | NativeRegisterContextLinux.cpp | 57 lldb::ByteOrder byte_order = GetByteOrder(); in WriteRegisterRaw() local 62 full_reg_info, dst, sizeof(dst), byte_order, error); in WriteRegisterRaw() 68 reg_info, src, sizeof(src), byte_order, error); in WriteRegisterRaw() 73 value_to_write.SetBytes(dst, full_value.GetByteSize(), byte_order); in WriteRegisterRaw()
|
/external/llvm-project/lldb/test/API/tools/lldb-server/register-reading/ |
D | TestGdbRemoteGPacket.py | 10 def _extract_register_value(reg_info, reg_bank, byte_order, bytes_per_entry=8): argument 20 if byte_order == lldb.eByteOrderLittle: 109 byte_order = self.get_target_byte_order() 111 reg_infos[reg_name], reg_bank, byte_order)
|
/external/llvm-project/lldb/source/Plugins/ABI/X86/ |
D | ABISysV_x86_64.cpp | 360 ByteOrder byte_order = data.GetByteOrder(); in SetReturnValueObject() local 362 data.CopyByteOrderedData(0, num_bytes, buffer, 16, byte_order); in SetReturnValueObject() 363 xmm0_value.SetBytes(buffer, 16, byte_order); in SetReturnValueObject() 508 const ByteOrder byte_order = process_sp->GetByteOrder(); in GetReturnValueObjectSimple() local 514 heap_data_up->GetByteSize(), byte_order, error)) { in GetReturnValueObjectSimple() 516 byte_order, in GetReturnValueObjectSimple() 533 const ByteOrder byte_order = process_sp->GetByteOrder(); in GetReturnValueObjectSimple() local 542 altivec_reg->byte_size, byte_order, error) && in GetReturnValueObjectSimple() 547 byte_order, error)) { in GetReturnValueObjectSimple() 549 byte_order, in GetReturnValueObjectSimple() [all …]
|
D | ABIWindows_x86_64.cpp | 367 ByteOrder byte_order = data.GetByteOrder(); in SetReturnValueObject() local 369 data.CopyByteOrderedData(0, num_bytes, buffer, 16, byte_order); in SetReturnValueObject() 370 xmm0_value.SetBytes(buffer, 16, byte_order); in SetReturnValueObject() 515 const ByteOrder byte_order = process_sp->GetByteOrder(); in GetReturnValueObjectSimple() local 521 heap_data_up->GetByteSize(), byte_order, error)) { in GetReturnValueObjectSimple() 523 byte_order, in GetReturnValueObjectSimple() 643 ByteOrder byte_order = target->GetArchitecture().GetByteOrder(); in GetReturnValueObjectImpl() local 646 DataExtractor return_ext(data_sp, byte_order, in GetReturnValueObjectImpl() 702 field_byte_width, byte_order); in GetReturnValueObjectImpl()
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | ValueObjectConstResult.h | 38 Create(ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, 49 lldb::ByteOrder byte_order, uint32_t addr_size, 125 lldb::ByteOrder byte_order, uint32_t addr_byte_size, 137 lldb::ByteOrder byte_order, uint32_t addr_size,
|
D | StreamBuffer.h | 23 StreamBuffer(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order) in StreamBuffer() argument 24 : Stream(flags, addr_size, byte_order), m_packet() {} in StreamBuffer()
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | lldbdwarf.py | 168 def updateRegInfoBitsize(self, reg_info, byte_order): argument 173 byte_order) 181 def evaluateDwarfExpression(self, dwarf_opcode, byte_order): argument 210 if byte_order == lldb.eByteOrderLittle:
|
/external/llvm-project/lldb/source/Core/ |
D | Address.cpp | 77 ByteOrder &byte_order, in GetByteOrderAndAddressSize() argument 79 byte_order = eByteOrderInvalid; in GetByteOrderAndAddressSize() 86 byte_order = target_sp->GetArchitecture().GetByteOrder(); in GetByteOrderAndAddressSize() 90 if (byte_order == eByteOrderInvalid || addr_size == 0) { in GetByteOrderAndAddressSize() 93 byte_order = module_sp->GetArchitecture().GetByteOrder(); in GetByteOrderAndAddressSize() 97 return byte_order != eByteOrderInvalid && addr_size != 0; in GetByteOrderAndAddressSize() 112 ByteOrder byte_order = eByteOrderInvalid; in ReadUIntMax64() local 114 if (GetByteOrderAndAddressSize(exe_scope, address, byte_order, addr_size)) { in ReadUIntMax64() 115 DataExtractor data(&buf, sizeof(buf), byte_order, addr_size); in ReadUIntMax64() 168 ByteOrder byte_order = eByteOrderInvalid; in DumpUInt() local [all …]
|
D | StreamFile.cpp | 18 StreamFile::StreamFile(uint32_t flags, uint32_t addr_size, ByteOrder byte_order) in StreamFile() argument 19 : Stream(flags, addr_size, byte_order) { in StreamFile()
|