Home
last modified time | relevance | path

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

12

/trueos/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/
HDObjectContainerBSDArchive.cpp127 lldb::offset_t file_offset, in Archive() argument
132 m_file_offset (file_offset), in Archive()
200 …ive (const FileSpec &file, const ArchSpec &arch, const TimeValue &time, lldb::offset_t file_offset) in FindCachedArchive() argument
213 else if (file_offset != LLDB_INVALID_OFFSET && pos->second->GetFileOffset() != file_offset) in FindCachedArchive()
247 lldb::offset_t file_offset, in ParseAndCacheArchiveForFile() argument
251 shared_ptr archive_sp(new Archive (arch, time, file_offset, data)); in ParseAndCacheArchiveForFile()
320 lldb::offset_t file_offset, in CreateInstance() argument
338 file, (uint64_t) file_offset, (uint64_t) length); in CreateInstance()
342 DataBufferSP archive_data_sp (file->MemoryMapFileContents(file_offset, length)); in CreateInstance()
348 file_offset)); in CreateInstance()
[all …]
HDObjectContainerBSDArchive.h53 lldb::offset_t file_offset,
140 lldb::offset_t file_offset);
146 lldb::offset_t file_offset,
151 lldb::offset_t file_offset,
/trueos/contrib/llvm/tools/lldb/source/Symbol/
HDObjectFile.cpp33 lldb::offset_t file_offset, in FindPlugin() argument
45 file, (uint64_t) file_offset, (uint64_t) file_size); in FindPlugin()
62 …p(create_object_container_callback(module_sp, data_sp, data_offset, file, file_offset, file_size)); in FindPlugin()
77 data_sp = file->ReadFileContents(file_offset, std::min<size_t>(512, file_size)); in FindPlugin()
104 …p(create_object_container_callback(module_sp, data_sp, data_offset, file, file_offset, file_size)); in FindPlugin()
114 data_sp = archive_file.ReadFileContents(file_offset, 512); in FindPlugin()
126 …reset (create_object_file_callback(module_sp, data_sp, data_offset, file, file_offset, file_size)); in FindPlugin()
136 …p(create_object_container_callback(module_sp, data_sp, data_offset, file, file_offset, file_size)); in FindPlugin()
188 lldb::offset_t file_offset, in GetModuleSpecifications() argument
192 DataBufferSP data_sp (file.ReadFileContents(file_offset, 512)); in GetModuleSpecifications()
[all …]
/trueos/sys/i386/linux/
HDimgact_linux.c66 unsigned long virtual_offset, file_offset; in exec_linux_imgact() local
80 file_offset = 1024; in exec_linux_imgact()
84 file_offset = 0; in exec_linux_imgact()
133 if (file_offset & PAGE_MASK) { in exec_linux_imgact()
135 printf("imgact: Non page aligned binary %lu\n", file_offset); in exec_linux_imgact()
147 error = vn_rdwr(UIO_READ, imgp->vp, (void *)vmaddr, file_offset, in exec_linux_imgact()
170 printf("imgact: Page aligned binary %lu\n", file_offset); in exec_linux_imgact()
182 imgp->vp, file_offset); in exec_linux_imgact()
/trueos/sys/compat/svr4/
HDimgact_svr4.c68 unsigned long virtual_offset, file_offset; local
82 file_offset = 1024;
86 file_offset = 0;
134 if (file_offset & PAGE_MASK) {
136 printf("imgact: Non page aligned binary %lu\n", file_offset);
148 error = vn_rdwr(UIO_READ, imgp->vp, (void *)vmaddr, file_offset,
171 printf("imgact: Page aligned binary %lu\n", file_offset);
182 OBJT_VNODE, imgp->vp, file_offset);
/trueos/sys/kern/
HDimgact_gzip.c61 u_long virtual_offset, file_offset, file_end, bss_size; member
168 gz->file_offset = PAGE_SIZE; in do_aout_hdr()
171 gz->file_offset = 0; in do_aout_hdr()
176 gz->file_offset = 0; in do_aout_hdr()
184 gz->file_offset = 0; in do_aout_hdr()
224 gz->file_end = gz->file_offset + gz->a_out.a_text + gz->a_out.a_data; in do_aout_hdr()
358 if (gz->file_offset == 0) { in Flush()
365 if (gz->output < gz->file_offset && in Flush()
366 gz->output + siz > gz->file_offset) { in Flush()
367 i = min(siz, gz->file_offset - gz->output); in Flush()
[all …]
HDimgact_aout.c168 unsigned long file_offset; in exec_aout_imgact() local
192 file_offset = PAGE_SIZE; in exec_aout_imgact()
195 file_offset = 0; in exec_aout_imgact()
200 file_offset = 0; in exec_aout_imgact()
211 file_offset = 0; in exec_aout_imgact()
288 file_offset, in exec_aout_imgact()
301 file_offset + a_out->a_text, in exec_aout_imgact()
/trueos/contrib/gcc/
HDmips-tfile.c1496 static unsigned long file_offset = 0; /* current file offset */ variable
3792 file_offset = sizeof (symbolic_header) + orig_file_header.f_symptr; in update_headers()
3878 file_offset = ALIGN_SYMTABLE_OFFSET (file_offset); in update_headers()
3882 symbolic_header.cbLineOffset = file_offset; in update_headers()
3883 file_offset += i; in update_headers()
3884 file_offset = ALIGN_SYMTABLE_OFFSET (file_offset); in update_headers()
3890 symbolic_header.cbOptOffset = file_offset; in update_headers()
3891 file_offset += i * sizeof (OPTR); in update_headers()
3892 file_offset = ALIGN_SYMTABLE_OFFSET (file_offset); in update_headers()
3898 symbolic_header.cbDnOffset = file_offset; in update_headers()
[all …]
/trueos/contrib/binutils/include/aout/
HDranlib.h53 unsigned long file_offset; member
62 #define ran_off file_offset
/trueos/contrib/gdb/include/
HDoasys.h62 file_ptr file_offset; member
77 bfd_byte file_offset[4]; member
90 bfd_byte file_offset[4]; member
/trueos/contrib/binutils/bfd/
HDbfdwin.c145 file_ptr file_offset, offset2; in bfd_get_file_window() local
167 file_offset = offset - offset2; in bfd_get_file_window()
168 real_size = offset + size - file_offset; in bfd_get_file_window()
183 fd, file_offset); in bfd_get_file_window()
HDlibieee.h118 file_ptr file_offset; member
/trueos/contrib/llvm/tools/lldb/include/lldb/Core/
HDSection.h120 lldb::offset_t file_offset,
133 lldb::offset_t file_offset,
176 SetFileOffset (lldb::offset_t file_offset) in SetFileOffset() argument
178 m_file_offset = file_offset; in SetFileOffset()
/trueos/contrib/llvm/tools/lldb/include/lldb/Symbol/
HDObjectFile.h92 lldb::offset_t file_offset,
153 lldb::offset_t file_offset,
184 lldb::offset_t file_offset,
192 lldb::offset_t file_offset,
HDObjectContainer.h52 lldb::offset_t file_offset, in ObjectContainer() argument
58 m_offset (file_offset), in ObjectContainer()
HDDWARFCallFrameInfo.h114 GetFDEEntryByFileAddress (lldb::addr_t file_offset, FDEEntryMap::Entry& fde_entry);
/trueos/contrib/llvm/tools/lldb/include/lldb/
HDlldb-private-interfaces.h23 …ldb::DataBufferSP& data_sp, lldb::offset_t data_offset, lldb::offset_t file_offset, lldb::offset_t…
24 …a_sp, lldb::offset_t data_offset, const FileSpec* file, lldb::offset_t file_offset, lldb::offset_t…
/trueos/sys/dev/usb/storage/
HDustorage_fs.c943 uint64_t file_offset; in ustorage_fs_verify() local
968 file_offset = lba; in ustorage_fs_verify()
969 file_offset <<= 9; in ustorage_fs_verify()
1376 uint64_t file_offset; in ustorage_fs_read() local
1409 file_offset = lba; in ustorage_fs_read()
1410 file_offset <<= 9; in ustorage_fs_read()
1412 sc->sc_transfer.data_ptr = currlun->memory_image + file_offset; in ustorage_fs_read()
1428 uint64_t file_offset; in ustorage_fs_write() local
1473 file_offset = lba; in ustorage_fs_write()
1474 file_offset <<= 9; in ustorage_fs_write()
[all …]
/trueos/contrib/llvm/tools/lldb/source/Host/common/
HDFileSpec.cpp791 FileSpec::MemoryMapFileContents(off_t file_offset, size_t file_size) const in MemoryMapFileContents() argument
797 … const size_t mapped_length = mmap_data->MemoryMapFromFileSpec (this, file_offset, file_size); in MemoryMapFileContents()
818 FileSpec::ReadFileContents (off_t file_offset, void *dst, size_t dst_len, Error *error_ptr) const in ReadFileContents() argument
829 off_t file_offset_after_seek = file_offset; in ReadFileContents()
855 FileSpec::ReadFileContents (off_t file_offset, size_t file_size, Error *error_ptr) const in ReadFileContents() argument
867 error = file.Read (file_size, file_offset, null_terminate, data_sp); in ReadFileContents()
/trueos/contrib/llvm/tools/lldb/source/Core/
HDSection.cpp26 lldb::offset_t file_offset, in Section() argument
38 m_file_offset (file_offset), in Section()
57 lldb::offset_t file_offset, in Section() argument
69 m_file_offset (file_offset), in Section()
/trueos/contrib/llvm/tools/lldb/source/API/
HDSBSection.cpp218 const uint64_t file_offset = sect_file_offset + offset; in GetSectionData() local
228 … DataBufferSP data_buffer_sp (objfile->GetFileSpec().ReadFileContents (file_offset, file_size)); in GetSectionData()
/trueos/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
HDObjectFileELF.cpp223 lldb::offset_t file_offset, in CreateInstance() argument
228 data_sp = file->MemoryMapFileContents(file_offset, length); in CreateInstance()
239 data_sp = file->MemoryMapFileContents(file_offset, length); in CreateInstance()
246 …FileELF> objfile_ap(new ObjectFileELF(module_sp, data_sp, data_offset, file, file_offset, length)); in CreateInstance()
348 lldb::offset_t file_offset, in GetModuleSpecifications() argument
383 data_sp = file.MemoryMapFileContents (file_offset, section_header_end); in GetModuleSpecifications()
398 data_sp = file.MemoryMapFileContents (file_offset, SIZE_MAX); in GetModuleSpecifications()
441 lldb::offset_t file_offset, in ObjectFileELF() argument
443 ObjectFile(module_sp, file, file_offset, length, data_sp, data_offset), in ObjectFileELF()
HDObjectFileELF.h81 lldb::offset_t file_offset,
94 lldb::offset_t file_offset,
/trueos/sys/compat/linux/
HDlinux_misc.c245 unsigned long file_offset; in linux_uselib() local
344 file_offset = 1024; in linux_uselib()
347 file_offset = 0; in linux_uselib()
402 if (file_offset & PAGE_MASK) { in linux_uselib()
404 printf("uselib: Non page aligned binary %lu\n", file_offset); in linux_uselib()
418 error = vn_rdwr(UIO_READ, vp, (void *)vmaddr, file_offset, in linux_uselib()
429 printf("uselib: Page aligned binary %lu\n", file_offset); in linux_uselib()
443 MAP_PRIVATE | MAP_FIXED, OBJT_VNODE, vp, file_offset); in linux_uselib()
/trueos/contrib/gdb/gdb/
HDcoffread.c1340 enter_linenos (long file_offset, int first_line, in enter_linenos() argument
1348 if (file_offset < linetab_offset) in enter_linenos()
1352 file_offset); in enter_linenos()
1353 if (file_offset > linetab_size) /* Too big to be an offset? */ in enter_linenos()
1355 file_offset += linetab_offset; /* Try reading at that linetab offset */ in enter_linenos()
1358 rawptr = &linetab[file_offset - linetab_offset]; in enter_linenos()

12