Home
last modified time | relevance | path

Searched refs:odst (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/less/
H A Dcvt.c53 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l… in cvt_text() argument
56 char *edst = odst; in cvt_text()
66 for (src = osrc, dst = odst; src < src_end; ) in cvt_text()
69 size_t dst_pos = ptr_diff(dst, odst); in cvt_text()
72 if ((ops & CVT_BS) && ch == '\b' && dst > odst) in cvt_text()
77 } while (dst > odst && utf_mode && in cvt_text()
106 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r') in cvt_text()
110 *lenp = ptr_diff(edst, odst); in cvt_text()
H A Dfuncs.h132 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l…
/freebsd/lib/libc/inet/
H A Dinet_net_pton.c92 const u_char *odst = dst; in inet_net_pton_ipv4() local
153 isdigit((unsigned char)src[0]) && dst > odst) { in inet_net_pton_ipv4()
175 if (dst == odst) in inet_net_pton_ipv4()
179 if (*odst >= 240) /* Class E */ in inet_net_pton_ipv4()
181 else if (*odst >= 224) /* Class D */ in inet_net_pton_ipv4()
183 else if (*odst >= 192) /* Class C */ in inet_net_pton_ipv4()
185 else if (*odst >= 128) /* Class B */ in inet_net_pton_ipv4()
190 if (bits < ((dst - odst) * 8)) in inet_net_pton_ipv4()
191 bits = (dst - odst) * 8; in inet_net_pton_ipv4()
194 while (bits > ((dst - odst) * 8)) { in inet_net_pton_ipv4()
H A Dinet_neta.c53 char *odst = dst; in inet_neta() local
72 if (dst == odst) { in inet_neta()
77 return (odst); in inet_neta()
H A Dinet_cidr_pton.c83 const u_char *odst = dst; in inet_cidr_pton_ipv4() local
109 if (ch == '/' && dst > odst) { in inet_cidr_pton_ipv4()
118 if (dst - odst == 4) in inet_cidr_pton_ipv4()
125 if (dst == odst) in inet_cidr_pton_ipv4()
129 if (((bits - (ipv6 ? 96 : 0)) / 8) > (dst - odst)) in inet_cidr_pton_ipv4()
H A Dinet_cidr_ntop.c75 char *odst = dst; in decoct() local
90 return (dst - odst); in decoct()
108 char *odst = dst; in inet_cidr_ntop_ipv4() local
143 return (odst); in inet_cidr_ntop_ipv4()
H A Dinet_net_ntop.c80 char *odst = dst; in inet_net_ntop_ipv4() local
122 if (dst != odst) in inet_net_ntop_ipv4()
138 return (odst); in inet_net_ntop_ipv4()
/freebsd/lib/libc/nameser/
H A Dns_ttl.c51 char *odst = dst; in ns_format_ttl() local
86 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl()
91 return (dst - odst); in ns_format_ttl()
/freebsd/contrib/libpcap/missing/
H A Dstrlcat.c36 const char *odst = dst; in pcapint_strlcat() local
44 dlen = dst - odst; in pcapint_strlcat()
/freebsd/contrib/mandoc/
H A Dcompat_strlcat.c34 const char *odst = dst; in strlcat() local
42 dlen = dst - odst; in strlcat()
/freebsd/lib/libc/string/
H A Dstrlcat.c34 const char *odst = dst; in strlcat() local
42 dlen = dst - odst; in strlcat()
/freebsd/lib/libc/secure/
H A Dstrlcat_chk.c37 const char *odst = dst; in __strlcat_chk() local
50 dlen = dst - odst; in __strlcat_chk()
/freebsd/contrib/tcpdump/
H A Dprint-mobile.c54 nd_uint32_t odst; member
94 ND_PRINT("> %s ", GET_IPADDR_STRING(mob->odst)); in mobile_print()
/freebsd/sys/netinet6/
H A Dip6_forward.c103 struct in6_addr odst; in ip6_forward() local
327 odst = ip6->ip6_dst; in ip6_forward()
335 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_forward()
H A Dip6_input.c520 struct in6_addr odst; in ip6_input() local
714 odst = ip6->ip6_dst; in ip6_input()
719 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); in ip6_input()
H A Dip6_output.c411 struct in6_addr odst; in ip6_output() local
1001 odst = ip6->ip6_dst; in ip6_output()
1016 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_output()
/freebsd/sys/netinet/
H A Dip_input.c484 struct in_addr odst; /* original dst address */ in ip_input() local
640 odst = ip->ip_dst; in ip_input()
646 dchg = (odst.s_addr != ip->ip_dst.s_addr); in ip_input()
H A Dip_output.c112 struct in_addr odst; in ip_output_pfil() local
120 odst.s_addr = ip->ip_dst.s_addr; in ip_output_pfil()
139 if (odst.s_addr != ip->ip_dst.s_addr) { in ip_output_pfil()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_nat6.c1549 int flags, dlen, odst; in ipf_nat6_icmperror() local
1670 odst = 1; in ipf_nat6_icmperror()
1678 odst = 0; in ipf_nat6_icmperror()
1721 if (odst == 1) { in ipf_nat6_icmperror()
1797 if (odst == 1) { in ipf_nat6_icmperror()
H A Dip_nat.c3734 int flags, dlen, odst; in ipf_nat_icmperror() local
3856 odst = 1; in ipf_nat_icmperror()
3864 odst = 0; in ipf_nat_icmperror()
3899 if (odst == 1) { in ipf_nat_icmperror()
3970 if (odst == 1) { in ipf_nat_icmperror()
/freebsd/contrib/lib9p/backend/
H A Dfs.c2832 struct stat odst, ndst, fst; in fs_renameat() local
2863 if (fstatat(off->ff_dirfd, off->ff_name, &odst, AT_SYMLINK_NOFOLLOW) != 0) in fs_renameat()
2865 if (!S_ISDIR(odst.st_mode)) in fs_renameat()
2878 off->ff_acl, &odst, facl, &fst, off->ff_ai, (gid_t)-1); in fs_renameat()
/freebsd/sys/net/
H A Dpfvar.h1959 struct pf_addr odst; member
/freebsd/sys/netpfil/pf/
H A Dpf.c4746 pf_addrcpy(pd->dst, &pd->odst, pd->af); in pf_undo_nat()
11201 pf_addrcpy(&pd->odst, pd->dst, af); in pf_setup_pdesc()
11254 pf_addrcpy(&pd->odst, pd->dst, af); in pf_setup_pdesc()