Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp54 file_offset = 0; in Clear()
62 printf("file_offset = 0x%16.16" PRIx64 " (%" PRIu64 ")\n", file_offset, in ExtractFromThin()
63 file_offset); in ExtractFromThin()
70 lldb::offset_t file_offset, in ExtractFromThin()
73 : m_arch(arch), m_modification_time(time), m_file_offset(file_offset), in ExtractFromThin()
130 obj.file_offset = child.getDataOffset(); in Extract()
181 const llvm::sys::TimePoint<> &time, lldb::offset_t file_offset) { in Extract()
193 else if (file_offset != LLDB_INVALID_OFFSET && in Extract()
194 pos->second->GetFileOffset() != file_offset) in Extract()
208 Archive(const lldb_private::ArchSpec & arch,const llvm::sys::TimePoint<> & time,lldb::offset_t file_offset,lldb_private::DataExtractor & data,ArchiveType archive_type) Archive() argument
312 FindCachedArchive(const FileSpec & file,const ArchSpec & arch,const llvm::sys::TimePoint<> & time,lldb::offset_t file_offset) FindCachedArchive() argument
352 ParseAndCacheArchiveForFile(const FileSpec & file,const ArchSpec & arch,const llvm::sys::TimePoint<> & time,lldb::offset_t file_offset,DataExtractor & data,ArchiveType archive_type) ParseAndCacheArchiveForFile() argument
394 CreateInstance(const lldb::ModuleSP & module_sp,DataBufferSP & data_sp,lldb::offset_t data_offset,const FileSpec * file,lldb::offset_t file_offset,lldb::offset_t length) CreateInstance() argument
485 ObjectContainerBSDArchive(const lldb::ModuleSP & module_sp,DataBufferSP & data_sp,lldb::offset_t data_offset,const lldb_private::FileSpec * file,lldb::offset_t file_offset,lldb::offset_t size,ArchiveType archive_type) ObjectContainerBSDArchive() argument
538 lldb::offset_t file_offset = 0; GetObjectFile() local
562 GetModuleSpecifications(const lldb_private::FileSpec & file,lldb::DataBufferSP & data_sp,lldb::offset_t data_offset,lldb::offset_t file_offset,lldb::offset_t file_size,lldb_private::ModuleSpecList & specs) GetModuleSpecifications() argument
[all...]
H A DObjectContainerBSDArchive.h58 lldb::offset_t file_offset,
100 lldb::offset_t file_offset = 0;
114 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset,
125 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset);
129 const llvm::sys::TimePoint<> &mod_time, lldb::offset_t file_offset,
109 lldb::offset_t file_offset = 0; global() member
/freebsd/sys/i386/linux/
H A Dimgact_linux.c63 unsigned long virtual_offset, file_offset; in exec_linux_imgact() local
77 file_offset = 1024; in exec_linux_imgact()
81 file_offset = 0; in exec_linux_imgact()
130 if (file_offset & PAGE_MASK) { in exec_linux_imgact()
132 printf("imgact: Non page aligned binary %lu\n", file_offset); in exec_linux_imgact()
144 error = vn_rdwr(UIO_READ, imgp->vp, (void *)vmaddr, file_offset, in exec_linux_imgact()
164 printf("imgact: Page aligned binary %lu\n", file_offset); in exec_linux_imgact()
173 MAP_PRIVATE | MAP_FIXED, OBJT_VNODE, imgp->vp, file_offset); in exec_linux_imgact()
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c101 uint64_t file_offset; member
108 return (f1->file_offset - f2->file_offset); in offset_cmp()
118 struct file_offset_head file_offset; member
127 uint64_t *file_offset) in get_file_offset() argument
134 RB_FOREACH_SAFE(offset, file_offset_head, &priv_user->file_offset, in get_file_offset()
138 *file_offset = offset->file_offset + offset->count * in get_file_offset()
142 &priv_user->file_offset, offset); in get_file_offset()
156 uint64_t file_offset) in put_file_offset() argument
161 offset->file_offset = file_offset; in put_file_offset()
165 RB_INSERT(file_offset_head, &priv_user->file_offset, offset); in put_file_offset()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DObjectFile.cpp37 lldb::offset_t file_offset, lldb::offset_t file_size, in CreateObjectFromContainer() argument
45 module_sp, data_sp, data_offset, file, file_offset, file_size)); in CreateObjectFromContainer()
54 lldb::offset_t file_offset, lldb::offset_t file_size, in FindPlugin() argument
60 static_cast<const void *>(file), static_cast<uint64_t>(file_offset), in FindPlugin()
76 module_sp, file, file_offset, file_size, data_sp, data_offset); in FindPlugin()
86 file->GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
113 module_sp, file, file_offset, file_size, data_sp, data_offset); in FindPlugin()
119 archive_file.GetPath(), g_initial_bytes_to_read, file_offset); in FindPlugin()
133 file, file_offset, file_size)); in FindPlugin()
142 module_sp, file, file_offset, file_size, data_sp, data_offset); in FindPlugin()
[all …]
H A DObjectContainer.cpp20 lldb::offset_t file_offset, in ObjectContainer() argument
26 m_offset(file_offset), m_length(length) { in ObjectContainer()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DZipFile.cpp109 lldb::offset_t &file_offset, lldb::offset_t &file_size) { in GetFile() argument
126 file_offset = file_data - zip_data->GetBytes(); in GetFile()
132 const llvm::StringRef file_path, lldb::offset_t &file_offset, in FindFile() argument
154 return GetFile(zip_data, cd->local_file_header_offset, file_offset, in FindFile()
174 lldb::offset_t &file_offset, lldb::offset_t &file_size) { in Find() argument
179 return FindFile(zip_data, eocd, file_path, file_offset, file_size); in Find()
/freebsd/sys/kern/
H A Dimgact_aout.c182 unsigned long file_offset; in exec_aout_imgact() local
208 file_offset = PAGE_SIZE; in exec_aout_imgact()
211 file_offset = 0; in exec_aout_imgact()
216 file_offset = 0; in exec_aout_imgact()
227 file_offset = 0; in exec_aout_imgact()
304 file_offset, in exec_aout_imgact()
318 file_offset + a_out->a_text, in exec_aout_imgact()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.h29 lldb::offset_t file_offset, lldb::offset_t length) in ObjectFileCOFF() argument
30 : ObjectFile(module_sp, file, file_offset, length, data_sp, data_offset), in ObjectFileCOFF()
47 lldb::offset_t file_offset, lldb::offset_t length);
57 lldb::offset_t file_offset,
H A DObjectFileCOFF.cpp49 offset_t file_offset, offset_t length) { in CreateInstance() argument
53 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
69 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
96 module_sp, data_sp, data_offset, file, file_offset, in CreateInstance()
109 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JSON/
H A DObjectFileJSON.cpp41 offset_t file_offset, offset_t length) { in CreateInstance() argument
43 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
54 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
92 return new ObjectFileJSON(module_sp, data_sp, data_offset, file, file_offset, in CreateInstance()
106 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
112 data_sp = MapFileData(file, length, file_offset); in GetModuleSpecifications()
H A DObjectFileJSON.h32 lldb::offset_t file_offset, lldb::offset_t length);
42 lldb::offset_t file_offset,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DObjectFileBreakpad.cpp62 const FileSpec *file, offset_t file_offset, offset_t length) { in CreateInstance() argument
64 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
76 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
83 file_offset, length, std::move(header->arch), in CreateInstance()
95 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
H A DObjectFileBreakpad.h32 lldb::offset_t file_offset, lldb::offset_t length);
42 lldb::offset_t file_offset,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/
H A DObjectContainerMachOFileset.cpp53 lldb::offset_t file_offset, lldb::offset_t length) { in CreateInstance() argument
63 module_sp, data_sp, data_offset, file, file_offset, length); in CreateInstance()
175 lldb::offset_t file_offset, std::vector<Entry> &entries) { in ParseHeader() argument
186 ObjectFile::MapFileData(file, header_and_lc_size, file_offset); in ParseHeader()
222 lldb::offset_t data_offset, lldb::offset_t file_offset, in GetModuleSpecifications() argument
231 if (ParseHeader(data, file, file_offset, entries)) { in GetModuleSpecifications()
233 const lldb::offset_t entry_offset = entry.fileoff + file_offset; in GetModuleSpecifications()
H A DObjectContainerMachOFileset.h54 lldb::offset_t file_offset,
84 lldb::offset_t file_offset,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp94 offset_t file_offset, offset_t length) { in CreateInstance() argument
98 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
117 data_sp = MapFileData(*file, length, file_offset); in CreateInstance()
128 module_sp, data_sp, data_offset, file, file_offset, length)); in CreateInstance()
221 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
303 offset_t file_offset = sect_info.offset & 0xffffffff; in CreateSections() local
304 addr_t vm_addr = file_offset; in CreateSections()
336 file_offset, // Offset of this section in the file. in CreateSections()
H A DObjectFileWasm.h36 lldb::offset_t file_offset, lldb::offset_t length);
46 lldb::offset_t file_offset,
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSection.h119 lldb::addr_t vm_size, lldb::offset_t file_offset,
130 lldb::addr_t vm_size, lldb::offset_t file_offset,
156 void SetFileOffset(lldb::offset_t file_offset) { in SetFileOffset() argument
157 m_file_offset = file_offset; in SetFileOffset()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DObjectFile.h100 lldb::offset_t file_offset, lldb::offset_t length,
147 lldb::offset_t file_offset, lldb::offset_t file_size,
171 GetModuleSpecifications(const FileSpec &file, lldb::offset_t file_offset,
178 lldb::offset_t file_offset,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp97 offset_t file_offset, offset_t length) { in CreateInstance() argument
99 module_sp, data_sp, data_offset, file, file_offset, length); in CreateInstance()
114 offset_t file_offset, offset_t length, ModuleSpecList &specs) { in GetModuleSpecifications() argument
H A DObjectFilePDB.h36 lldb::offset_t file_offset, lldb::offset_t length);
46 lldb::offset_t file_offset,
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DObjectFileJIT.h54 lldb::offset_t file_offset, lldb::offset_t length);
63 lldb::offset_t file_offset,
/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dfsync_integrity.c331 int file_offset = chunk_start + chunk_offset; in verify_file() local
335 chunk_idx, chunk_offset, file_offset); in verify_file()
344 chunk_idx, chunk_offset, file_offset); in verify_file()
H A Dtxg_integrity.c369 int file_offset = chunk_start + chunk_offset; in verify_file() local
373 chunk_idx, chunk_offset, file_offset); in verify_file()
382 chunk_idx, chunk_offset, file_offset); in verify_file()

12