| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| HD | AppleObjCClassDescriptorV2.cpp | 56 process->ReadMemory(addr, objc_class_buf.GetBytes(), objc_class_size, error); in Read() 61 DataExtractor extractor(objc_class_buf.GetBytes(), objc_class_size, in Read() 96 process->ReadMemory(addr, buffer.GetBytes(), size, error); in Read() 101 DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(), in Read() 116 process->ReadMemory(m_ro_ptr ^ 1, buffer.GetBytes(), ptr_size, error); in Read() 120 DataExtractor extractor(buffer.GetBytes(), ptr_size, in Read() 148 process->ReadMemory(addr, buffer.GetBytes(), size, error); in Read() 153 DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(), in Read() 175 process->ReadCStringFromMemory(m_name_ptr, (char *)name_buf.GetBytes(), in Read() 182 m_name.assign((char *)name_buf.GetBytes()); in Read() [all …]
|
| HD | AppleObjCRuntimeV1.cpp | 238 name_ptr, (char *)buffer_sp->GetBytes(), 1024, error); in Initialize() 246 m_name = ConstString((char *)buffer_sp->GetBytes()); in Initialize() 357 if (process->ReadMemory(hash_table_ptr, buffer.GetBytes(), 20, error) == in UpdateISAToDescriptorMapIfNeeded() 361 DataExtractor data(buffer.GetBytes(), buffer.GetByteSize(), byte_order, in UpdateISAToDescriptorMapIfNeeded() 373 if (process->ReadMemory(buckets_ptr, buffer.GetBytes(), data_size, in UpdateISAToDescriptorMapIfNeeded() 375 data.SetData(buffer.GetBytes(), buffer.GetByteSize(), byte_order); in UpdateISAToDescriptorMapIfNeeded()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
| HD | DataBuffer.h | 58 virtual uint8_t *GetBytes() = 0; 65 virtual const uint8_t *GetBytes() const = 0; 74 return llvm::ArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 78 return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData()
|
| HD | DataBufferLLVM.h | 30 uint8_t *GetBytes() override; 31 const uint8_t *GetBytes() const override; 34 char *GetChars() { return reinterpret_cast<char *>(GetBytes()); } in GetChars()
|
| HD | DataBufferHeap.h | 64 uint8_t *GetBytes() override; 67 const uint8_t *GetBytes() const override;
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
| HD | Value.cpp | 66 (rhs_value == (uintptr_t)v.m_data_buffer.GetBytes())) { in Value() 67 m_data_buffer.CopyData(v.m_data_buffer.GetBytes(), in Value() 70 m_value = (uintptr_t)m_data_buffer.GetBytes(); in Value() 85 (rhs_value == (uintptr_t)rhs.m_data_buffer.GetBytes())) { in operator =() 86 m_data_buffer.CopyData(rhs.m_data_buffer.GetBytes(), in operator =() 89 m_value = (uintptr_t)m_data_buffer.GetBytes(); in operator =() 98 m_value = (uintptr_t)m_data_buffer.GetBytes(); in SetBytes() 104 m_value = (uintptr_t)m_data_buffer.GetBytes(); in AppendBytes() 155 rhs.m_value.GetAsMemoryData(m_data_buffer.GetBytes() + curr_size, in AppendDataToHostBuffer() 167 ::memcpy(m_data_buffer.GetBytes() + curr_size, rhs.m_vector.bytes, in AppendDataToHostBuffer() [all …]
|
| HD | SourceManager.cpp | 470 return (const char *)m_data_sp->GetBytes() + line_offset; in PeekLineData() 488 (const char *)m_data_sp->GetBytes() + start_offset; in GetLineLength() 571 const uint8_t *cstr = m_data_sp->GetBytes() + start_line_offset; in DisplaySourceLines() 625 const char *start = (char *)m_data_sp->GetBytes(); in CalculateLineOffsets() 675 buffer.assign((char *)m_data_sp->GetBytes() + start_offset, in GetLine()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/ |
| HD | StringPrinter.cpp | 312 utf8_data_ptr = (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes(); in DumpUTFBufferToStream() 321 (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes(); in DumpUTFBufferToStream() 356 auto printable_bytes = printable.GetBytes(); in DumpUTFBufferToStream() 444 options.GetLocation(), (char *)buffer_sp->GetBytes(), size, my_error); in ReadStringAndDumpToStream() 457 uint8_t *data_end = buffer_sp->GetBytes() + buffer_sp->GetByteSize(); in ReadStringAndDumpToStream() 476 for (uint8_t *data = buffer_sp->GetBytes(); *data && (data < data_end);) { in ReadStringAndDumpToStream() 480 auto printable_bytes = printable.GetBytes(); in ReadStringAndDumpToStream() 560 if (!buffer_sp->GetBytes()) in ReadUTFBufferAndDumpToStream() 564 char *buffer = reinterpret_cast<char *>(buffer_sp->GetBytes()); in ReadUTFBufferAndDumpToStream() 571 (char *)buffer_sp->GetBytes(), in ReadUTFBufferAndDumpToStream()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/ |
| HD | Materializer.cpp | 350 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog() 355 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 374 map.ReadMemory(data.GetBytes(), target_address, in DumpToLog() 380 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 636 !memcmp(m_original_data->GetBytes(), data.GetDataStart(), in Dematerialize() 688 map.ReadMemory(data.GetBytes(), load_addr, m_size, err); in DumpToLog() 693 DataExtractor extractor(data.GetBytes(), data.GetByteSize(), in DumpToLog() 696 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 718 map.ReadMemory(data.GetBytes(), m_temporary_allocation, in DumpToLog() 724 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() [all …]
|
| HD | IRMemoryMap.cpp | 551 ::memcpy(allocation.m_data.GetBytes() + offset, bytes, size); in WriteMemory() 559 ::memcpy(allocation.m_data.GetBytes() + offset, bytes, size); in WriteMemory() 681 ::memcpy(bytes, allocation.m_data.GetBytes() + offset, size); in ReadMemory() 695 ::memcpy(bytes, allocation.m_data.GetBytes() + offset, size); in ReadMemory() 727 ReadMemory(buf.GetBytes(), process_address, size, error); in ReadScalarFromMemory() 732 DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(), in ReadScalarFromMemory() 820 allocation.m_data.GetBytes(), in GetMemoryData() 825 extractor = DataExtractor(allocation.m_data.GetBytes() + offset, size, in GetMemoryData() 837 extractor = DataExtractor(allocation.m_data.GetBytes() + offset, size, in GetMemoryData()
|
| HD | IRInterpreter.cpp | 217 if (!cast_scalar.GetAsMemoryData(buf.GetBytes(), buf.GetByteSize(), in AssignValue() 223 m_execution_unit.WriteMemory(process_address, buf.GetBytes(), in AssignValue() 353 if (!resolved_scalar.GetAsMemoryData(buf.GetBytes(), buf.GetByteSize(), in ResolveConstant() 359 m_execution_unit.WriteMemory(process_address, buf.GetBytes(), in ResolveConstant() 392 m_execution_unit.ReadMemory(buf.GetBytes(), addr, length, read_error); in PrintData() 401 ss.Printf("%02hhx - ", buf.GetBytes()[i]); in PrintData() 403 ss.Printf("%02hhx ", buf.GetBytes()[i]); in PrintData() 1230 execution_unit.ReadMemory(buffer.GetBytes(), R, buffer.GetByteSize(), in Interpret() 1240 execution_unit.WriteMemory(D, buffer.GetBytes(), buffer.GetByteSize(), in Interpret() 1309 execution_unit.ReadMemory(buffer.GetBytes(), D, buffer.GetByteSize(), in Interpret() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
| HD | DataBufferLLVM.cpp | 26 uint8_t *DataBufferLLVM::GetBytes() { in GetBytes() function in DataBufferLLVM 30 const uint8_t *DataBufferLLVM::GetBytes() const { in GetBytes() function in DataBufferLLVM
|
| HD | DataBufferHeap.cpp | 34 uint8_t *DataBufferHeap::GetBytes() { in GetBytes() function in DataBufferHeap 40 const uint8_t *DataBufferHeap::GetBytes() const { in GetBytes() function in DataBufferHeap
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| HD | RegisterContextPOSIXProcessMonitor_x86.cpp | 279 value.GetBytes(), value.GetByteSize()); in WriteRegister() 283 value.GetBytes(), value.GetByteSize()); in WriteRegister() 287 value.GetBytes(), value.GetByteSize()); in WriteRegister() 296 value.GetBytes(), value.GetByteSize()); in WriteRegister() 348 uint8_t *dst = data_sp->GetBytes(); in ReadAllRegisterValues() 380 uint8_t *src = data_sp->GetBytes(); in WriteAllRegisterValues()
|
| HD | RegisterContextPOSIXProcessMonitor_mips64.cpp | 164 uint8_t *dst = data_sp->GetBytes(); in ReadAllRegisterValues() 178 uint8_t *src = data_sp->GetBytes(); in WriteAllRegisterValues()
|
| HD | RegisterContextPOSIXProcessMonitor_arm.cpp | 159 uint8_t *dst = data_sp->GetBytes(); in ReadAllRegisterValues() 175 uint8_t *src = data_sp->GetBytes(); in WriteAllRegisterValues()
|
| HD | RegisterContextPOSIXProcessMonitor_powerpc.cpp | 174 uint8_t *dst = data_sp->GetBytes(); in ReadAllRegisterValues() 189 uint8_t *src = data_sp->GetBytes(); in WriteAllRegisterValues()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| HD | NSSet.cpp | 481 *((uint32_t *)buffer.GetBytes()) = (uint32_t)set_item.item_ptr; in GetChildAtIndex() 484 *((uint64_t *)buffer.GetBytes()) = (uint64_t)set_item.item_ptr; in GetChildAtIndex() 492 DataExtractor data(buffer.GetBytes(), buffer.GetByteSize(), in GetChildAtIndex() 648 *((uint32_t *)buffer.GetBytes()) = (uint32_t)set_item.item_ptr; in GetChildAtIndex() 651 *((uint64_t *)buffer.GetBytes()) = (uint64_t)set_item.item_ptr; in GetChildAtIndex() 659 DataExtractor data(buffer.GetBytes(), buffer.GetByteSize(), in GetChildAtIndex()
|
| HD | NSDictionary.cpp | 625 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 629 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 702 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 706 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 869 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 873 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1027 uint64_t *data_ptr = (uint64_t *)buffer_sp->GetBytes(); in GetChildAtIndex() 1031 uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes(); in GetChildAtIndex()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-mips64/ |
| HD | ABISysV_mips64.cpp | 873 0, 8, data_sp->GetBytes(), *byte_size - 8, target_byte_order); in GetReturnValueObjectImpl() 877 0, 8, data_sp->GetBytes() + 8, *byte_size - 8, in GetReturnValueObjectImpl() 882 0, 8, data_sp->GetBytes() + 8, *byte_size - 8, in GetReturnValueObjectImpl() 887 0, 8, data_sp->GetBytes(), *byte_size - 8, target_byte_order); in GetReturnValueObjectImpl() 1011 data_sp->GetBytes() + (field_bit_offset / 8), *field_byte_width, in GetReturnValueObjectImpl() 1093 r2_info, data_sp->GetBytes(), r2_info->byte_size, target_byte_order, in GetReturnValueObjectImpl() 1102 r3_info, data_sp->GetBytes() + r2_info->byte_size, in GetReturnValueObjectImpl()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| HD | RegisterContextMemory.cpp | 108 if (process_sp->ReadMemory(m_reg_data_addr, data_sp->GetBytes(), in ReadAllRegisterValues() 126 if (process_sp->WriteMemory(m_reg_data_addr, data_sp->GetBytes(), in WriteAllRegisterValues()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-ppc64/ |
| HD | ABISysV_ppc64.cpp | 728 if (!vr_val[i].GetAsMemoryData(vr[i], vr_data->GetBytes() + i * vr_size, in GetVectorValueObject() 743 memcpy(m_data_up->GetBytes(), vr_data->GetBytes() + offs, m_byte_size); in GetVectorValueObject() 757 size_t rc = m_process_sp->ReadMemory(addr, m_data_up->GetBytes(), in GetStructValueObject() 795 m_data_up->GetBytes() + m_dst_offs, *elem_size, m_byte_order, in GetStructValueObject() 880 if (!ExtractFromRegs(m_src_offs, n, m_data_up->GetBytes() + m_dst_offs)) in ExtractField() 890 if (!ExtractFromRegs(m_src_offs, size, m_data_up->GetBytes() + m_dst_offs)) in ExtractField()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Target/ |
| HD | Memory.cpp | 145 memcpy(dst, pos->second->GetBytes() + (addr - chunk_range.GetRangeBase()), in Read() 190 pos->second->GetBytes() + cache_offset, curr_read_size); in Read() 208 memcpy(dst_buf + dst_len - bytes_left, pos->second->GetBytes(), in Read() 230 curr_addr, data_buffer_heap_up->GetBytes(), in Read()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Commands/ |
| HD | CommandObjectMemory.cpp | 663 if (data_sp->GetBytes() == nullptr) { in DoExecute() 673 bytes_read = target->ReadMemory(address, false, data_sp->GetBytes(), in DoExecute() 705 if (data_sp->GetBytes() == nullptr) { in DoExecute() 713 uint8_t *data_ptr = data_sp->GetBytes(); in DoExecute() 752 std::make_shared<DataBufferHeap>(data_sp->GetBytes(), bytes_read + 1); in DoExecute() 783 outfile_stream_up->Write(data_sp->GetBytes(), bytes_read); in DoExecute() 1114 found_location = FastSearch(found_location, high_addr, buffer.GetBytes(), in DoExecute() 1130 dumpbuffer.GetBytes(), dumpbuffer.GetByteSize(), error); in DoExecute() 1132 DataExtractor data(dumpbuffer.GetBytes(), dumpbuffer.GetByteSize(), in DoExecute() 1362 process->WriteMemory(addr, data_sp->GetBytes(), length, error); in DoExecute()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| HD | NativeRegisterContextNetBSD_x86_64.cpp | 635 reg_value.GetBytes(), reg_value.GetByteSize()); in WriteRegister() 646 reg_value.GetBytes(), reg_value.GetByteSize()); in WriteRegister() 665 reg_value.GetBytes(), reg_value.GetByteSize()); in WriteRegister() 691 ::memcpy(ymm.bytes, reg_value.GetBytes(), reg_value.GetByteSize()); in WriteRegister() 724 uint8_t *dst = data_sp->GetBytes(); in ReadAllRegisterValues() 750 uint8_t *src = data_sp->GetBytes(); in WriteAllRegisterValues()
|