Home
last modified time | relevance | path

Searched refs:offset_t (Results 1 – 25 of 173) sorted by relevance

1234567

/external/llvm-project/lldb/include/lldb/Utility/
DDataExtractor.h87 DataExtractor(const void *data, lldb::offset_t data_length,
134 DataExtractor(const DataExtractor &data, lldb::offset_t offset,
135 lldb::offset_t length, uint32_t target_byte_size = 1);
195 lldb::offset_t PutToLog(Log *log, lldb::offset_t offset,
196 lldb::offset_t length, uint64_t base_addr,
224 size_t ExtractBytes(lldb::offset_t offset, lldb::offset_t length,
243 uint64_t GetAddress(lldb::offset_t *offset_ptr) const;
245 uint64_t GetAddress_unchecked(lldb::offset_t *offset_ptr) const;
280 const char *GetCStr(lldb::offset_t *offset_ptr) const;
303 const char *GetCStr(lldb::offset_t *offset_ptr, lldb::offset_t len) const;
[all …]
DDataBufferHeap.h46 DataBufferHeap(lldb::offset_t n, uint8_t ch);
55 DataBufferHeap(const void *src, lldb::offset_t src_len);
70 lldb::offset_t GetByteSize() const override;
85 lldb::offset_t SetByteSize(lldb::offset_t byte_size);
96 void CopyData(const void *src, lldb::offset_t src_len);
/external/llvm-project/lldb/tools/debugserver/source/
DDNBDataRef.h44 typedef uint32_t offset_t; typedef
62 bool ValidOffset(offset_t offset) const { return BytesLeft(offset) > 0; } in ValidOffset()
63 bool ValidOffsetForDataOfSize(offset_t offset, uint32_t num_bytes) const { in ValidOffsetForDataOfSize()
89 uint8_t Get8(offset_t *offset_ptr) const;
90 uint16_t Get16(offset_t *offset_ptr) const;
91 uint32_t Get32(offset_t *offset_ptr) const;
92 uint64_t Get64(offset_t *offset_ptr) const;
93 uint32_t GetMax32(offset_t *offset_ptr, uint32_t byte_size) const;
94 uint64_t GetMax64(offset_t *offset_ptr, uint32_t byte_size) const;
95 uint64_t GetPointer(offset_t *offset_ptr) const;
[all …]
DDNBDataRef.cpp38 uint8_t DNBDataRef::Get8(offset_t *offset_ptr) const { in Get8()
48 uint16_t DNBDataRef::Get16(offset_t *offset_ptr) const { in Get16()
64 uint32_t DNBDataRef::Get32(offset_t *offset_ptr) const { in Get32()
79 uint64_t DNBDataRef::Get64(offset_t *offset_ptr) const { in Get64()
97 uint32_t DNBDataRef::GetMax32(offset_t *offset_ptr, uint32_t byte_size) const { in GetMax32()
119 uint64_t DNBDataRef::GetMax64(offset_t *offset_ptr, uint32_t size) const { in GetMax64()
144 uint64_t DNBDataRef::GetPointer(offset_t *offset_ptr) const { in GetPointer()
150 const char *DNBDataRef::GetCStr(offset_t *offset_ptr, in GetCStr()
166 const uint8_t *DNBDataRef::GetData(offset_t *offset_ptr, in GetData()
177 uint64_t DNBDataRef::Get_ULEB128(offset_t *offset_ptr) const { in Get_ULEB128()
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
DObjectContainerBSDArchive.h28 lldb::offset_t data_offset,
30 lldb::offset_t offset, lldb::offset_t length);
45 lldb::offset_t data_offset, const lldb_private::FileSpec *file,
46 lldb::offset_t offset, lldb::offset_t length);
50 lldb::offset_t data_offset,
51 lldb::offset_t file_offset,
52 lldb::offset_t length,
81 lldb::offset_t Extract(const lldb_private::DataExtractor &data,
82 lldb::offset_t offset);
102 lldb::offset_t file_offset;
[all …]
DObjectContainerBSDArchive.cpp60 lldb::offset_t
62 lldb::offset_t offset) { in Extract()
140 lldb::offset_t file_offset, in Archive()
150 lldb::offset_t offset = 0; in ParseObjects()
201 const llvm::sys::TimePoint<> &time, lldb::offset_t file_offset) { in FindCachedArchive()
241 const llvm::sys::TimePoint<> &time, lldb::offset_t file_offset, in ParseAndCacheArchiveForFile()
290 lldb::offset_t data_offset, const FileSpec *file, in CreateInstance()
291 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance()
320 lldb::offset_t archive_data_offset = 0; in CreateInstance()
372 lldb::offset_t data_offset, const lldb_private::FileSpec *file, in ObjectContainerBSDArchive()
[all …]
/external/llvm-project/lldb/source/Utility/
DDataExtractor.cpp43 static inline uint16_t ReadInt16(const unsigned char *ptr, offset_t offset) { in ReadInt16()
50 offset_t offset = 0) { in ReadInt32()
57 offset_t offset = 0) { in ReadInt64()
70 offset_t offset) { in ReadSwapInt16()
77 offset_t offset) { in ReadSwapInt32()
84 offset_t offset) { in ReadSwapInt64()
129 DataExtractor::DataExtractor(const void *data, offset_t length, in DataExtractor()
158 DataExtractor::DataExtractor(const DataExtractor &data, offset_t offset, in DataExtractor()
159 offset_t length, uint32_t target_byte_size /*=1*/) in DataExtractor()
165 offset_t bytes_available = data.GetByteSize() - offset; in DataExtractor()
[all …]
/external/llvm-project/lldb/include/lldb/API/
DSBData.h42 float GetFloat(lldb::SBError &error, lldb::offset_t offset);
44 double GetDouble(lldb::SBError &error, lldb::offset_t offset);
46 long double GetLongDouble(lldb::SBError &error, lldb::offset_t offset);
48 lldb::addr_t GetAddress(lldb::SBError &error, lldb::offset_t offset);
50 uint8_t GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset);
52 uint16_t GetUnsignedInt16(lldb::SBError &error, lldb::offset_t offset);
54 uint32_t GetUnsignedInt32(lldb::SBError &error, lldb::offset_t offset);
56 uint64_t GetUnsignedInt64(lldb::SBError &error, lldb::offset_t offset);
58 int8_t GetSignedInt8(lldb::SBError &error, lldb::offset_t offset);
60 int16_t GetSignedInt16(lldb::SBError &error, lldb::offset_t offset);
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
DObjectFileWasm.h34 lldb::offset_t data_offset, const FileSpec *file,
35 lldb::offset_t file_offset, lldb::offset_t length);
44 lldb::offset_t data_offset,
45 lldb::offset_t file_offset,
46 lldb::offset_t length,
116 lldb::offset_t data_offset, const FileSpec *file,
117 lldb::offset_t offset, lldb::offset_t length);
124 bool DecodeNextSection(lldb::offset_t *offset_ptr);
129 DataExtractor ReadImageData(lldb::offset_t offset, uint32_t size);
132 lldb::offset_t offset;
/external/llvm-project/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/
DObjectContainerUniversalMachO.h20 lldb::offset_t data_offset,
22 lldb::offset_t offset, lldb::offset_t length);
37 lldb::offset_t data_offset, const lldb_private::FileSpec *file,
38 lldb::offset_t offset, lldb::offset_t length);
42 lldb::offset_t data_offset,
43 lldb::offset_t file_offset,
44 lldb::offset_t length,
DObjectContainerUniversalMachO.cpp47 lldb::offset_t data_offset, const FileSpec *file, in CreateInstance()
48 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance()
67 lldb::offset_t offset = 0; in MagicBytesMatch()
74 lldb::offset_t data_offset, const FileSpec *file, in ObjectContainerUniversalMachO()
75 lldb::offset_t file_offset, lldb::offset_t length) in ObjectContainerUniversalMachO()
99 lldb::offset_t offset = 0; in ParseHeader()
199 lldb::offset_t data_offset = 0; in GetObjectFile()
217 lldb::offset_t data_offset, lldb::offset_t file_offset, in GetModuleSpecifications()
218 lldb::offset_t file_size, lldb_private::ModuleSpecList &specs) { in GetModuleSpecifications()
229 const lldb::offset_t slice_file_offset = fat_arch.offset + file_offset; in GetModuleSpecifications()
/external/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
DObjectFileBreakpad.h31 lldb::offset_t data_offset, const FileSpec *file,
32 lldb::offset_t file_offset, lldb::offset_t length);
41 lldb::offset_t data_offset,
42 lldb::offset_t file_offset,
43 lldb::offset_t length,
99 lldb::DataBufferSP &data_sp, lldb::offset_t data_offset,
100 const FileSpec *file, lldb::offset_t offset,
101 lldb::offset_t length, ArchSpec arch, UUID uuid);
DObjectFileBreakpad.cpp65 const ModuleSP &module_sp, DataBufferSP &data_sp, offset_t data_offset, in CreateInstance()
66 const FileSpec *file, offset_t file_offset, offset_t length) { in CreateInstance()
98 const FileSpec &file, DataBufferSP &data_sp, offset_t data_offset, in GetModuleSpecifications()
99 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications()
112 offset_t data_offset, in ObjectFileBreakpad()
113 const FileSpec *file, offset_t offset, in ObjectFileBreakpad()
114 offset_t length, ArchSpec arch, in ObjectFileBreakpad()
135 offset_t section_start; in CreateSections()
142 offset_t end_offset = end_ptr - m_data.GetDataStart(); in CreateSections()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
DObjectFilePDB.h35 lldb::offset_t data_offset, const FileSpec *file,
36 lldb::offset_t file_offset, lldb::offset_t length);
45 lldb::offset_t data_offset,
46 lldb::offset_t file_offset,
47 lldb::offset_t length,
95 lldb::offset_t data_offset, const FileSpec *file,
96 lldb::offset_t offset, lldb::offset_t length);
DObjectFilePDB.cpp96 offset_t data_offset, const FileSpec *file, in CreateInstance()
97 offset_t file_offset, offset_t length) { in CreateInstance()
113 const FileSpec &file, DataBufferSP &data_sp, offset_t data_offset, in GetModuleSpecifications()
114 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications()
164 offset_t data_offset, const FileSpec *file, in ObjectFilePDB()
165 offset_t offset, offset_t length) in ObjectFilePDB()
/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.h25 lldb::offset_t data_offset,
26 const lldb_private::FileSpec *file, lldb::offset_t offset,
27 lldb::offset_t length);
45 lldb::offset_t data_offset, const lldb_private::FileSpec *file,
46 lldb::offset_t file_offset, lldb::offset_t length);
54 lldb::offset_t data_offset,
55 lldb::offset_t file_offset,
56 lldb::offset_t length,
135 lldb::offset_t *data_offset_ptr,
149 lldb::offset_t lc_offset); // Offset to the first load command
[all …]
/external/llvm-project/lldb/source/API/
DSBData.cpp119 float SBData::GetFloat(lldb::SBError &error, lldb::offset_t offset) { in GetFloat()
120 LLDB_RECORD_METHOD(float, SBData, GetFloat, (lldb::SBError &, lldb::offset_t), in GetFloat()
135 double SBData::GetDouble(lldb::SBError &error, lldb::offset_t offset) { in GetDouble()
137 (lldb::SBError &, lldb::offset_t), error, offset); in GetDouble()
151 long double SBData::GetLongDouble(lldb::SBError &error, lldb::offset_t offset) { in GetLongDouble()
153 (lldb::SBError &, lldb::offset_t), error, offset); in GetLongDouble()
167 lldb::addr_t SBData::GetAddress(lldb::SBError &error, lldb::offset_t offset) { in GetAddress()
169 (lldb::SBError &, lldb::offset_t), error, offset); in GetAddress()
183 uint8_t SBData::GetUnsignedInt8(lldb::SBError &error, lldb::offset_t offset) { in GetUnsignedInt8()
185 (lldb::SBError &, lldb::offset_t), error, offset); in GetUnsignedInt8()
[all …]
/external/llvm-project/lldb/include/lldb/Core/
DSection.h105 lldb::addr_t vm_size, lldb::offset_t file_offset,
106 lldb::offset_t file_size, uint32_t log2align, uint32_t flags,
116 lldb::addr_t vm_size, lldb::offset_t file_offset,
117 lldb::offset_t file_size, uint32_t log2align, uint32_t flags,
140 lldb::offset_t GetFileOffset() const { return m_file_offset; } in GetFileOffset()
142 void SetFileOffset(lldb::offset_t file_offset) { in SetFileOffset()
146 lldb::offset_t GetFileSize() const { return m_file_size; } in GetFileSize()
148 void SetFileSize(lldb::offset_t file_size) { m_file_size = file_size; } in SetFileSize()
210 lldb::offset_t GetSectionData(void *dst, lldb::offset_t dst_len,
211 lldb::offset_t offset = 0);
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp26 lldb::offset_t *offset, uint64_t *value, in GetMaxU64()
28 const lldb::offset_t saved_offset = *offset; in GetMaxU64()
34 lldb::offset_t *offset, uint64_t *value, in GetMaxU64()
36 lldb::offset_t saved_offset = *offset; in GetMaxU64()
48 lldb::offset_t *offset, int64_t *value, in GetMaxS64()
50 const lldb::offset_t saved_offset = *offset; in GetMaxS64()
56 lldb::offset_t *offset, int64_t *value, in GetMaxS64()
58 lldb::offset_t saved_offset = *offset; in GetMaxS64()
99 lldb::offset_t offset = 0; in ParseHeaderExtension()
115 lldb::offset_t *offset) { in Parse()
[all …]
/external/llvm-project/lldb/include/lldb/Symbol/
DObjectFile.h116 lldb::offset_t file_offset, lldb::offset_t length,
117 const lldb::DataBufferSP &data_sp, lldb::offset_t data_offset);
163 lldb::offset_t file_offset, lldb::offset_t file_size,
164 lldb::DataBufferSP &data_sp, lldb::offset_t &data_offset);
187 GetModuleSpecifications(const FileSpec &file, lldb::offset_t file_offset,
188 lldb::offset_t file_size, ModuleSpecList &specs,
193 lldb::offset_t data_offset,
194 lldb::offset_t file_offset,
195 lldb::offset_t file_size,
625 size_t GetData(lldb::offset_t offset, size_t length,
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/JIT/
DObjectFileJIT.h35 lldb::offset_t data_offset, const lldb_private::FileSpec *file,
36 lldb::offset_t file_offset, lldb::offset_t length);
44 lldb::offset_t data_offset,
45 lldb::offset_t file_offset,
46 lldb::offset_t length,
83 lldb::offset_t section_offset, void *dst,
/external/llvm-project/lldb/include/lldb/
Dlldb-private-interfaces.h41 lldb::offset_t data_offset, const FileSpec *file, lldb::offset_t offset,
42 lldb::offset_t length);
45 lldb::offset_t data_offset, lldb::offset_t file_offset,
46 lldb::offset_t length, ModuleSpecList &module_specs);
49 lldb::offset_t data_offset,
51 lldb::offset_t file_offset,
52 lldb::offset_t length);
/external/llvm-project/lldb/unittests/Utility/
DDataExtractorTest.cpp21 lldb::offset_t offset; in TEST()
74 lldb::offset_t offset = 1; in TEST()
83 lldb::offset_t offset = 1; in TEST()
92 lldb::offset_t offset = 1; in TEST()
101 lldb::offset_t offset = 1; in TEST()
110 lldb::offset_t offset = 0; in TEST()
121 lldb::offset_t offset; in TEST()
154 lldb::offset_t offset; in TEST()
195 lldb::offset_t offset; in TEST()
230 lldb::offset_t offset; in TEST()
[all …]
/external/llvm-project/lldb/bindings/interface/
DSBData.i46 GetFloat (lldb::SBError& error, lldb::offset_t offset);
49 GetDouble (lldb::SBError& error, lldb::offset_t offset);
52 GetLongDouble (lldb::SBError& error, lldb::offset_t offset);
55 GetAddress (lldb::SBError& error, lldb::offset_t offset);
58 GetUnsignedInt8 (lldb::SBError& error, lldb::offset_t offset);
61 GetUnsignedInt16 (lldb::SBError& error, lldb::offset_t offset);
64 GetUnsignedInt32 (lldb::SBError& error, lldb::offset_t offset);
67 GetUnsignedInt64 (lldb::SBError& error, lldb::offset_t offset);
70 GetSignedInt8 (lldb::SBError& error, lldb::offset_t offset);
73 GetSignedInt16 (lldb::SBError& error, lldb::offset_t offset);
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDataExtractor.h22 DWARFDataExtractor(const DWARFDataExtractor &data, lldb::offset_t offset, in DWARFDataExtractor()
23 lldb::offset_t length) in DWARFDataExtractor()
26 uint64_t GetDWARFInitialLength(lldb::offset_t *offset_ptr) const;
28 dw_offset_t GetDWARFOffset(lldb::offset_t *offset_ptr) const;

1234567