/freebsd/contrib/less/ |
H A D | cvt.c | 50 * Returns converted text in odst. The original offset of each 51 * 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() 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); 52 cvt_text(char * odst,char * osrc,int * chpos,int * lenp,int ops) cvt_text() argument [all...] |
H A D | funcs.h | 115 public void cvt_text(mutable char *odst, constant char *osrc, mutable int *chpos, mutable size_t *lenp, int ops);
|
/freebsd/lib/libc/inet/ |
H A D | inet_net_pton.c | 64 const u_char *odst = dst; in inet_net_pton_ipv4() local 125 isdigit((unsigned char)(src[0])) && dst > odst) { in inet_net_pton_ipv4() 146 if (dst == odst) in inet_net_pton_ipv4() 150 if (*odst >= 240) /*%< Class E */ in inet_net_pton_ipv4() 152 else if (*odst >= 224) /*%< Class D */ in inet_net_pton_ipv4() 154 else if (*odst >= 192) /*%< Class C */ in inet_net_pton_ipv4() 156 else if (*odst >= 128) /*%< Class B */ in inet_net_pton_ipv4() 161 if (bits < ((dst - odst) * 8)) in inet_net_pton_ipv4() 162 bits = (dst - odst) * 8; in inet_net_pton_ipv4() 167 if (bits == 8 && *odst in inet_net_pton_ipv4() 220 u_char *odst = dst; getv4() local [all...] |
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 | 85 char *odst = dst; in inet_net_ntop_ipv4() local 122 if (dst != odst) in inet_net_ntop_ipv4() 133 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/mandoc/ |
H A D | compat_strlcat.c | 34 const char *odst = dst; in strlcat() local 42 dlen = dst - odst; in strlcat()
|
/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/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 | 100 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 D | ip6_input.c | 525 struct in6_addr odst; in ip6_input() local 734 odst = ip6->ip6_dst; in ip6_input() 739 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); in ip6_input()
|
H A D | ip6_output.c | 414 struct in6_addr odst; in ip6_output() local 1017 odst = ip6->ip6_dst; in ip6_output() 1032 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_output()
|
/freebsd/sys/netinet/ |
H A D | ip_input.c | 465 struct in_addr odst; /* original dst address */ in ip_input() local 615 odst = ip->ip_dst; in ip_input() 621 dchg = (odst.s_addr != ip->ip_dst.s_addr); in ip_input()
|
H A D | ip_output.c | 113 struct in_addr odst; in ip_output_pfil() local 121 odst.s_addr = ip->ip_dst.s_addr; in ip_output_pfil() 140 if (odst.s_addr != ip->ip_dst.s_addr) { in ip_output_pfil()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_nat6.c | 1556 int flags, dlen, odst; in ipf_nat6_icmperror() local 1677 odst = 1; in ipf_nat6_icmperror() 1685 odst = 0; in ipf_nat6_icmperror() 1728 if (odst == 1) { in ipf_nat6_icmperror() 1804 if (odst == 1) { in ipf_nat6_icmperror()
|
H A D | ip_nat.c | 3698 int flags, dlen, odst; in ipf_nat_icmperror() local 3820 odst = 1; in ipf_nat_icmperror() 3828 odst = 0; in ipf_nat_icmperror() 3863 if (odst == 1) { in ipf_nat_icmperror() 3934 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()
|