| /freebsd/contrib/less/ |
| H A D | cvt.c | 53 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 D | funcs.h | 132 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *l…
|
| /freebsd/lib/libc/inet/ |
| H A D | inet_net_pton.c | 92 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 D | inet_neta.c | 53 char *odst = dst; in inet_neta() local 72 if (dst == odst) { in inet_neta() 77 return (odst); in inet_neta()
|
| H A D | inet_cidr_pton.c | 83 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 D | inet_cidr_ntop.c | 75 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 D | inet_net_ntop.c | 80 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 D | ns_ttl.c | 51 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 D | strlcat.c | 36 const char *odst = dst; in pcapint_strlcat() local 44 dlen = dst - odst; in pcapint_strlcat()
|
| /freebsd/contrib/mandoc/ |
| H A D | compat_strlcat.c | 34 const char *odst = dst; in strlcat() local 42 dlen = dst - odst; in strlcat()
|
| /freebsd/lib/libc/string/ |
| H A D | strlcat.c | 34 const char *odst = dst; in strlcat() local 42 dlen = dst - odst; in strlcat()
|
| /freebsd/lib/libc/secure/ |
| H A D | strlcat_chk.c | 37 const char *odst = dst; in __strlcat_chk() local 50 dlen = dst - odst; in __strlcat_chk()
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-mobile.c | 54 nd_uint32_t odst; member 94 ND_PRINT("> %s ", GET_IPADDR_STRING(mob->odst)); in mobile_print()
|
| /freebsd/sys/netinet6/ |
| H A D | ip6_forward.c | 103 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 D | ip6_input.c | 520 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 D | ip6_output.c | 411 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 D | ip_input.c | 484 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 D | ip_output.c | 112 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 D | ip_nat6.c | 1549 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 D | ip_nat.c | 3734 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 D | fs.c | 2832 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 D | pfvar.h | 1959 struct pf_addr odst; member
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf.c | 4746 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()
|