Home
last modified time | relevance | path

Searched refs:srcp (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/lib/libc/nameser/
H A Dns_name.c433 srcp = src; in ns_name_unpack2()
435 if (srcp < msg || srcp >= eom) { in ns_name_unpack2()
458 srcp += l; in ns_name_unpack2()
473 srcp = msg + l; in ns_name_unpack2()
495 len = srcp - src; in ns_name_unpack2()
527 srcp = src; in ns_name_pack()
545 n = *srcp; in ns_name_pack()
559 srcp += l0 + 1; in ns_name_pack()
563 srcp = src; in ns_name_pack()
566 n = *srcp; in ns_name_pack()
[all …]
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dcomp_expand.c55 _nc_tic_expand(const char *srcp, bool tic_format, int numbers) in _nc_tic_expand() argument
61 const char *str = VALID_STRING(srcp) ? srcp : "\0\0"; in _nc_tic_expand()
66 if (srcp == 0) { in _nc_tic_expand()
145 } else if (ch == '\\' && tic_format && (str == srcp || str[-1] != '^')) { in _nc_tic_expand()
148 } else if (ch == ' ' && tic_format && (str == srcp || in _nc_tic_expand()
173 else if (ch == '\r' && (islong || (strlen(srcp) > 2 && str[1] == '\0'))) { in _nc_tic_expand()
H A Dread_termcap.c717 get_tc_token(char **srcp, int *endp) in get_tc_token() argument
725 for (s = base = *srcp; *s != '\0';) { in get_tc_token()
740 *srcp = s; in get_tc_token()
/freebsd-12.1/lib/libc/db/hash/
H A Dhash.c916 P_32_COPY(srcp->magic, destp->magic); in swap_header_copy()
917 P_32_COPY(srcp->version, destp->version); in swap_header_copy()
918 P_32_COPY(srcp->lorder, destp->lorder); in swap_header_copy()
919 P_32_COPY(srcp->bsize, destp->bsize); in swap_header_copy()
920 P_32_COPY(srcp->bshift, destp->bshift); in swap_header_copy()
921 P_32_COPY(srcp->dsize, destp->dsize); in swap_header_copy()
922 P_32_COPY(srcp->ssize, destp->ssize); in swap_header_copy()
923 P_32_COPY(srcp->sshift, destp->sshift); in swap_header_copy()
928 P_32_COPY(srcp->low_mask, destp->low_mask); in swap_header_copy()
929 P_32_COPY(srcp->ffactor, destp->ffactor); in swap_header_copy()
[all …]
/freebsd-12.1/usr.sbin/lpr/common_source/
H A Dcommon.c529 register const char *srcp; in trstat_init() local
543 srcp = strchr(fname, '/'); in trstat_init()
544 if (srcp == NULL) in trstat_init()
545 srcp = fname; in trstat_init()
548 while (*srcp != '\0' && (*srcp < '0' || *srcp > '9')) in trstat_init()
549 srcp++; in trstat_init()
550 while (*srcp >= '0' && *srcp <= '9' && destp < endp) in trstat_init()
551 *(destp++) = *(srcp++); in trstat_init()
/freebsd-12.1/sys/netinet6/
H A Din6_src.c184 struct ifnet **ifpp, struct in6_addr *srcp) in in6_selectsrc() argument
198 KASSERT(srcp != NULL, ("%s: srcp is NULL", __func__)); in in6_selectsrc()
265 bcopy(&ia->ia_addr.sin6_addr, srcp, sizeof(*srcp)); in in6_selectsrc()
268 bcopy(&tmp, srcp, sizeof(*srcp)); in in6_selectsrc()
283 bcopy(&inp->in6p_laddr, srcp, sizeof(*srcp)); in in6_selectsrc()
291 if (cred != NULL && !prison_saddrsel_ip6(cred, srcp)) in in6_selectsrc()
534 bcopy(&tmp, srcp, sizeof(*srcp)); in in6_selectsrc()
559 struct in6_addr *srcp, int *hlim) in in6_selectsrc_socket() argument
568 error = in6_selectsrc(fibnum, dstsock, opts, inp, cred, &retifp, srcp); in in6_selectsrc_socket()
600 uint32_t scopeid, struct ifnet *ifp, struct in6_addr *srcp, in in6_selectsrc_addr() argument
[all …]
H A Dicmp6.c2053 struct in6_addr src6, *srcp; in icmp6_reflect() local
2106 srcp = NULL; in icmp6_reflect()
2120 srcp = &src6; in icmp6_reflect()
2132 if (srcp == NULL) { in icmp6_reflect()
2154 srcp = &src6; in icmp6_reflect()
2161 ip6->ip6_src = *srcp; in icmp6_reflect()
/freebsd-12.1/contrib/binutils/bfd/
H A Dtekhex.c268 getvalue (char **srcp, bfd_vma *valuep) in getvalue() argument
270 char *src = *srcp; in getvalue()
287 *srcp = src; in getvalue()
293 getsym (char *dstp, char **srcp, unsigned int *lenp) in getsym() argument
295 char *src = *srcp; in getsym()
308 *srcp = src + i; in getsym()
/freebsd-12.1/lib/libkiconv/
H A Dxlat16_iconv.c156 u_char src[3], dst[4], *srcp, *dstp, ud, ld; in kiconv_xlat16_open() local
189 srcp = src; in kiconv_xlat16_open()
226 ret = my_iconv_char(cd, &srcp, &inbytesleft, in kiconv_xlat16_open()
/freebsd-12.1/contrib/less/
H A Dos.c323 char *srcp = (char *) src; local
327 dstp[i] = srcp[i];
/freebsd-12.1/contrib/tcsh/
H A Dtc.prompt.c621 expdollar(struct Strbuf *buf, const Char **srcp, Char attr) in expdollar() argument
624 const Char *src = *srcp; in expdollar()
663 *srcp = src; in expdollar()
669 *srcp = src; in expdollar()
/freebsd-12.1/contrib/compiler-rt/lib/BlocksRuntime/
H A Druntime.c200 void **srcp = (void **)src; in _Block_memmove_gc_broken() local
202 _Block_assign_default(*srcp, destp); in _Block_memmove_gc_broken()
204 srcp++; in _Block_memmove_gc_broken()
/freebsd-12.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c128 __u16 srcp; in sdp_seq_show() local
143 srcp = ntohs(inet_sk(sk)->sport); in sdp_seq_show()
150 st->num, src, srcp, dest, destp, uid, inode, in sdp_seq_show()
/freebsd-12.1/contrib/ofed/libcxgb4/
H A Dqp.c106 u8 *dstp, *srcp; in build_immd() local
115 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd()
118 memcpy(dstp, srcp, len); in build_immd()
120 srcp += len; in build_immd()
/freebsd-12.1/contrib/tcpdump/
H A Dprint-802_11.c1748 get_data_src_dst_mac(uint16_t fc, const u_char *p, const uint8_t **srcp, in get_data_src_dst_mac() argument
1759 *srcp = ADDR2; in get_data_src_dst_mac()
1763 *srcp = ADDR3; in get_data_src_dst_mac()
1769 *srcp = ADDR2; in get_data_src_dst_mac()
1773 *srcp = ADDR4; in get_data_src_dst_mac()
1785 get_mgmt_src_dst_mac(const u_char *p, const uint8_t **srcp, const uint8_t **dstp) in get_mgmt_src_dst_mac() argument
1789 if (srcp != NULL) in get_mgmt_src_dst_mac()
1790 *srcp = hp->sa; in get_mgmt_src_dst_mac()
/freebsd-12.1/contrib/ncurses/ncurses/
H A Dllib-ltict88 const char *srcp,
H A Dllib-ltictw88 const char *srcp,
H A Dllib-lticw88 const char *srcp,
H A Dllib-ltic88 const char *srcp,
/freebsd-12.1/contrib/gcc/
H A Dsbitmap.c279 sbitmap_ptr srcp = src->elms; in sbitmap_not() local
283 *dstp++ = ~*srcp++; in sbitmap_not()
/freebsd-12.1/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c338 u8 *dstp, *srcp; in build_immd() local
347 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd()
357 memcpy(dstp, srcp, len); in build_immd()
359 srcp += len; in build_immd()
/freebsd-12.1/sys/dev/mxge/
H A Dif_mxge.c1731 mcp_kreq_ether_send_t *srcp; in mxge_submit_req() local
1741 srcp = src; in mxge_submit_req()
1745 mxge_pio_copy(dstp, srcp, 2 * sizeof(*src)); in mxge_submit_req()
1747 srcp += 2; in mxge_submit_req()
1758 mxge_pio_copy(dstp, srcp, sizeof(*src)); in mxge_submit_req()
/freebsd-12.1/contrib/gdb/gdb/
H A Dremote.c1449 unsigned char *srcp, *destp; in threadmatch()
1451 srcp = (char *) src; in threadmatch()
1456 result &= (*srcp++ == *destp++) ? 1 : 0; in threadmatch()
/freebsd-12.1/sys/dev/hifn/
H A Dhifn7751.c1343 hifn_alloc_slot(struct hifn_softc *sc, int *cmdp, int *srcp, int *dstp, int *resp) in hifn_alloc_slot() argument
1364 *srcp = sc->sc_srci++; in hifn_alloc_slot()
/freebsd-12.1/sys/netinet/
H A Dsctp_usrreq.c1522 #define SCTP_CHECK_AND_CAST(destp, srcp, type, size) {\ argument
1528 destp = (type *)srcp; \

12