Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/less/
H A Dcvt.c52 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops) in cvt_text() argument
55 char *edst = odst; in cvt_text()
65 for (src = osrc, dst = odst; src < src_end; ) in cvt_text()
68 int dst_pos = (int) (dst - odst); in cvt_text()
71 if ((ops & CVT_BS) && ch == '\b' && dst > odst) in cvt_text()
76 } while (dst > odst && utf_mode && in cvt_text()
101 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r') in cvt_text()
105 *lenp = (int) (edst - odst); in cvt_text()
H A Dfuncs.h102 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops);
/freebsd-14.2/lib/libc/inet/
H A Dinet_net_pton.c67 const u_char *odst = dst; in inet_net_pton_ipv4() local
149 if (dst == odst) in inet_net_pton_ipv4()
153 if (*odst >= 240) /*%< Class E */ in inet_net_pton_ipv4()
155 else if (*odst >= 224) /*%< Class D */ in inet_net_pton_ipv4()
157 else if (*odst >= 192) /*%< Class C */ in inet_net_pton_ipv4()
159 else if (*odst >= 128) /*%< Class B */ in inet_net_pton_ipv4()
164 if (bits < ((dst - odst) * 8)) in inet_net_pton_ipv4()
165 bits = (dst - odst) * 8; in inet_net_pton_ipv4()
170 if (bits == 8 && *odst == 224) in inet_net_pton_ipv4()
174 while (bits > ((dst - odst) * 8)) { in inet_net_pton_ipv4()
[all …]
H A Dinet_neta.c56 char *odst = dst; in inet_neta() local
75 if (dst == odst) { in inet_neta()
80 return (odst); in inet_neta()
H A Dinet_cidr_pton.c86 const u_char *odst = dst; in inet_cidr_pton_ipv4() local
112 if (ch == '/' && dst > odst) { in inet_cidr_pton_ipv4()
121 if (dst - odst == 4) in inet_cidr_pton_ipv4()
128 if (dst == odst) in inet_cidr_pton_ipv4()
132 if (((bits - (ipv6 ? 96 : 0)) / 8) > (dst - odst)) in inet_cidr_pton_ipv4()
H A Dinet_cidr_ntop.c78 char *odst = dst; in decoct() local
93 return (dst - odst); in decoct()
111 char *odst = dst; in inet_cidr_ntop_ipv4() local
146 return (odst); in inet_cidr_ntop_ipv4()
H A Dinet_net_ntop.c88 char *odst = dst; in inet_net_ntop_ipv4() local
125 if (dst != odst) in inet_net_ntop_ipv4()
136 return (odst); in inet_net_ntop_ipv4()
/freebsd-14.2/contrib/libpcap/missing/
H A Dstrlcat.c36 const char *odst = dst; in pcapint_strlcat() local
44 dlen = dst - odst; in pcapint_strlcat()
/freebsd-14.2/contrib/mandoc/
H A Dcompat_strlcat.c34 const char *odst = dst; in strlcat() local
42 dlen = dst - odst; in strlcat()
/freebsd-14.2/lib/libc/string/
H A Dstrlcat.c32 const char *odst = dst; in strlcat() local
40 dlen = dst - odst; in strlcat()
/freebsd-14.2/lib/libc/nameser/
H A Dns_ttl.c54 char *odst = dst; in ns_format_ttl() local
89 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl()
94 return (dst - odst); in ns_format_ttl()
/freebsd-14.2/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-14.2/sys/netinet6/
H A Dip6_forward.c100 struct in6_addr odst; in ip6_forward() local
323 odst = ip6->ip6_dst; in ip6_forward()
331 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_forward()
H A Dip6_input.c527 struct in6_addr odst; in ip6_input() local
736 odst = ip6->ip6_dst; in ip6_input()
741 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); in ip6_input()
H A Dip6_output.c418 struct in6_addr odst; in ip6_output() local
1019 odst = ip6->ip6_dst; in ip6_output()
1034 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_output()
/freebsd-14.2/sys/netinet/
H A Dip_input.c467 struct in_addr odst; /* original dst address */ in ip_input() local
622 odst = ip->ip_dst; in ip_input()
630 dchg = (odst.s_addr != ip->ip_dst.s_addr); in ip_input()
H A Dip_output.c115 struct in_addr odst; in ip_output_pfil() local
122 odst.s_addr = ip->ip_dst.s_addr; in ip_output_pfil()
136 if (odst.s_addr != ip->ip_dst.s_addr) { in ip_output_pfil()
/freebsd-14.2/sys/netpfil/ipfilter/netinet/
H A Dip_nat6.c1559 int flags, dlen, odst; in ipf_nat6_icmperror() local
1680 odst = 1; in ipf_nat6_icmperror()
1688 odst = 0; in ipf_nat6_icmperror()
1731 if (odst == 1) { in ipf_nat6_icmperror()
1807 if (odst == 1) { in ipf_nat6_icmperror()
H A Dip_nat.c3702 int flags, dlen, odst; in ipf_nat_icmperror() local
3824 odst = 1; in ipf_nat_icmperror()
3832 odst = 0; in ipf_nat_icmperror()
3867 if (odst == 1) { in ipf_nat_icmperror()
3938 if (odst == 1) { in ipf_nat_icmperror()
/freebsd-14.2/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()