Home
last modified time | relevance | path

Searched refs:PeekData (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DDataExtractorTest.cpp54 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/
DDataExtractor.cpp664 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/
DHost.cpp85 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/
DHost.cpp89 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/
DHostNetBSD.cpp85 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/
DDataExtractor.h327 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/
DGDBRemoteRegisterContext.cpp114 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/
DDisassemblerLLVMC.cpp150 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/
DDWARFFormValue.cpp140 m_value.data = data.PeekData(*offset_ptr, m_value.value.uval); in ExtractValue()
/external/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
DObjectContainerBSDArchive.cpp361 const char *armag = (const char *)data.PeekData(offset, sizeof(ar_hdr)); in MagicBytesMatch()
/external/llvm-project/lldb/source/Core/
DValue.cpp508 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, byte_size)); in GetValueAsData()
DValueObject.cpp990 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/
DType.cpp444 uint8_t *dst = const_cast<uint8_t *>(data.PeekData(0, byte_size)); in ReadFromMemory()
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHost.mm520 const uint8_t *p = data.PeekData(offset, 1);
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp1116 if (const uint8_t *buf = data.PeekData(offset, note.n_descsz)) { in RefineModuleDetailsFromNote()
/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp4851 const uint8_t *uuid_bytes = data.PeekData(offset, 16); in GetUUID()