/freebsd/contrib/libdiff/lib/ |
H A D | diff_output.c | 82 off_t outoff = 0, *offp; in diff_output_lines() local 149 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_lines() 150 if (offp == NULL) { in diff_output_lines() 155 *offp = outoff; in diff_output_lines() 252 off_t outoff = 0, *offp; in diff_output_trailing_newline_msg() local 283 ARRAYLIST_ADD(offp, outinfo->line_offsets); in diff_output_trailing_newline_msg() 284 if (offp == NULL) in diff_output_trailing_newline_msg() 287 *offp = outoff; in diff_output_trailing_newline_msg() 368 off_t *offp; in diff_output_info_alloc() local 374 ARRAYLIST_ADD(offp, output_info->line_offsets); in diff_output_info_alloc() [all …]
|
H A D | diff_output_unidiff.c | 243 off_t outoff = 0, *offp; in output_unidiff_chunk() local 260 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_unidiff_chunk() 261 if (offp == NULL) in output_unidiff_chunk() 264 *offp = outoff; in output_unidiff_chunk() 275 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_unidiff_chunk() 276 if (offp == NULL) in output_unidiff_chunk() 279 *offp = outoff; in output_unidiff_chunk() 347 ARRAYLIST_ADD(offp, outinfo->line_offsets); in output_unidiff_chunk() 348 if (offp == NULL) in output_unidiff_chunk() 351 *offp = outoff; in output_unidiff_chunk() [all …]
|
/freebsd/sys/ddb/ |
H A D | db_sym.h | 81 #define db_find_sym_and_offset(val,namep,offp) \ argument 82 db_symbol_values(db_search_symbol(val,DB_STGY_ANY,offp),namep,0) 85 #define db_find_xtrn_sym_and_offset(val,namep,offp) \ argument 86 db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0)
|
H A D | db_sym.c | 369 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument 384 *offp = 0; in db_search_symbol() 398 *offp = diff; in db_search_symbol()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_file_os.c | 115 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, in zfs_file_write_impl() argument 132 auio.uio_offset = *offp; in zfs_file_write_impl() 147 *offp += count - auio.uio_resid; in zfs_file_write_impl() 172 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *offp, in zfs_file_read_impl() argument 189 auio.uio_offset = *offp; in zfs_file_read_impl() 199 *offp += count - auio.uio_resid; in zfs_file_read_impl() 223 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 231 rc = fo_seek(fp, *offp, whence, td); in zfs_file_seek() 233 *offp = td->td_uretoff.tdu_off; in zfs_file_seek()
|
/freebsd/lib/libc/tests/stdio/ |
H A D | getdelim_test.c | 54 size_t *offp = cookie; in _reader() local 60 if (len > sizeof(apothegm) - *offp) in _reader() 61 len = sizeof(apothegm) - *offp; in _reader() 62 memcpy(buf, apothegm + *offp, len); in _reader() 63 *offp += len; in _reader() 70 size_t *offp; in mkfilebuf() local 72 offp = malloc(sizeof(*offp)); /* XXX leak */ in mkfilebuf() 73 *offp = 0; in mkfilebuf() 74 return (fropen(offp, _reader)); in mkfilebuf()
|
/freebsd/sys/dev/usb/net/ |
H A D | if_cdceem.c | 317 cdceem_handle_cmd(struct usb_xfer *xfer, uint16_t hdr, int *offp) in cdceem_handle_cmd() argument 324 off = *offp; in cdceem_handle_cmd() 414 *offp = off; in cdceem_handle_cmd() 418 cdceem_handle_data(struct usb_xfer *xfer, uint16_t hdr, int *offp) in cdceem_handle_data() argument 430 off = *offp; in cdceem_handle_data() 498 *offp = off; in cdceem_handle_data() 565 cdceem_send_echo(struct usb_xfer *xfer, int *offp) in cdceem_send_echo() argument 572 off = *offp; in cdceem_send_echo() 600 *offp = off; in cdceem_send_echo() 604 cdceem_send_echo_response(struct usb_xfer *xfer, int *offp) in cdceem_send_echo_response() argument [all …]
|
/freebsd/sys/kern/ |
H A D | uipc_mbuf2.c | 93 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument 101 __func__, off, len, offp)); in m_pulldown() 160 if ((off == 0 || offp) && len <= n->m_len - off) in m_pulldown() 207 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown() 214 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen in m_pulldown() 260 if (offp) in m_pulldown() 261 *offp = off; in m_pulldown()
|
H A D | vfs_default.c | 1311 off_t *offp; in vop_stdioctl() local 1326 offp = ap->a_data; in vop_stdioctl() 1327 if (*offp < 0 || *offp >= va.va_size) in vop_stdioctl() 1330 *offp = va.va_size; in vop_stdioctl()
|
/freebsd/sys/netinet6/ |
H A D | route6.c | 60 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input() argument 65 int off = *offp, rhlen; in route6_input() 113 *offp += rhlen; in route6_input()
|
H A D | dest6.c | 63 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input() argument 71 off = *offp; in dest6_input() 125 *offp = off; in dest6_input()
|
H A D | raw_ip6.c | 184 rip6_input(struct mbuf **mp, int *offp, int proto) in rip6_input() argument 236 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2 || in rip6_input() 237 in6_cksum(m, proto, *offp, in rip6_input() 238 m->m_pkthdr.len - *offp)) { in rip6_input() 302 m_adj(n, *offp); in rip6_input() 325 ip6_get_prevhdr(m, *offp)); in rip6_input()
|
/freebsd/sys/netinet/ |
H A D | ip_encap.c | 367 encap4_input(struct mbuf **mp, int *offp, int proto) in encap4_input() argument 370 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap4_input() 371 return (rip_input(mp, offp, proto)); in encap4_input() 406 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() argument 409 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap6_input() 410 return (rip6_input(mp, offp, proto)); in encap6_input()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_file_os.c | 206 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument 210 if (*offp < 0) in zfs_file_seek() 213 rc = vfs_llseek(fp, *offp, whence); in zfs_file_seek() 217 *offp = rc; in zfs_file_seek()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_history.c | 421 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) in spa_history_get() argument 442 if (*offp == 0 && spa_writeable(spa)) in spa_history_get() 460 if (*offp < shpp->sh_pool_create_len) { in spa_history_get() 462 phys_read_off = *offp; in spa_history_get() 470 *offp = MAX(*offp, shpp->sh_bof); in spa_history_get() 471 phys_read_off = spa_history_log_to_phys(*offp, shpp); in spa_history_get() 491 *offp += read_len + leftover; in spa_history_get()
|
H A D | dmu_diff.c | 168 zfs_file_t *fp, offset_t *offp) in dmu_diff() argument 212 da.da_offp = offp; in dmu_diff()
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_bmap.c | 327 ext2_bmap_seekdata(struct vnode *vp, off_t *offp) in ext2_bmap_seekdata() argument 347 if (*offp < 0 || *offp >= ip->i_size) in ext2_bmap_seekdata() 351 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ext2_bmap_seekdata() 411 if (error == 0 && *offp < bn * bsize) in ext2_bmap_seekdata() 412 *offp = bn * bsize; in ext2_bmap_seekdata()
|
H A D | ext2_lookup.c | 709 doff_t *offp, doff_t *prevoffp, doff_t *endusefulp, in ext2_search_dirblock() argument 726 ext2_dirbad(ip, *offp, "mangled entry"); in ext2_search_dirblock() 728 *offp += i; in ext2_search_dirblock() 750 ssp->slotoffset = *offp; in ext2_search_dirblock() 755 ssp->slotoffset = *offp; in ext2_search_dirblock() 758 ssp->slotsize = *offp + in ext2_search_dirblock() 781 *prevoffp = *offp; in ext2_search_dirblock() 782 *offp += le16toh(ep->e2d_reclen); in ext2_search_dirblock() 786 *endusefulp = *offp; in ext2_search_dirblock()
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 344 ufs_bmap_seekdata(struct vnode *vp, off_t *offp) in ufs_bmap_seekdata() argument 364 if (*offp < 0 || *offp >= ip->i_size) in ufs_bmap_seekdata() 376 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize); in ufs_bmap_seekdata() 438 if (error == 0 && *offp < bn * bsize) in ufs_bmap_seekdata() 439 *offp = bn * bsize; in ufs_bmap_seekdata()
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pfsync.c | 820 pfsync_input(struct mbuf **mp, int *offp __unused, int proto __unused) in pfsync_input() 922 pfsync6_input(struct mbuf **mp, int *offp __unused, int proto __unused) in pfsync6_input() 1029 int i, offp; in pfsync_in_clr() local 1032 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_clr() 1037 clr = (struct pfsync_clr *)(mp->m_data + offp); in pfsync_in_clr() 1070 int i, offp, total_len, msg_version, msg_len; in pfsync_in_ins() local 1088 mp = m_pulldown(m, offset, total_len, &offp); in pfsync_in_ins() 1093 sa = (union pfsync_state_union *)(mp->m_data + offp); in pfsync_in_ins() 1127 int offp, i; in pfsync_in_iack() local 1129 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_iack() [all …]
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | kernel-proc-operations.m4 | 12 size_t size, loff_t *offp) { return 0; } 14 size_t size, loff_t *offp) { return 0; }
|
/freebsd/lib/libc/regex/ |
H A D | engine.c | 84 const char *offp; /* offsets work from here */ member 271 m->offp = string; in matcher() 383 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 384 pmatch[0].rm_eo = endp - m->offp; in matcher() 579 m->pmatch[i].rm_so = sp - m->offp; in dissect() 584 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 599 (sp > m->offp && !ISWORD(*(sp-1))))) 678 (sp > m->offp && sp < m->endp && in backref() 757 ssp = m->offp + m->pmatch[i].rm_so; in backref() 809 m->pmatch[i].rm_so = sp - m->offp; in backref() [all …]
|
/freebsd/contrib/nvi/regex/ |
H A D | engine.c | 73 const RCHAR_T *offp; /* offsets work from here */ member 173 m->offp = string; in matcher() 266 pmatch[0].rm_so = m->coldp - m->offp; in matcher() 267 pmatch[0].rm_eo = endp - m->offp; in matcher() 453 m->pmatch[i].rm_so = sp - m->offp; in dissect() 458 m->pmatch[i].rm_eo = sp - m->offp; in dissect() 592 ssp = m->offp + m->pmatch[i].rm_so; in backref() 647 m->pmatch[i].rm_so = sp - m->offp; in backref() 658 m->pmatch[i].rm_eo = sp - m->offp; in backref()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_file.h | 53 int zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence);
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 77 const char *offp; /* offsets work from here */ 176 m->offp = string; 272 pmatch[0].rm_so = m->coldp - m->offp; 273 pmatch[0].rm_eo = endp - m->offp; 503 m->pmatch[i].rm_so = sp - m->offp; 508 m->pmatch[i].rm_eo = sp - m->offp; 637 ssp = m->offp + m->pmatch[i].rm_so; 692 m->pmatch[i].rm_so = sp - m->offp; 703 m->pmatch[i].rm_eo = sp - m->offp;
|