| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBData.cpp | 400 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromCString() 422 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromUInt64Array() 444 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromUInt32Array() 466 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromSInt64Array() 488 new DataExtractor(buffer_sp, endian, addr_byte_size)); in CreateDataFromSInt32Array() 533 m_opaque_sp->SetData(buffer_sp); in SetDataFromCString() 556 m_opaque_sp->SetData(buffer_sp); in SetDataFromUInt64Array() 579 m_opaque_sp->SetData(buffer_sp); in SetDataFromUInt32Array() 601 m_opaque_sp->SetData(buffer_sp); in SetDataFromSInt64Array() 623 m_opaque_sp->SetData(buffer_sp); in SetDataFromSInt32Array() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSDictionary.cpp | 681 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 685 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 692 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() 826 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() 892 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 896 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1058 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1062 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1069 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex() 1215 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() [all …]
|
| H A D | CF.cpp | 161 DataBufferSP buffer_sp(new DataBufferHeap(num_bytes, 0)); in CFBitVectorSummaryProvider() local 163 process_sp->ReadMemory(data_ptr, buffer_sp->GetBytes(), num_bytes, error); in CFBitVectorSummaryProvider() 166 uint8_t *bytes = buffer_sp->GetBytes(); in CFBitVectorSummaryProvider()
|
| H A D | NSSet.cpp | 639 DataBufferSP buffer_sp(new DataBufferHeap(m_ptr_size, 0)); in GetChildAtIndex() local 645 *reinterpret_cast<uint32_t *>(buffer_sp->GetBytes()) = in GetChildAtIndex() 649 *reinterpret_cast<uint64_t *>(buffer_sp->GetBytes()) = in GetChildAtIndex() 658 DataExtractor data(buffer_sp, m_order, m_ptr_size); in GetChildAtIndex()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | ProcessStructReader.h | 72 lldb::DataBufferSP buffer_sp(new DataBufferHeap(*total_size, 0)); in ProcessStructReader() 74 process->ReadMemoryFromInferior(base_addr, buffer_sp->GetBytes(), in ProcessStructReader() 78 m_data = DataExtractor(buffer_sp, m_byte_order, m_addr_byte_size); in ProcessStructReader()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | LibCxxVector.cpp | 218 DataBufferSP buffer_sp(new DataBufferHeap(*size, 0)); in GetChildAtIndex() local 219 if (bit_set && buffer_sp && buffer_sp->GetBytes()) { in GetChildAtIndex() 221 *(buffer_sp->GetBytes()) = 1; in GetChildAtIndex() 227 DataExtractor(buffer_sp, process_sp->GetByteOrder(), in GetChildAtIndex()
|
| H A D | LibCxx.cpp | 297 DataBufferSP buffer_sp(new DataBufferHeap(*size, 0)); in Update() local 300 process_sp->ReadMemory(addr, buffer_sp->GetBytes(), in Update() 301 buffer_sp->GetByteSize(), error); in Update() 304 DataExtractor extractor(buffer_sp, process_sp->GetByteOrder(), in Update()
|
| /freebsd-13.1/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 | 833 DataBufferSP buffer_sp(new DataBufferHeap(byte_size, 0)); in SetData() local 834 m_data.SetData(buffer_sp, 0); in SetData() 869 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 912 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 916 memcpy(buffer_sp->GetBytes(), cstr, cstr_len); in ReadPointedString() 921 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 993 CopyStringDataToBufferSP(s, buffer_sp); in ReadPointedString() 1185 lldb::DataBufferSP buffer_sp; in DumpPrintableRepresentation() local 1192 buffer_sp, lldb::eByteOrderInvalid, in DumpPrintableRepresentation() 1197 options.SetSourceSize(buffer_sp->GetByteSize()); in DumpPrintableRepresentation() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/netbsd/ |
| H A D | HostNetBSD.cpp | 107 auto buffer_sp = FileSystem::Instance().CreateDataBuffer( in GetNetBSDProcessCPUType() local 109 if (buffer_sp) { in GetNetBSDProcessCPUType() 112 {buffer_sp->GetChars(), size_t(buffer_sp->GetByteSize())}) in GetNetBSDProcessCPUType()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/DataFormatters/ |
| H A D | TypeFormat.cpp | 80 DataBufferSP buffer_sp(new DataBufferHeap(max_len + 1, 0)); in FormatObject() local 83 address, (char *)buffer_sp->GetBytes(), max_len, error) && in FormatObject() 85 data.SetData(buffer_sp); in FormatObject()
|
| H A D | StringPrinter.cpp | 453 lldb::DataBufferSP 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() 478 DataExtractor data(buffer_sp, process_sp->GetByteOrder(), in ReadEncodedBufferAndDumpToStream()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/ |
| H A D | ObjectFileWasm.cpp | 398 auto buffer_sp = MapFileData(m_file, size, offset); in ReadImageData() local 399 return DataExtractor(buffer_sp, GetByteOrder(), GetAddressByteSize()); in ReadImageData() 409 DataBufferSP buffer_sp(data_up.release()); in ReadImageData() local 410 data.SetData(buffer_sp, 0, buffer_sp->GetByteSize()); in ReadImageData()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteRegisterContext.cpp | 147 DataExtractor data(buffer_sp, endian::InlHostByteOrder(), sizeof(void *)); in PrivateSetRegisterValue() 179 if (DataBufferSP buffer_sp = in GetPrimordialRegister() local 182 lldb_reg, llvm::ArrayRef<uint8_t>(buffer_sp->GetBytes(), in GetPrimordialRegister() 183 buffer_sp->GetByteSize())); in GetPrimordialRegister() 205 if (DataBufferSP buffer_sp = in ReadRegisterBytes() local 208 buffer_sp->GetBytes(), in ReadRegisterBytes() 209 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize())); in ReadRegisterBytes() 210 if (buffer_sp->GetByteSize() >= m_reg_data.GetByteSize()) { in ReadRegisterBytes() 213 } else if (buffer_sp->GetByteSize() > 0) { in ReadRegisterBytes() 219 buffer_sp->GetByteSize()) { in ReadRegisterBytes() [all …]
|
| H A D | GDBRemoteCommunicationClient.cpp | 616 DataBufferSP buffer_sp(new DataBufferHeap(expected_bytes, 0)); in ReadMemoryTags() local 617 size_t got_bytes = response.GetHexBytesAvail(buffer_sp->GetData()); in ReadMemoryTags() 628 return buffer_sp; in ReadMemoryTags() 3325 DataBufferSP buffer_sp( in ReadRegister() local 3327 response.GetHexBytes(buffer_sp->GetData(), '\xcc'); in ReadRegister() 3328 return buffer_sp; in ReadRegister() 3340 DataBufferSP buffer_sp( in ReadAllRegisters() local 3342 response.GetHexBytes(buffer_sp->GetData(), '\xcc'); in ReadAllRegisters() 3343 return buffer_sp; in ReadAllRegisters()
|
| H A D | ProcessGDBRemote.cpp | 1766 DataBufferSP buffer_sp(new DataBufferHeap( in SetThreadStopInfo() local 1768 reg_value_extractor.GetHexBytes(buffer_sp->GetData(), '\xcc'); in SetThreadStopInfo() 1772 gdb_thread->PrivateSetRegisterValue(lldb_regnum, buffer_sp->GetData()); in SetThreadStopInfo() 2784 DataBufferSP buffer_sp = m_gdb_comm.ReadMemoryTags(addr, len, type); in DoReadMemoryTags() local 2785 if (!buffer_sp) { in DoReadMemoryTags() 2791 llvm::ArrayRef<uint8_t> tag_data = buffer_sp->GetData(); in DoReadMemoryTags()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCRuntimeV1.cpp | 236 lldb::DataBufferSP buffer_sp(new DataBufferHeap(1024, 0)); in Initialize() local 239 name_ptr, (char *)buffer_sp->GetBytes(), 1024, error); in Initialize() 247 m_name = ConstString((char *)buffer_sp->GetBytes()); in Initialize()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 989 DataBufferSP buffer_sp(buffer_heap_ptr = new DataBufferHeap(bytes, 0)); in Append() local 991 if (!buffer_sp || buffer_heap_ptr == nullptr) in Append() 999 SetData(buffer_sp); in Append() 1014 DataBufferSP buffer_sp(buffer_heap_ptr = new DataBufferHeap(bytes, 0)); in Append() local 1016 if (!buffer_sp || buffer_heap_ptr == nullptr) in Append() 1026 SetData(buffer_sp); in Append()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 231 lldb::DataBufferSP buffer_sp(new DataBufferHeap(1024, 0)); in GetFile() local 235 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), in GetFile() 236 buffer_sp->GetByteSize(), error); in GetFile() 242 buffer_sp->GetBytes(), n_read, in GetFile()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRExecutionUnit.cpp | 153 lldb::DataBufferSP buffer_sp(new DataBufferHeap(func_range.second, 0)); in DisassembleFunction() local 157 process->ReadMemory(func_remote_addr, buffer_sp->GetBytes(), in DisassembleFunction() 158 buffer_sp->GetByteSize(), err); in DisassembleFunction() 188 DataExtractor extractor(buffer_sp, process->GetByteOrder(), in DisassembleFunction()
|
| H A D | DWARFExpression.cpp | 2675 auto buffer_sp = in ToDataExtractor() local 2677 return DataExtractor(buffer_sp, byte_order, addr_size); in ToDataExtractor()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | Platform.cpp | 1252 lldb::DataBufferSP buffer_sp(new DataBufferHeap(1024 * 16, 0)); in PutFile() local 1255 size_t bytes_read = buffer_sp->GetByteSize(); in PutFile() 1256 error = source_file.get()->Read(buffer_sp->GetBytes(), bytes_read); in PutFile() 1261 WriteFile(dest_file, offset, buffer_sp->GetBytes(), bytes_read, error); in PutFile()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ObjectFileELF.cpp | 3374 auto buffer_sp = in ReadSectionData() local 3377 {reinterpret_cast<char *>(buffer_sp->GetBytes()), in ReadSectionData() 3378 size_t(buffer_sp->GetByteSize())})) { in ReadSectionData() 3387 section_data.SetData(buffer_sp); in ReadSectionData() 3388 return buffer_sp->GetByteSize(); in ReadSectionData()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | ValueObject.h | 682 ReadPointedString(lldb::DataBufferSP &buffer_sp, Status &error,
|