Searched refs:byte_size (Results 1 - 25 of 137) sorted by relevance

123456

/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DRegisterContextPOSIXCore_ppc64le.cpp71 offset = m_fpr.CopyData(offset, reg_info->byte_size, &v);
73 if (offset == reg_info->byte_size) {
74 value.SetBytes(&v, reg_info->byte_size, m_fpr.GetByteOrder());
80 offset = m_vmx.CopyData(offset, reg_info->byte_size, &v);
82 if (offset == reg_info->byte_size) {
83 value.SetBytes(v, reg_info->byte_size, m_vmx.GetByteOrder());
92 tmp_offset = m_vsx.CopyData(offset / 2, reg_info->byte_size / 2, &v);
94 if (tmp_offset != reg_info->byte_size / 2) {
99 tmp_offset = m_fpr.CopyData(offset / 2, reg_info->byte_size / 2, dst);
101 if (tmp_offset != reg_info->byte_size /
[all...]
H A DRegisterContextPOSIXCore_s390x.cpp60 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
61 if (offset == reg_info->byte_offset + reg_info->byte_size) {
62 value.SetUInt(v, reg_info->byte_size);
69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size);
70 if (offset == reg_info->byte_offset + reg_info->byte_size) {
71 value.SetUInt(v, reg_info->byte_size);
H A DRegisterContextPOSIXCore_powerpc.cpp69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size);
70 if (offset == reg_info->byte_offset + reg_info->byte_size) {
76 offset = m_vec.CopyData(offset, reg_info->byte_size, &v);
77 if (offset == reg_info->byte_size) {
78 value.SetBytes(v, reg_info->byte_size, m_vec.GetByteOrder());
82 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
83 if (offset == reg_info->byte_offset + reg_info->byte_size) {
84 if (reg_info->byte_size < sizeof(v))
H A DRegisterContextPOSIXCore_arm64.cpp51 if (offset + reg_info->byte_size <= GetGPRSize()) {
52 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
53 if (offset == reg_info->byte_offset + reg_info->byte_size) {
64 if (IsFPR(reg) && offset + reg_info->byte_size <= GetFPUSize()) {
67 reg_info->byte_size, lldb::eByteOrderLittle, error);
H A DRegisterContextPOSIXCore_arm.cpp47 if (offset + reg_info->byte_size <= GetGPRSize()) {
48 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
49 if (offset == reg_info->byte_offset + reg_info->byte_size) {
H A DRegisterContextPOSIXCore_mips64.cpp58 if (reg_info->byte_size == 4 && !(arch.GetMachine() == llvm::Triple::mips64el))
62 v = m_gpr.GetMaxU64(&offset, reg_info->byte_size);
67 v =m_fpr.GetMaxU64(&offset, reg_info->byte_size);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp27 uint32_t byte_size) {
29 *value = data.GetMaxU64(offset, byte_size);
35 uint32_t byte_size, uint32_t count) {
39 if (!GetMaxU64(data, offset, value, byte_size)) {
49 uint32_t byte_size) {
51 *value = data.GetMaxS64(offset, byte_size);
57 uint32_t byte_size, uint32_t count) {
61 if (!GetMaxS64(data, offset, value, byte_size)) {
120 const unsigned byte_size = Is32Bit() ? 4 : 8; local
122 data.SetAddressByteSize(byte_size);
25 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size) argument
33 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size, uint32_t count) argument
47 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size) argument
55 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size, uint32_t count) argument
224 const unsigned byte_size = data.GetAddressByteSize(); local
321 const unsigned byte_size = data.GetAddressByteSize(); local
364 const uint32_t byte_size = data.GetAddressByteSize(); local
402 const unsigned byte_size = data.GetAddressByteSize(); local
412 const unsigned byte_size = data.GetAddressByteSize(); local
424 const unsigned byte_size = data.GetAddressByteSize(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupFormat.cpp94 uint32_t byte_size = 0; local
98 byte_size)) {
107 (format == eFormatInvalid && byte_size == 0 && count == 0)) {
118 byte_size);
124 if (byte_size == 0)
126 byte_size);
130 if (byte_size > 0 && format != lldb::eFormatAddressInfo) {
153 m_byte_size.SetCurrentValue(byte_size);
171 uint32_t &byte_size) {
204 byte_size
169 ParserGDBFormatLetter( ExecutionContext *execution_context, char format_letter, Format &format, uint32_t &byte_size) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddressRange.h33 /// Construct with a section pointer, offset, and byte_size.
36 /// byte_size.
45 /// \param[in] byte_size
48 lldb::addr_t byte_size);
53 /// file_addr, and byte size \a byte_size.
58 /// \param[in] byte_size
63 AddressRange(lldb::addr_t file_addr, lldb::addr_t byte_size,
69 /// setting the byte size to \a byte_size.
74 /// \param[in] byte_size
76 AddressRange(const Address &so_addr, lldb::addr_t byte_size);
238 SetByteSize(lldb::addr_t byte_size) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Breakpoint/
H A DStoppointLocation.cpp21 uint32_t byte_size, bool hardware)
23 m_hardware_index(LLDB_INVALID_INDEX32), m_byte_size(byte_size),
20 StoppointLocation(break_id_t bid, addr_t addr, uint32_t byte_size, bool hardware) argument
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DRegisterValue.cpp61 const uint32_t src_len = reg_info->byte_size;
115 const uint32_t dst_len = reg_info->byte_size;
209 if (reg_info->byte_size == 0) {
216 if (!partial_data_ok && (src_len < reg_info->byte_size)) {
223 if (src_len > reg_info->byte_size)
224 src_len = reg_info->byte_size;
237 if (reg_info->byte_size == 1)
239 else if (reg_info->byte_size <= 2)
241 else if (reg_info->byte_size <= 4)
243 else if (reg_info->byte_size <
294 ParseVectorEncoding(const RegisterInfo *reg_info, llvm::StringRef vector_str, const uint32_t byte_size, RegisterValue *reg_value) argument
374 const uint32_t byte_size = reg_info->byte_size; local
760 SetUInt(uint64_t uint, uint32_t byte_size) argument
[all...]
H A DScalar.cpp132 size_t byte_size = GetByteSize(); local
133 if (byte_size == 0) {
137 auto buffer_up = std::make_unique<DataBufferHeap>(byte_size, 0);
141 if (limit_byte_size < byte_size) {
145 byte_size = limit_byte_size;
150 offset = byte_size - limit_byte_size;
151 byte_size = limit_byte_size;
155 data.SetData(std::move(buffer_up), offset, byte_size); local
408 Scalar::GetValueTypeForSignedIntegerWithByteSize(size_t byte_size) { argument
409 if (byte_size <
419 GetValueTypeForUnsignedIntegerWithByteSize(size_t byte_size) argument
429 GetValueTypeForFloatWithByteSize(size_t byte_size) argument
994 SetValueFromCString(const char *value_str, Encoding encoding, size_t byte_size) argument
1071 SetValueFromData(DataExtractor &data, lldb::Encoding encoding, size_t byte_size) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Expression/
H A DExpressionVariable.cpp19 const size_t byte_size = m_frozen_sp->GetByteSize(); local
20 if (byte_size > 0) {
21 if (m_frozen_sp->GetDataExtractor().GetByteSize() < byte_size) {
22 m_frozen_sp->GetValue().ResizeData(byte_size);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DUniqueDWARFASTType.h29 const lldb_private::Declaration &decl, int32_t byte_size)
31 m_byte_size(byte_size) {}
68 const int32_t byte_size, UniqueDWARFASTType &entry) const;
87 const lldb_private::Declaration &decl, const int32_t byte_size,
92 return pos->second.Find(die, decl, byte_size, entry);
28 UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, const lldb_private::Declaration &decl, int32_t byte_size) argument
86 Find(lldb_private::ConstString name, const DWARFDIE &die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const argument
H A DUniqueDWARFASTType.cpp15 const int32_t byte_size,
21 if (udt.m_byte_size < 0 || byte_size < 0 ||
22 udt.m_byte_size == byte_size) {
13 Find(const DWARFDIE &die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const argument
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp258 const uint64_t byte_size = new_value_sp->GetData(data, data_error); local
271 if (byte_size <= 16) {
273 if (byte_size <= 8) {
274 uint64_t raw_value = data.GetMaxU64(&offset, byte_size);
284 raw_value = data.GetMaxU64(&offset, byte_size - offset);
303 if (byte_size <= 16) {
304 if (byte_size <= RegisterValue::GetMaxByteSize()) {
315 byte_size);
327 if (byte_size > 0) {
331 if (byte_size <
495 llvm::Optional<uint64_t> byte_size = value_type.GetByteSize(nullptr); local
[all...]
H A DABISysV_arm64.cpp230 const uint64_t byte_size = new_value_sp->GetData(data, data_error); local
243 if (byte_size <= 16) {
246 if (byte_size <= 8) {
247 uint64_t raw_value = data.GetMaxU64(&offset, byte_size);
257 raw_value = data.GetMaxU64(&offset, byte_size - offset);
276 if (byte_size <= 16) {
277 if (byte_size <= RegisterValue::GetMaxByteSize()) {
288 byte_size);
300 if (byte_size > 0) {
304 if (byte_size <
469 llvm::Optional<uint64_t> byte_size = value_type.GetByteSize(nullptr); local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABISysV_i386.cpp118 reg_info_32, arg_pos, reg_info_32->byte_size, reg_value);
128 reg_info_32, sp, reg_info_32->byte_size, reg_value);
146 uint32_t byte_size = (bit_width + (8 - 1)) / 8; local
152 if (process->ReadScalarIntegerFromMemory(current_stack_argument, byte_size,
154 current_stack_argument += byte_size;
389 llvm::Optional<uint64_t> byte_size = local
391 if (!byte_size)
406 switch (*byte_size) {
462 if (*byte_size <= 12) // handles float, double, long double, __float80
474 if (*byte_size
514 llvm::Optional<uint64_t> byte_size = local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Core/
H A DAddressRange.cpp32 AddressRange::AddressRange(addr_t file_addr, addr_t byte_size, argument
34 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {}
37 addr_t byte_size)
38 : m_base_addr(section, offset), m_byte_size(byte_size) {}
40 AddressRange::AddressRange(const Address &so_addr, addr_t byte_size) argument
41 : m_base_addr(so_addr), m_byte_size(byte_size) {}
48 // const addr_t byte_size = GetByteSize();
49 // if (byte_size)
51 // (addr.GetOffset() - m_base_addr.GetOffset()) < byte_size;
201 ", byte_size
36 AddressRange(const lldb::SectionSP &section, addr_t offset, addr_t byte_size) argument
[all...]
H A DAddressResolverName.cpp144 addr_t byte_size = sc.function->GetAddressRange().GetByteSize(); local
150 byte_size -= prologue_byte_size;
155 AddressRange new_range(func_addr, byte_size);
167 addr_t byte_size = sc.symbol->GetByteSize(); local
173 byte_size -= prologue_byte_size;
178 AddressRange new_range(func_addr, byte_size);
H A DOpcode.cpp82 uint32_t byte_size = GetByteSize(); local
86 if (byte_size > 0) {
133 buffer_sp = std::make_shared<DataBufferHeap>(buf, byte_size);
136 return byte_size;
H A DAddressResolverFileLine.cpp54 addr_t byte_size = sc.line_entry.range.GetByteSize(); local
56 AddressRange new_range(line_start, byte_size);
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-types.h39 uint32_t byte_size; member in struct:lldb_private::RegisterInfo
69 return llvm::ArrayRef<uint8_t>(context_base + byte_offset, byte_size);
74 byte_size);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
H A DMemory.cpp101 lldb::addr_t byte_size) {
102 if (byte_size > 0) {
104 InvalidRanges::Entry range(base_addr, byte_size);
111 lldb::addr_t byte_size) {
112 if (byte_size > 0) {
118 entry->GetByteSize() == byte_size)
252 AllocatedBlock::AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, argument
254 : m_range(addr, byte_size), m_permissions(permissions),
259 assert(byte_size > chunk_size);
345 AllocatedMemoryCache::AllocatePage(uint32_t byte_size, uint32_ argument
100 AddInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size) argument
110 RemoveInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size) argument
371 AllocateMemory(size_t byte_size, uint32_t permissions, Status &error) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DMemory.h36 void AddInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size);
38 bool RemoveInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size);
70 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions,
121 lldb::addr_t AllocateMemory(size_t byte_size, uint32_t permissions,
129 AllocatedBlockSP AllocatePage(uint32_t byte_size, uint32_t permissions,

Completed in 447 milliseconds

123456