Home
last modified time | relevance | path

Searched refs:GetMaxU64 (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.cpp25 static bool GetMaxU64(const lldb_private::DataExtractor &data, in GetMaxU64() function
29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64()
33 static bool GetMaxU64(const lldb_private::DataExtractor &data, in GetMaxU64() function
39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64()
133 if (!GetMaxU64(data, offset, &e_entry, byte_size, 3)) in Parse()
234 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse()
238 if (!GetMaxU64(data, offset, &sh_addr, byte_size, 3)) in Parse()
333 if (!GetMaxU64(data, offset, &st_value, byte_size, 2)) in Parse()
376 if (!GetMaxU64(data, offset, &p_offset, byte_size, 5)) in Parse()
384 if (!GetMaxU64(data, offset, &p_align, byte_size)) in Parse()
[all …]
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DDataExtractorTest.cpp125 EXPECT_EQ(0x0201U, E2.GetMaxU64(&offset, 2)); in TEST()
133 EXPECT_EQ(0x030201U, E5.GetMaxU64(&offset, 3)); in TEST()
141 EXPECT_EQ(0x0504030201U, E7.GetMaxU64(&offset, 5)); in TEST()
148 TEST(DataExtractorTest, GetMaxU64) { in TEST() argument
158 EXPECT_EQ(0x01U, LE.GetMaxU64(&offset, 1)); in TEST()
161 EXPECT_EQ(0x01U, BE.GetMaxU64(&offset, 1)); in TEST()
166 EXPECT_EQ(0x0302U, LE.GetMaxU64(&offset, 2)); in TEST()
169 EXPECT_EQ(0x0203U, BE.GetMaxU64(&offset, 2)); in TEST()
174 EXPECT_EQ(0x07060504030201U, LE.GetMaxU64(&offset, 7)); in TEST()
177 EXPECT_EQ(0x01020304050607U, BE.GetMaxU64(&offset, 7)); in TEST()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugRanges.cpp53 dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Extract()
54 dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Extract()
84 dw_addr_t begin = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Dump()
85 dw_addr_t end = debug_ranges_data.GetMaxU64(offset_ptr, addr_size); in Dump()
H A DDWARFFormValue.cpp48 data.GetMaxU64(offset_ptr, DWARFUnit::GetAddressByteSize(m_unit)); in ExtractValue()
80 m_value.value.uval = data.GetMaxU64(offset_ptr, 4); in ExtractValue()
97 m_value.value.uval = data.GetMaxU64(offset_ptr, 3); in ExtractValue()
126 m_value.value.uval = data.GetMaxU64(offset_ptr, ref_addr_size); in ExtractValue()
498 return symbol_file.GetDWARFContext().getOrLoadAddrData().GetMaxU64( in Address()
H A DDWARFDebugArangeSet.cpp115 arangeDescriptor.address = data.GetMaxU64(offset_ptr, m_header.addr_size); in extract()
116 arangeDescriptor.length = data.GetMaxU64(offset_ptr, m_header.addr_size); in extract()
H A DDWARFDataExtractor.cpp21 return GetMaxU64(offset_ptr, GetDWARFSizeOfOffset()); in GetDWARFOffset()
/llvm-project-15.0.7/lldb/source/Plugins/Process/elf-core/
H A DRegisterContextPOSIXCore_mips64.cpp62 v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
67 v =m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
H A DRegisterContextPOSIXCore_s390x.cpp60 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
H A DRegisterContextPOSIXCore_powerpc.cpp69 uint64_t v = m_fpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
82 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
H A DRegisterContextPOSIXCore_arm.cpp48 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
H A DThreadElfCore.cpp361 pr_uid = data.GetMaxU64(&offset, data.GetAddressByteSize() >> 1); in Parse()
362 pr_gid = data.GetMaxU64(&offset, data.GetAddressByteSize() >> 1); in Parse()
H A DRegisterContextPOSIXCore_ppc64le.cpp116 uint64_t v = m_gpr.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
H A DRegisterContextPOSIXCore_arm64.cpp134 uint64_t v = m_gpr_data.GetMaxU64(&offset, reg_info->byte_size); in ReadRegister()
/llvm-project-15.0.7/lldb/source/Utility/
H A DDataExtractor.cpp521 return GetMaxU64(offset_ptr, byte_size); in GetMaxU32()
524 uint64_t DataExtractor::GetMaxU64(offset_t *offset_ptr, in GetMaxU64() function in DataExtractor
569 uint64_t u64 = GetMaxU64(offset_ptr, byte_size); in GetMaxS64()
577 uint64_t uval64 = GetMaxU64(offset_ptr, size); in GetMaxU64Bitfield()
651 return GetMaxU64(offset_ptr, m_addr_size); in GetAddress()
H A DRegisterValue.cpp218 SetUInt64(src.GetMaxU64(&src_offset, src_len)); in SetValueFromData()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DProcessStructReader.h92 return (RetType)(m_data.GetMaxU64(&offset, size));
/llvm-project-15.0.7/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp275 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject()
280 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject()
285 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
H A DABISysV_arm64.cpp248 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject()
253 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject()
258 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
/llvm-project-15.0.7/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.cpp1645 uint32_t raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject()
1649 raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject()
1653 raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject()
1657 raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject()
/llvm-project-15.0.7/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips64.cpp663 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject()
668 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject()
672 raw_value = data.GetMaxU64(&offset, num_bytes - offset); in SetReturnValueObject()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp617 m_data.GetMaxU64(offset_ptr, addr_byte_size); in ParseCOFFOptionalHeader()
633 m_data.GetMaxU64(offset_ptr, addr_byte_size); in ParseCOFFOptionalHeader()
635 m_data.GetMaxU64(offset_ptr, addr_byte_size); in ParseCOFFOptionalHeader()
637 m_data.GetMaxU64(offset_ptr, addr_byte_size); in ParseCOFFOptionalHeader()
639 m_data.GetMaxU64(offset_ptr, addr_byte_size); in ParseCOFFOptionalHeader()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DDataExtractor.h485 uint64_t GetMaxU64(lldb::offset_t *offset_ptr, size_t byte_size) const;
/llvm-project-15.0.7/lldb/source/Core/
H A DDumpDataExtractor.cpp88 u64 = data.GetMaxU64(offset_ptr, (uint32_t)bytes_left); in GetAPInt()
106 u64 = data.GetMaxU64(&temp_offset, (uint32_t)bytes_left); in GetAPInt()
H A DEmulateInstruction.cpp178 uval64 = data.GetMaxU64(&offset, byte_size); in ReadMemoryUnsigned()
/llvm-project-15.0.7/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp416 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject()

12