| /NextBSD/lib/libc/nameser/ |
| HD | ns_name.c | 424 const u_char *srcp, *dstlim; in ns_name_unpack2() local 431 srcp = src; in ns_name_unpack2() 433 if (srcp < msg || srcp >= eom) { in ns_name_unpack2() 438 while ((n = *srcp++) != 0) { in ns_name_unpack2() 444 if ((l = labellen(srcp - 1)) < 0) { in ns_name_unpack2() 448 if (dstp + l + 1 >= dstlim || srcp + l >= eom) { in ns_name_unpack2() 454 memcpy(dstp, srcp, l); in ns_name_unpack2() 456 srcp += l; in ns_name_unpack2() 460 if (srcp >= eom) { in ns_name_unpack2() 465 len = srcp - src + 1; in ns_name_unpack2() [all …]
|
| /NextBSD/contrib/ncurses/ncurses/tinfo/ |
| HD | comp_expand.c | 55 _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()
|
| HD | read_termcap.c | 717 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()
|
| /NextBSD/lib/libc/db/hash/ |
| HD | hash.c | 906 swap_header_copy(HASHHDR *srcp, HASHHDR *destp) in swap_header_copy() argument 910 P_32_COPY(srcp->magic, destp->magic); in swap_header_copy() 911 P_32_COPY(srcp->version, destp->version); in swap_header_copy() 912 P_32_COPY(srcp->lorder, destp->lorder); in swap_header_copy() 913 P_32_COPY(srcp->bsize, destp->bsize); in swap_header_copy() 914 P_32_COPY(srcp->bshift, destp->bshift); in swap_header_copy() 915 P_32_COPY(srcp->dsize, destp->dsize); in swap_header_copy() 916 P_32_COPY(srcp->ssize, destp->ssize); in swap_header_copy() 917 P_32_COPY(srcp->sshift, destp->sshift); in swap_header_copy() 918 P_32_COPY(srcp->ovfl_point, destp->ovfl_point); in swap_header_copy() [all …]
|
| /NextBSD/usr.sbin/lpr/common_source/ |
| HD | common.c | 525 register const char *srcp; in trstat_init() local 539 srcp = strchr(fname, '/'); in trstat_init() 540 if (srcp == NULL) in trstat_init() 541 srcp = fname; in trstat_init() 544 while (*srcp != '\0' && (*srcp < '0' || *srcp > '9')) in trstat_init() 545 srcp++; in trstat_init() 546 while (*srcp >= '0' && *srcp <= '9' && destp < endp) in trstat_init() 547 *(destp++) = *(srcp++); in trstat_init()
|
| /NextBSD/sys/netinet6/ |
| HD | in6_src.c | 184 struct ifnet **ifpp, struct in6_addr *srcp) in in6_selectsrc() argument 198 KASSERT(srcp != NULL, ("%s: srcp is NULL", __func__)); in in6_selectsrc() 270 bcopy(&ia6->ia_addr.sin6_addr, 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() 535 bcopy(&tmp, srcp, sizeof(*srcp)); in in6_selectsrc() 560 struct in6_addr *srcp, int *hlim) in in6_selectsrc_socket() argument 569 error = in6_selectsrc(fibnum, dstsock, opts, inp, cred, &retifp, srcp); in in6_selectsrc_socket() 601 uint32_t scopeid, struct ifnet *ifp, struct in6_addr *srcp, in in6_selectsrc_addr() argument 616 error = in6_selectsrc(fibnum, &dst_sa, NULL, NULL, NULL, &retifp, srcp); in in6_selectsrc_addr()
|
| HD | icmp6.c | 2117 struct in6_addr src6, *srcp; in icmp6_reflect() local 2170 srcp = NULL; in icmp6_reflect() 2184 srcp = &src6; in icmp6_reflect() 2196 if (srcp == NULL) { in icmp6_reflect() 2218 srcp = &src6; in icmp6_reflect() 2225 ip6->ip6_src = *srcp; in icmp6_reflect()
|
| /NextBSD/contrib/tcpdump/ |
| HD | print-802_11.c | 2061 uint16_t fc, const u_char *p, const uint8_t **srcp, in data_header_print() argument 2089 if (srcp != NULL) in data_header_print() 2090 *srcp = ADDR2; in data_header_print() 2099 if (srcp != NULL) in data_header_print() 2100 *srcp = ADDR3; in data_header_print() 2109 if (srcp != NULL) in data_header_print() 2110 *srcp = ADDR2; in data_header_print() 2119 if (srcp != NULL) in data_header_print() 2120 *srcp = ADDR4; in data_header_print() 2138 const u_char *p, const uint8_t **srcp, const uint8_t **dstp) in mgmt_header_print() argument [all …]
|
| /NextBSD/contrib/binutils/bfd/ |
| HD | tekhex.c | 268 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()
|
| /NextBSD/lib/libkiconv/ |
| HD | xlat16_iconv.c | 154 u_char src[3], dst[4], *srcp, *dstp, ud, ld; in kiconv_xlat16_open() local 187 srcp = src; in kiconv_xlat16_open() 224 ret = my_iconv_char(cd, &srcp, &inbytesleft, in kiconv_xlat16_open()
|
| /NextBSD/contrib/less/ |
| HD | os.c | 322 char *srcp = (char *) src; local 326 dstp[i] = srcp[i];
|
| /NextBSD/contrib/tcsh/ |
| HD | tc.prompt.c | 606 expdollar(struct Strbuf *buf, const Char **srcp, Char attr) in expdollar() argument 609 const Char *src = *srcp; in expdollar() 648 *srcp = src; in expdollar() 654 *srcp = src; in expdollar()
|
| /NextBSD/contrib/compiler-rt/lib/BlocksRuntime/ |
| HD | runtime.c | 200 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()
|
| /NextBSD/sys/ofed/drivers/infiniband/ulp/sdp/ |
| HD | sdp_proc.c | 127 __u16 srcp; in sdp_seq_show() local 142 srcp = ntohs(inet_sk(sk)->sport); in sdp_seq_show() 149 st->num, src, srcp, dest, destp, uid, inode, in sdp_seq_show()
|
| /NextBSD/contrib/ofed/libcxgb4/src/ |
| HD | qp.c | 89 u8 *dstp, *srcp; in build_immd() local 98 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd() 101 memcpy(dstp, srcp, len); in build_immd() 103 srcp += len; in build_immd()
|
| /NextBSD/contrib/ncurses/ncurses/ |
| HD | llib-ltic | 88 const char *srcp,
|
| HD | llib-lticw | 88 const char *srcp,
|
| HD | llib-ltictw | 88 const char *srcp,
|
| HD | llib-ltict | 88 const char *srcp,
|
| /NextBSD/contrib/gcc/ |
| HD | sbitmap.c | 279 sbitmap_ptr srcp = src->elms; in sbitmap_not() local 283 *dstp++ = ~*srcp++; in sbitmap_not()
|
| /NextBSD/sys/dev/cxgbe/iw_cxgbe/ |
| HD | qp.c | 290 u8 *dstp, *srcp; in build_immd() local 299 srcp = (u8 *)(unsigned long)wr->sg_list[i].addr; in build_immd() 309 memcpy(dstp, srcp, len); in build_immd() 311 srcp += len; in build_immd()
|
| /NextBSD/sys/dev/mxge/ |
| HD | if_mxge.c | 1730 mcp_kreq_ether_send_t *srcp; in mxge_submit_req() local 1740 srcp = src; in mxge_submit_req() 1744 mxge_pio_copy(dstp, srcp, 2 * sizeof(*src)); in mxge_submit_req() 1746 srcp += 2; in mxge_submit_req() 1757 mxge_pio_copy(dstp, srcp, sizeof(*src)); in mxge_submit_req()
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | remote.c | 1449 unsigned char *srcp, *destp; in threadmatch() 1451 srcp = (char *) src; in threadmatch() 1456 result &= (*srcp++ == *destp++) ? 1 : 0; in threadmatch()
|
| /NextBSD/contrib/compiler-rt/lib/msan/tests/ |
| HD | msan_test.cc | 1412 for (int srcp = 0; srcp < 2; ++srcp) in TEST() local 1414 TestUnalignedMemcpy(i, j, aligned, srcp, dstp); in TEST()
|
| /NextBSD/sys/dev/hifn/ |
| HD | hifn7751.c | 1342 hifn_alloc_slot(struct hifn_softc *sc, int *cmdp, int *srcp, int *dstp, int *resp) in hifn_alloc_slot() argument 1363 *srcp = sc->sc_srci++; in hifn_alloc_slot()
|