Home
last modified time | relevance | path

Searched refs:osrc (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/less/
H A Dcvt.c51 * odst character (when it was in osrc) is returned in the chpos array.
53 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *lenp, int ops) in cvt_text()
62 src_end = osrc + *lenp; in cvt_text()
64 src_end = osrc + strlen(osrc); in cvt_text()
66 for (src = osrc, dst = odst; src < src_end; ) in cvt_text()
68 size_t src_pos = ptr_diff(src, osrc); in cvt_text()
111 /* FIXME: why was this here? if (chpos != NULL) chpos[dst - odst] = src - osrc; */
52 cvt_text(char * odst,char * osrc,int * chpos,int * lenp,int ops) cvt_text() argument
H A Dfuncs.h115 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *lenp, int ops);
/freebsd/contrib/mandoc/
H A Dcompat_strlcpy.c32 const char *osrc = src; in strlcpy() local
51 return(src - osrc - 1); /* count does not include NUL */ in strlcpy()
H A Dcompat_strlcat.c35 const char *osrc = src; in strlcat() local
56 return(dlen + (src - osrc)); /* count does not include NUL */ in strlcat()
/freebsd/contrib/libpcap/missing/
H A Dstrlcpy.c34 const char *osrc = src; in pcapint_strlcpy() local
53 return(src - osrc - 1); /* count does not include NUL */ in pcapint_strlcpy()
H A Dstrlcat.c37 const char *osrc = src; in pcapint_strlcat() local
58 return(dlen + (src - osrc)); /* count does not include NUL */ in pcapint_strlcat()
/freebsd/sys/libkern/
H A Dstrlcpy.c30 const char *osrc = src; in strlcpy() local
49 return(src - osrc - 1); /* count does not include NUL */ in strlcpy()
/freebsd/sys/netinet/
H A Dip_fastfwd.c109 struct in_addr *osrc, struct in_addr *newgw) in ip_redir_alloc() argument
160 if ((ntohl(osrc->s_addr) & nh_ia->ia_subnetmask) != nh_ia->ia_subnet) in ip_redir_alloc()
240 struct in_addr dest, odest, rtdest, osrc; in ip_tryforward() local
304 osrc.s_addr = ip->ip_src.s_addr; in ip_tryforward()
467 if (V_ipsendredirects && osrc.s_addr == ip->ip_src.s_addr && in ip_tryforward()
469 mcopy = ip_redir_alloc(m, nh, ip_len, &osrc, &redest); in ip_tryforward()
/freebsd/lib/libc/string/
H A Dstrlcpy.c32 const char *osrc = src; in strlcpy() local
51 return(src - osrc - 1); /* count does not include NUL */ in strlcpy()
H A Dstrlcat.c35 const char *osrc = src; in strlcat() local
56 return(dlen + (src - osrc)); /* count does not include NUL */ in strlcat()
/freebsd/lib/libc/secure/
H A Dstrlcat_chk.c38 const char *osrc = src; in __strlcat_chk() local
69 return (dlen + (src - osrc)); /* count does not include NUL */ in __strlcat_chk()
/freebsd/contrib/tcpdump/
H A Dprint-mobile.c55 nd_uint32_t osrc; member
89 ND_PRINT("%s ", GET_IPADDR_STRING(mob->osrc)); in mobile_print()