Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_open_file.c139 int64_t old_offset, new_offset = -1; in FILE_skip() local
175 new_offset = lseek(fileno(mine->f), skip, SEEK_CUR); in FILE_skip()
178 new_offset = _ftelli64(mine->f); in FILE_skip()
181 new_offset = ftello(mine->f); in FILE_skip()
184 new_offset = ftell(mine->f); in FILE_skip()
186 if (new_offset >= 0) in FILE_skip()
187 return (new_offset - old_offset); in FILE_skip()
H A Darchive_read_open_fd.c141 int64_t old_offset, new_offset; in file_skip() local
166 } else if ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0) in file_skip()
167 return (new_offset - old_offset); in file_skip()
H A Darchive_read_open_filename.c494 int64_t old_offset, new_offset; in file_skip_lseek() local
496 off_t old_offset, new_offset; in file_skip_lseek() local
516 } else if ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0) in file_skip_lseek()
517 return (new_offset - old_offset); in file_skip_lseek()
H A Darchive_write_set_format_iso9660.c8080 int64_t read_offset, write_offset, new_offset; in zisofs_rewind_boot_file() local
8099 new_offset = wb_offset(a); in zisofs_rewind_boot_file()
8150 file->content.offset_of_temp = new_offset; in zisofs_rewind_boot_file()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c464 off_t new_offset = 0; in write_file() local
533 new_offset = (off_t)dehdr.e_phoff; in write_file()
557 pad = new_offset % shdr.sh_addralign; in write_file()
560 new_offset += shdr.sh_addralign - pad; in write_file()
561 shdr.sh_offset = new_offset; in write_file()
654 new_offset = (off_t)shdr.sh_offset; in write_file()
656 new_offset += shdr.sh_size; in write_file()
673 pad = new_offset % shdr.sh_addralign; in write_file()
676 new_offset += shdr.sh_addralign - pad; in write_file()
678 shdr.sh_offset = new_offset; in write_file()
[all …]
/freebsd/sys/dev/jedec_dimm/
H A Djedec_dimm.c146 uint16_t orig_offset, uint16_t *new_offset, bool *page_changed);
198 uint16_t *new_offset, bool *page_changed) in jedec_dimm_adjust_offset() argument
205 *new_offset = orig_offset; in jedec_dimm_adjust_offset()
237 *new_offset = orig_offset - JEDEC_SPD_PAGE_SIZE; in jedec_dimm_adjust_offset()
771 uint16_t new_offset; in jedec_dimm_field_to_str() local
776 rc = jedec_dimm_adjust_offset(sc, offset, &new_offset, &page_changed); in jedec_dimm_field_to_str()
784 if (new_offset >= JEDEC_SPD_PAGE_SIZE) { in jedec_dimm_field_to_str()
786 device_printf(sc->dev, "invalid offset 0x%04x\n", new_offset); in jedec_dimm_field_to_str()
789 if ((new_offset + len) >= JEDEC_SPD_PAGE_SIZE) { in jedec_dimm_field_to_str()
793 new_offset, len); in jedec_dimm_field_to_str()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugMacro.cpp69 lldb::offset_t new_offset = 0, str_offset = 0; in ReadMacroEntries()
113 new_offset = debug_macro_data.GetU64(offset); in ReadMacroEntries()
115 new_offset = debug_macro_data.GetU32(offset); in ReadMacroEntries()
117 sym_file_dwarf->ParseDebugMacros(&new_offset))); in ReadMacroEntries()
68 lldb::offset_t new_offset = 0, str_offset = 0; ReadMacroEntries() local
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dabd_os.c377 size_t new_offset) in abd_get_offset_from_pages() argument
385 size_t parent_offset = new_offset / PAGE_SIZE; in abd_get_offset_from_pages()
402 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local
404 (new_offset & PAGE_MASK) + size); in abd_get_offset_scatter()
427 ABD_SCATTER(abd).abd_offset = new_offset & PAGE_MASK; in abd_get_offset_scatter()
431 new_offset)); in abd_get_offset_scatter()
436 &ABD_SCATTER(sabd).abd_chunks[new_offset >> PAGE_SHIFT], in abd_get_offset_scatter()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp268 uptr new_offset = untagged_addr - local_end; in PrintStackAllocations() local
269 if (new_offset < offset) { in PrintStackAllocations()
270 offset = new_offset; in PrintStackAllocations()
276 uptr new_offset = local_beg - untagged_addr; in PrintStackAllocations() local
277 if (new_offset < offset) { in PrintStackAllocations()
278 offset = new_offset; in PrintStackAllocations()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c801 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local
813 if (new_offset < sg->length) in abd_get_offset_scatter()
815 new_offset -= sg->length; in abd_get_offset_scatter()
819 ABD_SCATTER(abd).abd_offset = new_offset; in abd_get_offset_scatter()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp1555 lldb::offset_t new_offset = offset + skip_offset; in Evaluate() local
1559 if (new_offset <= opcodes.GetByteSize()) in Evaluate()
1560 offset = new_offset; in Evaluate()
1581 lldb::offset_t new_offset = offset + bra_offset; in Evaluate() local
1585 if (new_offset <= opcodes.GetByteSize()) in Evaluate()
1586 offset = new_offset; in Evaluate()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp87 offset_t new_offset = m_core_file->SeekFromStart(m_saved_data_size); in AddHeaderAndCalculateDirectories() local
88 if (new_offset != m_saved_data_size) in AddHeaderAndCalculateDirectories()
92 new_offset, m_saved_data_size); in AddHeaderAndCalculateDirectories()
/freebsd/sys/dev/ice/
H A Dice_dcb.c203 cmd->new_offset = CPU_TO_LE16(offset); in ice_aq_update_lldp_tlv()
H A Dice_adminq_cmd.h2509 __le16 new_offset; member
/freebsd/crypto/openssl/test/
H A Devp_test.c394 size_t new_offset = 0; in evp_test_buffer_append() local
397 &db->buflen, &new_offset)) in evp_test_buffer_append()
400 offset = new_offset; in evp_test_buffer_append()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz.c4174 uint64_t new_offset = in raidz_reflow_sync() local
4183 old_offset, new_offset - old_offset, in raidz_reflow_sync()
4190 RRSS_SCRATCH_INVALID_SYNCED_REFLOW, new_offset); in raidz_reflow_sync()
/freebsd/sys/dev/ixl/
H A Di40e_adminq_cmd.h2647 __le16 new_offset; member
/freebsd/contrib/libxo/libxo/
H A Dlibxo.c4042 ssize_t new_offset = xbp->xb_curp - xbp->xb_bufp; in xo_buf_append_div() local
4047 xbp->xb_bufp + base_offset, new_offset - base_offset); in xo_buf_append_div()