| /freebsd-14.2/contrib/llvm-project/lldb/source/API/ |
| H A D | SBData.cpp | 369 m_opaque_sp->SetData(buffer_sp); in SetDataWithOwnership() 396 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromCString() 416 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromUInt64Array() 436 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromUInt32Array() 456 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromSInt64Array() 518 m_opaque_sp->SetData(buffer_sp); in SetDataFromCString() 539 m_opaque_sp->SetData(buffer_sp); in SetDataFromUInt64Array() 560 m_opaque_sp->SetData(buffer_sp); in SetDataFromUInt32Array() 580 m_opaque_sp->SetData(buffer_sp); in SetDataFromSInt64Array() 600 m_opaque_sp->SetData(buffer_sp); in SetDataFromSInt32Array() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSDictionary.cpp | 714 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 718 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 725 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() 859 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() 962 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 966 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 973 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() 1039 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1043 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1214 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() [all …]
|
| H A D | CF.cpp | 157 WritableDataBufferSP buffer_sp(new DataBufferHeap(num_bytes, 0)); in CFBitVectorSummaryProvider() local 159 process_sp->ReadMemory(data_ptr, buffer_sp->GetBytes(), num_bytes, error); in CFBitVectorSummaryProvider() 162 uint8_t *bytes = buffer_sp->GetBytes(); in CFBitVectorSummaryProvider()
|
| H A D | NSSet.cpp | 634 WritableDataBufferSP buffer_sp(new DataBufferHeap(m_ptr_size, 0)); in GetChildAtIndex() local 640 *reinterpret_cast<uint32_t *>(buffer_sp->GetBytes()) = in GetChildAtIndex() 644 *reinterpret_cast<uint64_t *>(buffer_sp->GetBytes()) = in GetChildAtIndex() 653 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteRegisterContext.cpp | 165 DataExtractor data(buffer_sp, endian::InlHostByteOrder(), sizeof(void *)); in PrivateSetRegisterValue() 197 if (DataBufferSP buffer_sp = in GetPrimordialRegister() local 200 lldb_reg, llvm::ArrayRef<uint8_t>(buffer_sp->GetBytes(), in GetPrimordialRegister() 201 buffer_sp->GetByteSize())); in GetPrimordialRegister() 222 if (DataBufferSP buffer_sp = in ReadRegisterBytes() local 225 buffer_sp->GetBytes(), in ReadRegisterBytes() 226 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize())); in ReadRegisterBytes() 227 if (buffer_sp->GetByteSize() >= m_reg_data.GetByteSize()) { in ReadRegisterBytes() 230 } else if (buffer_sp->GetByteSize() > 0) { in ReadRegisterBytes() 237 buffer_sp->GetByteSize()); in ReadRegisterBytes() [all …]
|
| H A D | GDBRemoteCommunicationClient.cpp | 667 WritableDataBufferSP buffer_sp(new DataBufferHeap(expected_bytes, 0)); in ReadMemoryTags() local 668 size_t got_bytes = response.GetHexBytesAvail(buffer_sp->GetData()); in ReadMemoryTags() 679 return buffer_sp; in ReadMemoryTags() 3449 WritableDataBufferSP buffer_sp( in ReadRegister() local 3451 response.GetHexBytes(buffer_sp->GetData(), '\xcc'); in ReadRegister() 3452 return buffer_sp; in ReadRegister() 3464 WritableDataBufferSP buffer_sp( in ReadAllRegisters() local 3466 response.GetHexBytes(buffer_sp->GetData(), '\xcc'); in ReadAllRegisters() 3467 return buffer_sp; in ReadAllRegisters()
|
| H A D | ProcessGDBRemote.cpp | 1621 WritableDataBufferSP buffer_sp( in ParseExpeditedRegisters() local 1623 reg_value_extractor.GetHexBytes(buffer_sp->GetData(), '\xcc'); in ParseExpeditedRegisters() 1626 gdb_thread->PrivateSetRegisterValue(lldb_regnum, buffer_sp->GetData()); in ParseExpeditedRegisters() 2611 DataBufferSP buffer_sp = m_gdb_comm.ReadMemoryTags(addr, len, type); in DoReadMemoryTags() local 2612 if (!buffer_sp) { in DoReadMemoryTags() 2618 llvm::ArrayRef<uint8_t> tag_data = buffer_sp->GetData(); in DoReadMemoryTags()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | ProcessStructReader.h | 73 lldb::WritableDataBufferSP buffer_sp(new DataBufferHeap(*total_size, 0)); in ProcessStructReader() 75 process->ReadMemoryFromInferior(base_addr, buffer_sp->GetBytes(), in ProcessStructReader() 79 m_data = DataExtractor(buffer_sp, m_byte_order, m_addr_byte_size); in ProcessStructReader()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | LibCxxVector.cpp | 216 WritableDataBufferSP buffer_sp(new DataBufferHeap(*size, 0)); in GetChildAtIndex() local 217 if (bit_set && buffer_sp && buffer_sp->GetBytes()) { in GetChildAtIndex() 219 *(buffer_sp->GetBytes()) = 1; in GetChildAtIndex() 225 DataExtractor(buffer_sp, process_sp->GetByteOrder(), in GetChildAtIndex()
|
| H A D | LibCxx.cpp | 332 WritableDataBufferSP buffer_sp(new DataBufferHeap(*size, 0)); in Update() local 335 process_sp->ReadMemory(addr, buffer_sp->GetBytes(), in Update() 336 buffer_sp->GetByteSize(), error); in Update() 339 DataExtractor extractor(buffer_sp, process_sp->GetByteOrder(), in Update() 493 WritableDataBufferSP buffer_sp(new DataBufferHeap(*size, 0)); in Update() local 496 process_sp->ReadMemory(addr, buffer_sp->GetBytes(), in Update() 497 buffer_sp->GetByteSize(), error); in Update() 500 DataExtractor extractor(buffer_sp, process_sp->GetByteOrder(), in Update()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Core/ |
| H A D | Opcode.cpp | 131 DataBufferSP buffer_sp; in GetData() local 133 buffer_sp = std::make_shared<DataBufferHeap>(buf, byte_size); in GetData() 135 data.SetData(buffer_sp); in GetData()
|
| H A D | ValueObject.cpp | 789 m_data.SetData(buffer_sp, 0); in SetData() 825 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 867 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 871 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 876 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 948 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 1149 lldb::WritableDataBufferSP buffer_sp; in DumpPrintableRepresentation() local 1151 ReadPointedString(buffer_sp, error, in DumpPrintableRepresentation() 1157 buffer_sp, lldb::eByteOrderInvalid, in DumpPrintableRepresentation() 1162 options.SetSourceSize(buffer_sp->GetByteSize()); in DumpPrintableRepresentation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Host/netbsd/ |
| H A D | HostNetBSD.cpp | 108 auto buffer_sp = FileSystem::Instance().CreateDataBuffer( in GetNetBSDProcessCPUType() local 110 if (buffer_sp) { in GetNetBSDProcessCPUType() 113 {reinterpret_cast<const char *>(buffer_sp->GetBytes()), in GetNetBSDProcessCPUType() 114 size_t(buffer_sp->GetByteSize())}) in GetNetBSDProcessCPUType()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/DataFormatters/ |
| H A D | TypeFormat.cpp | 81 WritableDataBufferSP buffer_sp( in FormatObject() local 85 address, (char *)buffer_sp->GetBytes(), max_len, error); in FormatObject() 87 data.SetData(buffer_sp); in FormatObject()
|
| H A D | StringPrinter.cpp | 453 lldb::WritableDataBufferSP buffer_sp(new DataBufferHeap(bufferSPSize, 0)); in ReadEncodedBufferAndDumpToStream() local 458 if (sourceSize != 0 && !buffer_sp->GetBytes()) in ReadEncodedBufferAndDumpToStream() 462 char *buffer = reinterpret_cast<char *>(buffer_sp->GetBytes()); in ReadEncodedBufferAndDumpToStream() 479 DataExtractor(buffer_sp, target_sp->GetArchitecture().GetByteOrder(), in ReadEncodedBufferAndDumpToStream()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
| H A D | ObjectFileWasm.cpp | 395 auto buffer_sp = MapFileData(m_file, size, offset); in ReadImageData() local 396 return DataExtractor(buffer_sp, GetByteOrder(), GetAddressByteSize()); in ReadImageData() 406 DataBufferSP buffer_sp(data_up.release()); in ReadImageData() local 407 data.SetData(buffer_sp, 0, buffer_sp->GetByteSize()); in ReadImageData()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCRuntimeV1.cpp | 225 lldb::WritableDataBufferSP buffer_sp(new DataBufferHeap(1024, 0)); in Initialize() local 228 name_ptr, (char *)buffer_sp->GetBytes(), 1024, error); in Initialize() 236 m_name = ConstString(reinterpret_cast<const char *>(buffer_sp->GetBytes())); in Initialize()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 988 DataBufferSP buffer_sp(buffer_heap_ptr = new DataBufferHeap(bytes, 0)); in Append() local 990 if (!buffer_sp || buffer_heap_ptr == nullptr) in Append() 998 SetData(buffer_sp); in Append() 1013 DataBufferSP buffer_sp(buffer_heap_ptr = new DataBufferHeap(bytes, 0)); in Append() local 1015 if (!buffer_sp || buffer_heap_ptr == nullptr) in Append() 1025 SetData(buffer_sp); in Append()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 234 lldb::WritableDataBufferSP buffer_sp(new DataBufferHeap(1024, 0)); in GetFile() local 238 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), in GetFile() 239 buffer_sp->GetByteSize(), error); in GetFile() 245 buffer_sp->GetBytes(), n_read, in GetFile()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRExecutionUnit.cpp | 155 lldb::WritableDataBufferSP buffer_sp( in DisassembleFunction() local 160 process->ReadMemory(func_remote_addr, buffer_sp->GetBytes(), in DisassembleFunction() 161 buffer_sp->GetByteSize(), err); in DisassembleFunction() 191 DataExtractor extractor(buffer_sp, process->GetByteOrder(), in DisassembleFunction()
|
| H A D | DWARFExpression.cpp | 2661 auto buffer_sp = in ParseDWARFLocationList() local 2664 buffer_sp, data.GetByteOrder(), data.GetAddressByteSize())); in ParseDWARFLocationList()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | Platform.cpp | 1214 lldb::WritableDataBufferSP buffer_sp(new DataBufferHeap(1024 * 16, 0)); in PutFile() local 1217 size_t bytes_read = buffer_sp->GetByteSize(); in PutFile() 1218 error = source_file.get()->Read(buffer_sp->GetBytes(), bytes_read); in PutFile() 1223 WriteFile(dest_file, offset, buffer_sp->GetBytes(), bytes_read, error); in PutFile()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 3556 auto buffer_sp = in ReadSectionData() local 3559 {buffer_sp->GetBytes(), size_t(buffer_sp->GetByteSize())})) { in ReadSectionData() 3567 section_data.SetData(buffer_sp); in ReadSectionData() 3568 return buffer_sp->GetByteSize(); in ReadSectionData()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | ValueObject.h | 672 ReadPointedString(lldb::WritableDataBufferSP &buffer_sp, Status &error,
|