/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_open_file.c | 135 int64_t old_offset, new_offset = -1; in FILE_skip() local 171 new_offset = lseek(fileno(mine->f), skip, SEEK_CUR); in FILE_skip() 174 new_offset = _ftelli64(mine->f); in FILE_skip() 177 new_offset = ftello(mine->f); in FILE_skip() 180 new_offset = ftell(mine->f); in FILE_skip() 182 if (new_offset >= 0) in FILE_skip() 183 return (new_offset - old_offset); in FILE_skip()
|
H A D | archive_read_open_fd.c | 137 int64_t old_offset, new_offset; in file_skip() local 161 } else if ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0) in file_skip() 162 return (new_offset - old_offset); in file_skip()
|
H A D | archive_read_open_filename.c | 485 int64_t old_offset, new_offset, skip = request; in file_skip_lseek() local 487 off_t old_offset, new_offset, skip = (off_t)request; in file_skip_lseek() local 506 } else if ((new_offset = lseek(mine->fd, skip, SEEK_CUR)) >= 0) in file_skip_lseek() 507 return (new_offset - old_offset); in file_skip_lseek()
|
H A D | archive_write_set_format_iso9660.c | 8036 int64_t read_offset, write_offset, new_offset; in zisofs_rewind_boot_file() local 8055 new_offset = wb_offset(a); in zisofs_rewind_boot_file() 8106 file->content.offset_of_temp = new_offset; in zisofs_rewind_boot_file()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 464 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 D | jedec_dimm.c | 146 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 D | DWARFDebugMacro.cpp | 69 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 D | abd_os.c | 377 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 D | hwasan_report.cpp | 268 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 D | abd_os.c | 800 size_t new_offset = ABD_SCATTER(sabd).abd_offset + off; in abd_get_offset_scatter() local 812 if (new_offset < sg->length) in abd_get_offset_scatter() 814 new_offset -= sg->length; in abd_get_offset_scatter() 818 ABD_SCATTER(abd).abd_offset = new_offset; in abd_get_offset_scatter()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | DWARFExpression.cpp | 1490 lldb::offset_t new_offset = offset + skip_offset; in Evaluate() local 1494 if (new_offset <= opcodes.GetByteSize()) in Evaluate() 1495 offset = new_offset; in Evaluate() 1516 lldb::offset_t new_offset = offset + bra_offset; in Evaluate() local 1520 if (new_offset <= opcodes.GetByteSize()) in Evaluate() 1521 offset = new_offset; in Evaluate()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/ |
H A D | MinidumpFileBuilder.cpp | 88 offset_t new_offset = m_core_file->SeekFromStart(m_saved_data_size); in AddHeaderAndCalculateDirectories() local 89 if (new_offset != m_saved_data_size) in AddHeaderAndCalculateDirectories() 93 new_offset, m_saved_data_size); in AddHeaderAndCalculateDirectories()
|
/freebsd/sys/contrib/zstd/doc/educational_decoder/ |
H A D | zstd_decompress.c | 1620 const int new_offset = in->bit_offset - num_bits; in IO_rewind_bits() local 1623 const i64 bytes = -(new_offset - 7) / 8; in IO_rewind_bits() 1629 in->bit_offset = ((new_offset % 8) + 8) % 8; in IO_rewind_bits()
|
/freebsd/sys/dev/ice/ |
H A D | ice_dcb.c | 203 cmd->new_offset = CPU_TO_LE16(offset); in ice_aq_update_lldp_tlv()
|
H A D | ice_adminq_cmd.h | 2508 __le16 new_offset; 2372 __le16 new_offset; global() member
|
/freebsd/crypto/openssl/test/ |
H A D | evp_test.c | 394 size_t new_offset = 0; in evp_test_buffer_append() local 397 &db->buflen, &new_offset)) == -1) in evp_test_buffer_append() 399 offset = new_offset; in evp_test_buffer_append()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz.c | 4086 uint64_t new_offset = in raidz_reflow_sync() local 4095 old_offset, new_offset - old_offset, in raidz_reflow_sync() 4102 RRSS_SCRATCH_INVALID_SYNCED_REFLOW, new_offset); in raidz_reflow_sync()
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_adminq_cmd.h | 2647 __le16 new_offset; member
|
/freebsd/contrib/libxo/libxo/ |
H A D | libxo.c | 4042 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()
|