Home
last modified time | relevance | path

Searched refs:byte_size (Results 1 – 25 of 145) sorted by relevance

123456

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp29 uint32_t byte_size) { in GetMaxU64() argument
31 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64()
41 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64()
51 uint32_t byte_size) { in GetMaxS64() argument
53 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64()
63 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64()
123 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local
125 data.SetAddressByteSize(byte_size); in Parse()
235 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse()
327 const bool parsing_32 = byte_size == 4; in Parse()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DRegisterValue.cpp209 if (reg_info->byte_size == 0) { in SetValueFromData()
325 if (bytes.size() != byte_size) in ParseVectorEncoding()
345 const uint32_t byte_size = reg_info->byte_size; in SetValueFromString() local
374 uval64, byte_size); in SetValueFromString()
403 ival64, byte_size); in SetValueFromString()
731 if (byte_size == 0) { in SetUInt()
733 } else if (byte_size == 1) { in SetUInt()
735 } else if (byte_size <= 2) { in SetUInt()
737 } else if (byte_size <= 4) { in SetUInt()
739 } else if (byte_size <= 8) { in SetUInt()
[all …]
H A DScalar.cpp80 size_t byte_size = GetByteSize(); in GetData() local
81 if (byte_size > 0) { in GetData()
88 byte_size = limit_byte_size; in GetData()
125 if (byte_size < 8) in GetBytes()
126 bytes += 8 - byte_size; in GetBytes()
2256 (uint64_t)byte_size); in SetValueFromCString()
2294 (uint64_t)byte_size); in SetValueFromCString()
2360 switch (byte_size) { in SetValueFromData()
2400 (uint64_t)byte_size); in SetValueFromData()
2407 switch (byte_size) { in SetValueFromData()
[all …]
H A DDataExtractor.cpp113 for (size_t i = 0; i < byte_size; ++i) in ReadMaxInt64()
117 for (size_t i = 0; i < byte_size; ++i) in ReadMaxInt64()
118 res = (res << 8) | data[byte_size - 1 - i]; in ReadMaxInt64()
562 lldbassert(byte_size > 0 && byte_size <= 4 && "GetMaxU32 invalid byte_size!"); in GetMaxU32()
563 return GetMaxU64(offset_ptr, byte_size); in GetMaxU32()
568 lldbassert(byte_size > 0 && byte_size <= 8 && "GetMaxU64 invalid byte_size!"); in GetMaxU64()
569 switch (byte_size) { in GetMaxU64()
592 switch (byte_size) { in GetMaxU64_unchecked()
603 *offset_ptr += byte_size; in GetMaxU64_unchecked()
611 uint64_t u64 = GetMaxU64(offset_ptr, byte_size); in GetMaxS64()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/elf-core/
H A DRegisterContextPOSIXCore_ppc64le.cpp70 offset = m_fpr.CopyData(offset, reg_info->byte_size, &v); in ReadRegister()
72 if (offset == reg_info->byte_size) { in ReadRegister()
79 offset = m_vmx.CopyData(offset, reg_info->byte_size, &v); in ReadRegister()
81 if (offset == reg_info->byte_size) { in ReadRegister()
82 value.SetBytes(v, reg_info->byte_size, m_vmx.GetByteOrder()); in ReadRegister()
93 if (tmp_offset != reg_info->byte_size / 2) { in ReadRegister()
100 if (tmp_offset != reg_info->byte_size / 2) { in ReadRegister()
109 if (offset == reg_info->byte_size) { in ReadRegister()
115 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
117 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister()
[all …]
H A DRegisterContextPOSIXCore_powerpc.cpp68 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
69 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister()
75 offset = m_vec.CopyData(offset, reg_info->byte_size, &v); in ReadRegister()
76 if (offset == reg_info->byte_size) { in ReadRegister()
77 value.SetBytes(v, reg_info->byte_size, m_vec.GetByteOrder()); in ReadRegister()
81 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
82 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister()
83 if (reg_info->byte_size < sizeof(v)) in ReadRegister()
H A DRegisterContextPOSIXCore_s390x.cpp59 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
60 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister()
61 value.SetUInt(v, reg_info->byte_size); in ReadRegister()
68 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
69 if (offset == reg_info->byte_offset + reg_info->byte_size) { in ReadRegister()
70 value.SetUInt(v, reg_info->byte_size); in ReadRegister()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionGroupFormat.cpp95 uint32_t byte_size = 0; in SetOptionValue() local
99 byte_size)) { in SetOptionValue()
119 byte_size); in SetOptionValue()
125 if (byte_size == 0) in SetOptionValue()
127 byte_size); in SetOptionValue()
154 m_byte_size.SetCurrentValue(byte_size); in SetOptionValue()
173 uint32_t &byte_size) { in ParserGDBFormatLetter() argument
241 byte_size = 1; in ParserGDBFormatLetter()
243 byte_size = 2; in ParserGDBFormatLetter()
245 byte_size = 4; in ParserGDBFormatLetter()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DCompilerType.cpp823 if (!byte_size) in GetValueAsScalar()
851 if (*byte_size <= sizeof(int)) { in GetValueAsScalar()
935 switch (byte_size) { in SetValueFromScalar()
954 switch (byte_size) { in SetValueFromScalar()
1005 auto byte_size = in ReadFromMemory() local
1007 if (!byte_size) in ReadFromMemory()
1010 if (data.GetByteSize() < *byte_size) { in ReadFromMemory()
1029 return process->ReadMemory(addr, dst, *byte_size, error) == *byte_size; in ReadFromMemory()
1050 auto byte_size = in WriteToMemory() local
1052 if (!byte_size) in WriteToMemory()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DMemory.cpp104 lldb::addr_t byte_size) { in AddInvalidRange() argument
105 if (byte_size > 0) { in AddInvalidRange()
107 InvalidRanges::Entry range(base_addr, byte_size); in AddInvalidRange()
114 lldb::addr_t byte_size) { in RemoveInvalidRange() argument
115 if (byte_size > 0) { in RemoveInvalidRange()
121 entry->GetByteSize() == byte_size) in RemoveInvalidRange()
252 : m_range(addr, byte_size), m_permissions(permissions), in AllocatedBlock()
257 assert(byte_size > chunk_size); in AllocatedBlock()
379 addr = (*pos).second->ReserveBlock(byte_size); in AllocateMemory()
388 addr = block_sp->ReserveBlock(byte_size); in AllocateMemory()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DAuxVector.cpp20 uint64_t *value, unsigned int byte_size) { in GetMaxU64() argument
22 *value = data.GetMaxU64(offset_ptr, byte_size); in GetMaxU64()
27 lldb::offset_t *offset_ptr, unsigned int byte_size) { in ParseAuxvEntry() argument
28 if (!GetMaxU64(data, offset_ptr, &entry.type, byte_size)) in ParseAuxvEntry()
31 if (!GetMaxU64(data, offset_ptr, &entry.value, byte_size)) in ParseAuxvEntry()
45 const unsigned int byte_size = m_process->GetAddressByteSize(); in ParseAuxv() local
51 if (!ParseAuxvEntry(data, entry, &offset, byte_size)) in ParseAuxv()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DAddressRange.h62 lldb::addr_t byte_size);
79 AddressRange(lldb::addr_t file_addr, lldb::addr_t byte_size,
94 AddressRange(const Address &so_addr, lldb::addr_t byte_size);
275 void SetByteSize(lldb::addr_t byte_size) { m_byte_size = byte_size; } in SetByteSize() argument
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-i386/
H A DABISysV_i386.cpp281 current_stack_argument += byte_size; in ReadIntegerArgument()
516 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
518 if (!byte_size) in GetReturnValueObjectSimple()
533 switch (*byte_size) { in GetReturnValueObjectSimple()
601 if (*byte_size == 4) { in GetReturnValueObjectSimple()
605 } else if (*byte_size == 8) { in GetReturnValueObjectSimple()
612 } else if (*byte_size == 12) { in GetReturnValueObjectSimple()
641 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
643 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple()
649 if (*byte_size <= vec_reg->byte_size) { in GetReturnValueObjectSimple()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-arm64/
H A DABISysV_arm64.cpp1865 if (byte_size <= 16) { in SetReturnValueObject()
1868 if (byte_size <= 8) { in SetReturnValueObject()
1910 byte_size); in SetReturnValueObject()
1922 if (byte_size > 0) { in SetReturnValueObject()
1926 if (byte_size <= v0_info->byte_size) { in SetReturnValueObject()
2091 if (byte_size || *byte_size == 0) in LoadValueFromConsecutiveGPRRegisters()
2238 if (!byte_size) in GetReturnValueObjectImpl()
2248 if (*byte_size <= 8) { in GetReturnValueObjectImpl()
2257 switch (*byte_size) { in GetReturnValueObjectImpl()
2269 x0_reg_info->byte_size + x1_reg_info->byte_size) { in GetReturnValueObjectImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm64/
H A DABIMacOSX_arm64.cpp1893 if (byte_size <= 16) { in SetReturnValueObject()
1895 if (byte_size <= 8) { in SetReturnValueObject()
1937 byte_size); in SetReturnValueObject()
1949 if (byte_size > 0) { in SetReturnValueObject()
1953 if (byte_size <= v0_info->byte_size) { in SetReturnValueObject()
2115 if (!byte_size || *byte_size == 0) in LoadValueFromConsecutiveGPRRegisters()
2269 if (!byte_size) in GetReturnValueObjectImpl()
2279 if (*byte_size <= 8) { in GetReturnValueObjectImpl()
2298 x0_reg_info->byte_size + x1_reg_info->byte_size) { in GetReturnValueObjectImpl()
2393 if (*byte_size > 0) { in GetReturnValueObjectImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DValue.cpp213 uint64_t byte_size = 0; in GetValueByteSize() local
218 byte_size = GetRegisterInfo()->byte_size; in GetValueByteSize()
229 byte_size = *size; in GetValueByteSize()
234 if (byte_size == 0) { in GetValueByteSize()
241 return byte_size; in GetValueByteSize()
516 size_t byte_size = GetValueByteSize(&error, exe_ctx); in GetValueAsData() local
524 if (!data.ValidOffsetForDataOfSize(data_offset, byte_size)) { in GetValueAsData()
539 memcpy(dst, reinterpret_cast<uint8_t *>(address), byte_size); in GetValueAsData()
550 dst, byte_size, in GetValueAsData()
564 process->ReadMemory(address, dst, byte_size, error); in GetValueAsData()
[all …]
H A DAddressRange.cpp33 AddressRange::AddressRange(addr_t file_addr, addr_t byte_size, in AddressRange() argument
35 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {} in AddressRange()
38 addr_t byte_size) in AddressRange() argument
39 : m_base_addr(section, offset), m_byte_size(byte_size) {} in AddressRange()
41 AddressRange::AddressRange(const Address &so_addr, addr_t byte_size) in AddressRange() argument
42 : m_base_addr(so_addr), m_byte_size(byte_size) {} in AddressRange()
H A DAddressResolverName.cpp146 addr_t byte_size = sc.function->GetAddressRange().GetByteSize(); in SearchCallback() local
152 byte_size -= prologue_byte_size; in SearchCallback()
157 AddressRange new_range(func_addr, byte_size); in SearchCallback()
169 addr_t byte_size = sc.symbol->GetByteSize(); in SearchCallback() local
175 byte_size -= prologue_byte_size; in SearchCallback()
180 AddressRange new_range(func_addr, byte_size); in SearchCallback()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DUniqueDWARFASTType.h32 const lldb_private::Declaration &decl, int32_t byte_size) in UniqueDWARFASTType() argument
34 m_byte_size(byte_size) {} in UniqueDWARFASTType()
71 const int32_t byte_size, UniqueDWARFASTType &entry) const;
90 const lldb_private::Declaration &decl, const int32_t byte_size, in Find() argument
95 return pos->second.Find(die, decl, byte_size, entry); in Find()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterContext.cpp76 reg_info->byte_size = reg_size; in GetRegisterInfoAtIndex()
110 const size_t reg_byte_size = reg_info->byte_size; in PrivateSetRegisterValue()
253 reg_info->byte_offset + reg_info->byte_size); in ReadRegisterBytes()
291 reg_info->byte_size}); in SetPrimordialRegister()
309 reg_info->byte_offset + reg_info->byte_size); in WriteRegisterBytes()
560 size_including_slice_registers += reg_info->byte_size; in WriteAllRegisterValues()
594 ++reg_idx, running_byte_offset += reg_info->byte_size) { in WriteAllRegisterValues()
608 const uint32_t reg_byte_size = reg_info->byte_size; in WriteAllRegisterValues()
656 reg_info->byte_size})) in WriteAllRegisterValues()
875 byte_offset += g_register_infos[i].byte_size; in HardcodeARMRegisters()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-mips64/
H A DABISysV_mips64.cpp765 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectImpl() local
767 if (!byte_size) in GetReturnValueObjectImpl()
787 switch (*byte_size) { in GetReturnValueObjectImpl()
828 switch (*byte_size) { in GetReturnValueObjectImpl()
853 if (*byte_size <= sizeof(long double)) { in GetReturnValueObjectImpl()
864 if (*byte_size == sizeof(float)) { in GetReturnValueObjectImpl()
867 } else if (*byte_size == sizeof(double)) { in GetReturnValueObjectImpl()
916 if (*byte_size <= 16) { in GetReturnValueObjectImpl()
1093 if (*byte_size <= 8) in GetReturnValueObjectImpl()
1107 if (bytes_copied != r2_info->byte_size) in GetReturnValueObjectImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/
H A DABISysV_x86_64.cpp1204 current_stack_argument += byte_size; in ReadIntegerArgument()
1405 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
1407 if (!byte_size) in GetReturnValueObjectSimple()
1412 switch (*byte_size) { in GetReturnValueObjectSimple()
1452 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
1454 if (byte_size && *byte_size <= sizeof(long double)) { in GetReturnValueObjectSimple()
1462 if (*byte_size == sizeof(float)) { in GetReturnValueObjectSimple()
1491 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
1493 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple()
1500 if (*byte_size <= altivec_reg->byte_size) { in GetReturnValueObjectSimple()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DMemory.h43 void AddInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size);
45 bool RemoveInvalidRange(lldb::addr_t base_addr, lldb::addr_t byte_size);
78 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions,
133 lldb::addr_t AllocateMemory(size_t byte_size, uint32_t permissions,
141 AllocatedBlockSP AllocatePage(uint32_t byte_size, uint32_t permissions,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc/
H A DABISysV_ppc.cpp330 uint32_t byte_size = (bit_width + (8 - 1)) / 8; in ReadIntegerArgument() local
334 current_stack_argument += byte_size; in ReadIntegerArgument()
533 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
535 if (!byte_size) in GetReturnValueObjectSimple()
540 switch (*byte_size) { in GetReturnValueObjectSimple()
580 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
582 if (byte_size && *byte_size <= sizeof(long double)) { in GetReturnValueObjectSimple()
589 if (*byte_size == sizeof(float)) { in GetReturnValueObjectSimple()
614 llvm::Optional<uint64_t> byte_size = in GetReturnValueObjectSimple() local
616 if (byte_size && *byte_size > 0) { in GetReturnValueObjectSimple()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Expression/
H A DExpressionVariable.cpp20 const size_t byte_size = m_frozen_sp->GetByteSize(); in GetValueBytes() local
21 if (byte_size > 0) { in GetValueBytes()
22 if (m_frozen_sp->GetDataExtractor().GetByteSize() < byte_size) { in GetValueBytes()
23 m_frozen_sp->GetValue().ResizeData(byte_size); in GetValueBytes()

123456