Searched refs:GetBytes (Results 1 - 25 of 88) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DDataBuffer.h58 virtual uint8_t *GetBytes() = 0;
65 virtual const uint8_t *GetBytes() const = 0;
74 return llvm::ArrayRef<uint8_t>(GetBytes(), GetByteSize());
78 return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize());
H A DDataBufferLLVM.h30 uint8_t *GetBytes() override;
31 const uint8_t *GetBytes() const override;
34 char *GetChars() { return reinterpret_cast<char *>(GetBytes()); }
H A DDataBufferHeap.h63 /// \copydoc DataBuffer::GetBytes()
64 uint8_t *GetBytes() override;
66 /// \copydoc DataBuffer::GetBytes() const
67 const uint8_t *GetBytes() const override;
H A DUUID.h59 llvm::ArrayRef<uint8_t> GetBytes() const { return m_bytes; } function in class:lldb_private::UUID
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DDataBufferLLVM.cpp26 uint8_t *DataBufferLLVM::GetBytes() { function in class:DataBufferLLVM
30 const uint8_t *DataBufferLLVM::GetBytes() const { function in class:DataBufferLLVM
H A DDataBufferHeap.cpp34 uint8_t *DataBufferHeap::GetBytes() { function in class:DataBufferHeap
40 const uint8_t *DataBufferHeap::GetBytes() const { function in class:DataBufferHeap
H A DUUID.cpp42 for (auto B : llvm::enumerate(GetBytes())) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCClassDescriptorV2.cpp56 process->ReadMemory(addr, objc_class_buf.GetBytes(), objc_class_size, error);
61 DataExtractor extractor(objc_class_buf.GetBytes(), objc_class_size,
96 process->ReadMemory(addr, buffer.GetBytes(), size, error);
101 DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(),
116 process->ReadMemory(m_ro_ptr ^ 1, buffer.GetBytes(), ptr_size, error);
120 DataExtractor extractor(buffer.GetBytes(), ptr_size,
148 process->ReadMemory(addr, buffer.GetBytes(), size, error);
153 DataExtractor extractor(buffer.GetBytes(), size, process->GetByteOrder(),
175 process->ReadCStringFromMemory(m_name_ptr, (char *)name_buf.GetBytes(),
182 m_name.assign((char *)name_buf.GetBytes());
[all...]
H A DAppleObjCRuntimeV1.cpp238 name_ptr, (char *)buffer_sp->GetBytes(), 1024, error);
246 m_name = ConstString((char *)buffer_sp->GetBytes());
357 if (process->ReadMemory(hash_table_ptr, buffer.GetBytes(), 20, error) ==
361 DataExtractor data(buffer.GetBytes(), buffer.GetByteSize(), byte_order,
373 if (process->ReadMemory(buckets_ptr, buffer.GetBytes(), data_size,
375 data.SetData(buffer.GetBytes(), buffer.GetByteSize(), byte_order);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DValue.cpp66 (rhs_value == (uintptr_t)v.m_data_buffer.GetBytes())) {
67 m_data_buffer.CopyData(v.m_data_buffer.GetBytes(),
70 m_value = (uintptr_t)m_data_buffer.GetBytes();
85 (rhs_value == (uintptr_t)rhs.m_data_buffer.GetBytes())) {
86 m_data_buffer.CopyData(rhs.m_data_buffer.GetBytes(),
89 m_value = (uintptr_t)m_data_buffer.GetBytes();
98 m_value = (uintptr_t)m_data_buffer.GetBytes();
104 m_value = (uintptr_t)m_data_buffer.GetBytes();
155 rhs.m_value.GetAsMemoryData(m_data_buffer.GetBytes() + curr_size,
167 ::memcpy(m_data_buffer.GetBytes()
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextMemory.cpp108 if (process_sp->ReadMemory(m_reg_data_addr, data_sp->GetBytes(),
126 if (process_sp->WriteMemory(m_reg_data_addr, data_sp->GetBytes(),
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DStringPrinter.cpp312 utf8_data_ptr = (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes();
321 (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes();
356 auto printable_bytes = printable.GetBytes();
444 options.GetLocation(), (char *)buffer_sp->GetBytes(), size, my_error);
457 uint8_t *data_end = buffer_sp->GetBytes() + buffer_sp->GetByteSize();
476 for (uint8_t *data = buffer_sp->GetBytes(); *data && (data < data_end);) {
480 auto printable_bytes = printable.GetBytes();
560 if (!buffer_sp->GetBytes())
564 char *buffer = reinterpret_cast<char *>(buffer_sp->GetBytes());
571 (char *)buffer_sp->GetBytes(),
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/
H A DMaterializer.cpp350 map.ReadMemory(data.GetBytes(), load_addr, m_size, err);
355 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16,
374 map.ReadMemory(data.GetBytes(), target_address,
380 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16,
636 !memcmp(m_original_data->GetBytes(), data.GetDataStart(),
688 map.ReadMemory(data.GetBytes(), load_addr, m_size, err);
693 DataExtractor extractor(data.GetBytes(), data.GetByteSize(),
696 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16,
718 map.ReadMemory(data.GetBytes(), m_temporary_allocation,
724 DumpHexBytes(&dump_stream, data.GetBytes(), dat
[all...]
H A DIRMemoryMap.cpp551 ::memcpy(allocation.m_data.GetBytes() + offset, bytes, size);
559 ::memcpy(allocation.m_data.GetBytes() + offset, bytes, size);
681 ::memcpy(bytes, allocation.m_data.GetBytes() + offset, size);
695 ::memcpy(bytes, allocation.m_data.GetBytes() + offset, size);
727 ReadMemory(buf.GetBytes(), process_address, size, error);
732 DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(),
820 allocation.m_data.GetBytes(),
825 extractor = DataExtractor(allocation.m_data.GetBytes() + offset, size,
837 extractor = DataExtractor(allocation.m_data.GetBytes() + offset, size,
H A DIRInterpreter.cpp217 if (!cast_scalar.GetAsMemoryData(buf.GetBytes(), buf.GetByteSize(),
223 m_execution_unit.WriteMemory(process_address, buf.GetBytes(),
353 if (!resolved_scalar.GetAsMemoryData(buf.GetBytes(), buf.GetByteSize(),
359 m_execution_unit.WriteMemory(process_address, buf.GetBytes(),
392 m_execution_unit.ReadMemory(buf.GetBytes(), addr, length, read_error);
401 ss.Printf("%02hhx - ", buf.GetBytes()[i]);
403 ss.Printf("%02hhx ", buf.GetBytes()[i]);
1230 execution_unit.ReadMemory(buffer.GetBytes(), R, buffer.GetByteSize(),
1240 execution_unit.WriteMemory(D, buffer.GetBytes(), buffer.GetByteSize(),
1309 execution_unit.ReadMemory(buffer.GetBytes(),
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSSet.cpp481 *((uint32_t *)buffer.GetBytes()) = (uint32_t)set_item.item_ptr;
484 *((uint64_t *)buffer.GetBytes()) = (uint64_t)set_item.item_ptr;
492 DataExtractor data(buffer.GetBytes(), buffer.GetByteSize(),
648 *((uint32_t *)buffer.GetBytes()) = (uint32_t)set_item.item_ptr;
651 *((uint64_t *)buffer.GetBytes()) = (uint64_t)set_item.item_ptr;
659 DataExtractor data(buffer.GetBytes(), buffer.GetByteSize(),
H A DCF.cpp164 process_sp->ReadMemory(data_ptr, buffer_sp->GetBytes(), num_bytes, error);
167 uint8_t *bytes = buffer_sp->GetBytes();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DRegisterContextPOSIXProcessMonitor_x86.cpp279 value.GetBytes(), value.GetByteSize());
283 value.GetBytes(), value.GetByteSize());
287 value.GetBytes(), value.GetByteSize());
296 value.GetBytes(), value.GetByteSize());
348 uint8_t *dst = data_sp->GetBytes();
380 uint8_t *src = data_sp->GetBytes();
H A DRegisterContextPOSIXProcessMonitor_arm.cpp159 uint8_t *dst = data_sp->GetBytes();
175 uint8_t *src = data_sp->GetBytes();
H A DRegisterContextPOSIXProcessMonitor_arm64.cpp168 uint8_t *dst = data_sp->GetBytes();
184 uint8_t *src = data_sp->GetBytes();
H A DRegisterContextPOSIXProcessMonitor_mips64.cpp164 uint8_t *dst = data_sp->GetBytes();
178 uint8_t *src = data_sp->GetBytes();
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcessStructReader.h74 process->ReadMemoryFromInferior(base_addr, buffer_sp->GetBytes(),
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DRegisterContextMinidump_x86_32.cpp32 uint8_t *result_base = result_context_buf->GetBytes();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Target/
H A DMemory.cpp145 memcpy(dst, pos->second->GetBytes() + (addr - chunk_range.GetRangeBase()),
190 pos->second->GetBytes() + cache_offset, curr_read_size);
208 memcpy(dst_buf + dst_len - bytes_left, pos->second->GetBytes(),
230 curr_addr, data_buffer_heap_up->GetBytes(),
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxVector.cpp219 if (bit_set && buffer_sp && buffer_sp->GetBytes()) {
221 *(buffer_sp->GetBytes()) = 1;

Completed in 250 milliseconds

1234