/external/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/ |
D | UnwindAssembly-x86.cpp | 47 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in GetNonCallSiteUnwindPlanFromAssembly() 55 std::vector<uint8_t> function_text(func.GetByteSize()); in GetNonCallSiteUnwindPlanFromAssembly() 59 func.GetByteSize(), error) == func.GetByteSize()) { in GetNonCallSiteUnwindPlanFromAssembly() 63 function_text.data(), func.GetByteSize(), func, unwind_plan); in GetNonCallSiteUnwindPlanFromAssembly() 152 if (!func.GetBaseAddress().IsValid() || func.GetByteSize() == 0) in AugmentUnwindPlanFromCallSite() 157 std::vector<uint8_t> function_text(func.GetByteSize()); in AugmentUnwindPlanFromCallSite() 161 func.GetByteSize(), error) == func.GetByteSize()) { in AugmentUnwindPlanFromCallSite() 165 function_text.data(), func.GetByteSize(), func, unwind_plan, reg_ctx); in AugmentUnwindPlanFromCallSite() 224 std::vector<uint8_t> function_text(func.GetByteSize()); in FirstNonPrologueInsn() 227 function_text.data(), func.GetByteSize(), in FirstNonPrologueInsn() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | AddressRange.cpp | 64 return (addr.GetOffset() - m_base_addr.GetOffset()) < GetByteSize(); in ContainsFileAddress() 74 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress() 88 return (file_addr - file_base_addr) < GetByteSize(); in ContainsFileAddress() 96 return (addr.GetOffset() - m_base_addr.GetOffset()) < GetByteSize(); in ContainsLoadAddress() 106 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 120 return (load_addr - load_base_addr) < GetByteSize(); in ContainsLoadAddress() 126 addr_t lhs_end_addr = GetBaseAddress().GetFileAddress() + GetByteSize(); in Extend() 134 addr_t rhs_end_addr = rhs_base_addr + rhs_range.GetByteSize(); in Extend() 164 DumpAddress(s->AsRawOstream(), m_base_addr.GetOffset() + GetByteSize(), in Dump() 189 DumpAddressRange(s->AsRawOstream(), vmaddr, vmaddr + GetByteSize(), in Dump() [all …]
|
D | Value.cpp | 67 v.m_data_buffer.GetByteSize()); in Value() 85 rhs.m_data_buffer.GetByteSize()); in operator =() 144 size_t curr_size = m_data_buffer.GetByteSize(); in AppendDataToHostBuffer() 148 const size_t scalar_size = rhs.m_value.GetByteSize(); in AppendDataToHostBuffer() 163 const size_t src_len = rhs.GetBuffer().GetByteSize(); in AppendDataToHostBuffer() 180 return m_data_buffer.GetByteSize(); in ResizeData() 212 if (llvm::Optional<uint64_t> size = GetCompilerType().GetByteSize(scope)) { in GetValueByteSize() 288 if (m_data_buffer.GetByteSize()) { in GetData() 289 data.SetData(m_data_buffer.GetBytes(), m_data_buffer.GetByteSize(), in GetData() 308 llvm::Optional<uint64_t> type_size = ast_type.GetByteSize( in GetValueAsData() [all …]
|
D | ValueObjectVariable.cpp | 108 llvm::Optional<uint64_t> ValueObjectVariable::GetByteSize() { in GetByteSize() function in ValueObjectVariable 116 return type.GetByteSize(exe_ctx.GetBestExecutionContextScope()); in GetByteSize() 136 if (m_data.GetDataStart() && m_data.GetByteSize()) in UpdateValue() 137 m_value.SetBytes(m_data.GetDataStart(), m_data.GetByteSize()); in UpdateValue() 188 if (size_t value_buf_size = m_value.GetBuffer().GetByteSize()) { in UpdateValue()
|
/external/llvm-project/lldb/source/Expression/ |
D | Materializer.cpp | 70 m_persistent_variable_sp->GetByteSize().getValueOr(0), 8, in MakeAllocation() 109 m_persistent_variable_sp->GetByteSize().getValueOr(0), in MakeAllocation() 238 m_persistent_variable_sp->GetByteSize().getValueOr(0)); in Dematerialize() 283 (unsigned long long)m_persistent_variable_sp->GetByteSize() in Dematerialize() 293 m_persistent_variable_sp->GetByteSize().getValueOr(0), read_error); in Dematerialize() 357 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 375 m_persistent_variable_sp->GetByteSize().getValueOr(0), 0); in DumpToLog() 378 m_persistent_variable_sp->GetByteSize().getValueOr(0), err); in DumpToLog() 383 DumpHexBytes(&dump_stream, data.GetBytes(), data.GetByteSize(), 16, in DumpToLog() 520 if (data.GetByteSize() < m_variable_sp->GetType()->GetByteSize(scope)) { in Materialize() [all …]
|
D | IRMemoryMap.cpp | 546 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 554 if (!allocation.m_data.GetByteSize()) { in WriteMemory() 595 size = scalar.GetByteSize(); in WriteScalarToMemory() 670 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 675 if (allocation.m_data.GetByteSize() < offset + size) { in ReadMemory() 690 if (!allocation.m_data.GetByteSize()) { in ReadMemory() 732 DataExtractor extractor(buf.GetBytes(), buf.GetByteSize(), GetByteOrder(), in ReadScalarFromMemory() 813 if (!allocation.m_data.GetByteSize()) { in GetMemoryData() 821 allocation.m_data.GetByteSize(), error); in GetMemoryData() 831 if (!allocation.m_data.GetByteSize()) { in GetMemoryData()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | DataBuffer.h | 71 virtual lldb::offset_t GetByteSize() const = 0; 74 return llvm::ArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 78 return llvm::MutableArrayRef<uint8_t>(GetBytes(), GetByteSize()); in GetData() 89 lldb::offset_t GetByteSize() const override { return m_size; } in GetByteSize() function
|
D | DataEncoder.h | 175 const uint32_t size = GetByteSize(); in BytesLeft() 220 bool ValidOffset(uint32_t offset) const { return offset < GetByteSize(); } in ValidOffset() 226 size_t GetByteSize() const { return m_end - m_start; } in GetByteSize() function
|
/external/llvm-project/lldb/source/Symbol/ |
D | Symbol.cpp | 58 m_size_is_valid(size_is_valid || range.GetByteSize() > 0), in Symbol() 145 intptr_t str_ptr = m_addr_range.GetByteSize(); in GetReExportedSymbolSharedLibrary() 171 return m_size_is_sibling ? m_addr_range.GetByteSize() : UINT32_MAX; in GetSiblingIndex() 184 const lldb::addr_t byte_size = GetByteSize(); in GetDescription() 220 GetByteSize(); in Dump() 236 s->Printf(format, GetByteSize(), m_flags, name.AsCString("")); in Dump() 243 intptr_t shlib = m_addr_range.GetByteSize(); in Dump() 255 s->Printf(format, m_addr_range.GetBaseAddress().GetOffset(), GetByteSize(), in Dump() 280 m_type_data = sc.line_entry.range.GetByteSize(); in GetPrologueByteSize() 306 addr.Slide(sc_temp.line_entry.range.GetByteSize()); in GetPrologueByteSize() [all …]
|
D | ObjectFile.cpp | 84 if (!data_sp || data_sp->GetByteSize() == 0) { in FindPlugin() 93 file_size = FileSystem::Instance().GetByteSize(archive_file); in FindPlugin() 128 if (data_sp && data_sp->GetByteSize() > 0) { in FindPlugin() 218 FileSystem::Instance().GetByteSize(file); in GetModuleSpecifications() 294 m_data.SetData(header_data_sp, 0, header_data_sp->GetByteSize()); in ObjectFile() 474 addr, data_up->GetBytes(), data_up->GetByteSize(), error); in ReadMemory() 530 const uint64_t section_size = section->GetByteSize(); in ReadSectionData() 560 ReadMemory(process_sp, base_load_addr, section->GetByteSize())); in ReadSectionData() 562 section_data.SetData(data_sp, 0, data_sp->GetByteSize()); in ReadSectionData() 565 return section_data.GetByteSize(); in ReadSectionData() [all …]
|
D | LineEntry.cpp | 164 const lldb::addr_t a_byte_size = a.range.GetByteSize(); in Compare() 165 const lldb::addr_t b_byte_size = b.range.GetByteSize(); in Compare() 206 range_end.Slide(complete_line_range.GetByteSize()); in GetSameLineContiguousAddressRange() 210 next_line_sc.line_entry.range.GetByteSize() == 0) in GetSameLineContiguousAddressRange()
|
/external/llvm-project/lldb/source/Utility/ |
D | DataExtractor.cpp | 165 offset_t bytes_available = data.GetByteSize() - offset; in DataExtractor() 237 return GetByteSize(); in SetData() 264 if (data_length > data.GetByteSize() - data_offset) in SetData() 265 data_length = data.GetByteSize() - data_offset; in SetData() 291 const size_t data_size = data_sp->GetByteSize(); in SetData() 305 size_t new_size = GetByteSize(); in SetData() 971 size_t data_size = GetByteSize(); in Copy() 974 return GetByteSize(); in Copy() 981 if (rhs.GetByteSize() == 0) in Append() 984 if (GetByteSize() == 0) in Append() [all …]
|
/external/llvm-project/lldb/source/Plugins/Process/elf-core/ |
D | RegisterContextPOSIXCore_arm64.cpp | 25 gpregset.GetByteSize()); in RegisterContextCorePOSIX_arm64() 60 if (m_sveregset.GetByteSize() > sizeof(sve::user_sve_header)) { in ConfigureRegisterContext() 122 if (offset < m_fpregset.GetByteSize()) { in ReadRegister() 155 assert(offset < m_sveregset.GetByteSize()); in ReadRegister() 177 assert(offset < m_sveregset.GetByteSize()); in ReadRegister() 185 assert(offset < m_sveregset.GetByteSize()); in ReadRegister()
|
D | RegisterContextPOSIXCore_ppc64le.cpp | 27 gpregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le() 34 fpregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le() 40 vmxregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le() 46 vsxregset.GetByteSize()); in RegisterContextCorePOSIX_ppc64le()
|
D | RegisterContextPOSIXCore_powerpc.cpp | 24 gpregset.GetByteSize()); in RegisterContextCorePOSIX_powerpc() 31 fpregset.GetByteSize()); in RegisterContextCorePOSIX_powerpc() 37 vregset.GetByteSize()); in RegisterContextCorePOSIX_powerpc()
|
D | ProcessElfCore.cpp | 66 if (data_sp && data_sp->GetByteSize() == header_size && in CreateInstance() 131 last_entry->GetByteSize() == last_entry->data.GetByteSize()) { in AddAddressRangeFromLoadSegment() 442 size_t len = data.GetByteSize() - offset; in ParseFreeBSDPrStatus() 507 while (offset < segment.GetByteSize()) { in parseSegment() 534 assert(thread_data.gpregset.GetByteSize() > 0); in parseFreeBSDNotes() 557 m_auxv = DataExtractor(note.data, 4, note.data.GetByteSize() - 4); in parseFreeBSDNotes() 640 if (thread_data.gpregset.GetByteSize() == 0) in parseNetBSDNotes() 666 if (thread_data.gpregset.GetByteSize() == 0) in parseNetBSDNotes() 752 if (thread_data.gpregset.GetByteSize() == 0) { in parseOpenBSDNotes() 784 assert(thread_data.gpregset.GetByteSize() > 0); in parseLinuxNotes() [all …]
|
D | ThreadElfCore.cpp | 271 if (GetSize(arch) > data.GetByteSize()) { in Parse() 274 GetSize(arch), data.GetByteSize()); in Parse() 341 if (GetSize(arch) > data.GetByteSize()) { in Parse() 344 GetSize(arch), data.GetByteSize()); in Parse() 407 if (GetSize(arch) > data.GetByteSize()) { in Parse() 410 GetSize(arch), data.GetByteSize()); in Parse()
|
/external/llvm-project/lldb/unittests/Utility/ |
D | RangeTest.cpp | 24 static_assert(std::is_same<uint32_t, decltype(r.GetByteSize())>::value, in TEST() 33 EXPECT_EQ(0U, r.GetByteSize()); in TEST() 41 EXPECT_EQ(5U, r.GetByteSize()); in TEST() 50 EXPECT_EQ(5U, r.GetByteSize()); in TEST() 72 EXPECT_EQ(5U, r.GetByteSize()); in TEST() 80 EXPECT_EQ(5U, r.GetByteSize()); in TEST() 85 EXPECT_EQ(5U, r.GetByteSize()); in TEST() 93 EXPECT_EQ(5U, r.GetByteSize()); in TEST()
|
/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | RegisterContextMemory.cpp | 109 data_sp->GetByteSize(), in ReadAllRegisterValues() 110 error) == data_sp->GetByteSize()) { in ReadAllRegisterValues() 127 data_sp->GetByteSize(), in WriteAllRegisterValues() 128 error) == data_sp->GetByteSize()) in WriteAllRegisterValues()
|
/external/llvm-project/lldb/source/Target/ |
D | Memory.cpp | 66 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Flush() 118 entry->GetByteSize() == byte_size) in RemoveInvalidRange() 143 AddrRange chunk_range(pos->first, pos->second->GetByteSize()); in Read() 204 curr_read_size = pos->second->GetByteSize(); in Read() 217 if (pos->second->GetByteSize() != cache_line_byte_size) in Read() 231 data_buffer_heap_up->GetByteSize(), error); in Read() 236 if (process_bytes_read < data_buffer_heap_up->GetByteSize()) { in Read() 237 dst_len -= data_buffer_heap_up->GetByteSize() - process_bytes_read; in Read() 274 const lldb::addr_t range_size = free_block.GetByteSize(); in ReserveBlock()
|
/external/llvm-project/lldb/source/API/ |
D | SBSection.cpp | 147 lldb::addr_t SBSection::GetByteSize() { in GetByteSize() function in SBSection 148 LLDB_RECORD_METHOD_NO_ARGS(lldb::addr_t, SBSection, GetByteSize); in GetByteSize() 152 return section_sp->GetByteSize(); in GetByteSize() 204 file_size = section_sp->GetByteSize(); in GetSectionData() 212 if (data_buffer_sp && data_buffer_sp->GetByteSize() > 0) { in GetSectionData() 283 file_addr + section_sp->GetByteSize()); in GetDescription() 313 LLDB_REGISTER_METHOD(lldb::addr_t, SBSection, GetByteSize, ()); in RegisterMethods()
|
/external/llvm-project/lldb/unittests/Symbol/ |
D | TestLineEntry.cpp | 82 ASSERT_EQ(range.GetByteSize(), (uint64_t)0x24); in TEST_F() 91 ASSERT_EQ(range.GetByteSize(), (uint64_t)0x49); in TEST_F() 100 ASSERT_EQ(range.GetByteSize(), (uint64_t)0x33); in TEST_F()
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteRegisterContext.cpp | 149 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in PrivateSetRegisterValue() 181 buffer_sp->GetByteSize())); in GetPrimordialRegister() 207 std::min(buffer_sp->GetByteSize(), m_reg_data.GetByteSize())); in ReadRegisterBytes() 208 if (buffer_sp->GetByteSize() >= m_reg_data.GetByteSize()) { in ReadRegisterBytes() 211 } else if (buffer_sp->GetByteSize() > 0) { in ReadRegisterBytes() 216 <= buffer_sp->GetByteSize()) { in ReadRegisterBytes() 233 m_reg_data.GetByteSize(), buffer_sp->GetByteSize()); in ReadRegisterBytes() 276 assert(m_reg_data.GetByteSize() >= in ReadRegisterBytes() 280 if (m_reg_data.GetByteSize() < reg_info->byte_offset + reg_info->byte_size) in ReadRegisterBytes() 330 assert(m_reg_data.GetByteSize() >= in WriteRegisterBytes() [all …]
|
/external/llvm-project/lldb/include/lldb/Target/ |
D | ProcessStructReader.h | 60 auto size = field_type.GetByteSize(nullptr); in ProcessStructReader() 69 auto total_size = struct_type.GetByteSize(nullptr); in ProcessStructReader() 90 if (offset + size > m_data.GetByteSize())
|
D | Memory.h | 81 uint32_t GetByteSize() const { return m_range.GetByteSize(); } in GetByteSize() function 92 uint32_t TotalChunks() const { return GetByteSize() / GetChunkSize(); } in TotalChunks()
|