/external/llvm-project/lldb/unittests/Utility/ |
D | DataExtractorTest.cpp | 54 TEST(DataExtractorTest, PeekData) { in TEST() argument 58 EXPECT_EQ(buffer + 0, E.PeekData(0, 0)); in TEST() 59 EXPECT_EQ(buffer + 0, E.PeekData(0, 4)); in TEST() 60 EXPECT_EQ(nullptr, E.PeekData(0, 5)); in TEST() 62 EXPECT_EQ(buffer + 2, E.PeekData(2, 0)); in TEST() 63 EXPECT_EQ(buffer + 2, E.PeekData(2, 2)); in TEST() 64 EXPECT_EQ(nullptr, E.PeekData(2, 3)); in TEST() 66 EXPECT_EQ(buffer + 4, E.PeekData(4, 0)); in TEST() 67 EXPECT_EQ(nullptr, E.PeekData(4, 1)); in TEST()
|
/external/llvm-project/lldb/source/Utility/ |
D | DataExtractor.cpp | 664 const uint8_t *src = PeekData(offset, length); in ExtractBytes() 683 const uint8_t *src = PeekData(offset, length); in CopyData() 719 const uint8_t *src = PeekData(src_offset, src_len); in CopyByteOrderedData() 788 const char *start = reinterpret_cast<const char *>(PeekData(*offset_ptr, 1)); in GetCStr() 818 const char *cstr = reinterpret_cast<const char *>(PeekData(*offset_ptr, len)); in GetCStr() 836 return reinterpret_cast<const char *>(PeekData(offset, 1)); in PeekCStr() 846 const uint8_t *src = PeekData(*offset_ptr, 1); in GetULEB128() 863 const uint8_t *src = PeekData(*offset_ptr, 1); in GetSLEB128() 881 const uint8_t *src = PeekData(*offset_ptr, 1); in Skip_LEB128()
|
/external/llvm-project/lldb/source/Host/openbsd/ |
D | Host.cpp | 85 const uint8_t *p = data.PeekData(offset, 1); in GetOpenBSDProcessArgs() 88 p = data.PeekData(offset, 1); in GetOpenBSDProcessArgs()
|
/external/llvm-project/lldb/source/Host/freebsd/ |
D | Host.cpp | 89 const uint8_t *p = data.PeekData(offset, 1); in GetFreeBSDProcessArgs() 92 p = data.PeekData(offset, 1); in GetFreeBSDProcessArgs()
|
/external/llvm-project/lldb/source/Host/netbsd/ |
D | HostNetBSD.cpp | 85 const uint8_t *p = data.PeekData(offset, 1); in GetNetBSDProcessArgs() 88 p = data.PeekData(offset, 1); in GetNetBSDProcessArgs()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | DataExtractor.h | 327 const uint8_t *ptr = PeekData(*offset_ptr, length); in GetData() 821 const uint8_t *PeekData(lldb::offset_t offset, lldb::offset_t length) const { in PeekData() function
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteRegisterContext.cpp | 114 m_reg_data.PeekData(reg_info->byte_offset, reg_byte_size)), in PrivateSetRegisterValue() 154 m_reg_data.PeekData(reg_info->byte_offset, reg_info->byte_size)); in PrivateSetRegisterValue() 313 {m_reg_data.PeekData(reg_info->byte_offset, reg_info->byte_size), in SetPrimordialRegister() 340 m_reg_data.PeekData(reg_info->byte_offset, reg_info->byte_size)); in WriteRegisterBytes() 637 restore_data.PeekData(register_offset, reg_byte_size); in WriteAllRegisterValues()
|
/external/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/ |
D | DisassemblerLLVMC.cpp | 150 m_opcode.SetOpcodeBytes(data.PeekData(data_offset, min_op_byte_size), in Decode() 183 const_cast<uint8_t *>(data.PeekData(data_offset, 1)); in Decode() 303 const uint8_t *bytes = data.PeekData(offset, inst_size); in CalculateMnemonicOperandsAndComment()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFFormValue.cpp | 140 m_value.data = data.PeekData(*offset_ptr, m_value.value.uval); in ExtractValue()
|
/external/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/ |
D | ObjectContainerBSDArchive.cpp | 361 const char *armag = (const char *)data.PeekData(offset, sizeof(ar_hdr)); in MagicBytesMatch()
|
/external/llvm-project/lldb/source/Core/ |
D | Value.cpp | 508 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, byte_size)); in GetValueAsData()
|
D | ValueObject.cpp | 990 s.Printf("%c", *data.PeekData(offset, 1)); in ReadPointedString() 1022 s.Printf("%c", *data.PeekData(offset, 1)); in ReadPointedString()
|
/external/llvm-project/lldb/source/Symbol/ |
D | Type.cpp | 444 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, byte_size)); in ReadFromMemory()
|
/external/llvm-project/lldb/source/Host/macosx/objcxx/ |
D | Host.mm | 520 const uint8_t *p = data.PeekData(offset, 1);
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
D | ObjectFileELF.cpp | 1116 if (const uint8_t *buf = data.PeekData(offset, note.n_descsz)) { in RefineModuleDetailsFromNote()
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/ |
D | ObjectFileMachO.cpp | 4851 const uint8_t *uuid_bytes = data.PeekData(offset, 16); in GetUUID()
|