Home
last modified time | relevance | path

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

/resolv/
A Dinet_net_pton.c85 const u_char *odst = dst; in inet_net_pton_ipv4() local
144 if (ch == '/' && isascii(src[0]) && isdigit(src[0]) && dst > odst) { in inet_net_pton_ipv4()
165 if (dst == odst) in inet_net_pton_ipv4()
169 if (*odst >= 240) /* Class E */ in inet_net_pton_ipv4()
171 else if (*odst >= 224) /* Class D */ in inet_net_pton_ipv4()
173 else if (*odst >= 192) /* Class C */ in inet_net_pton_ipv4()
175 else if (*odst >= 128) /* Class B */ in inet_net_pton_ipv4()
180 if (bits >= 8 && bits < ((dst - odst) * 8)) in inet_net_pton_ipv4()
181 bits = (dst - odst) * 8; in inet_net_pton_ipv4()
184 while (bits > ((dst - odst) * 8)) { in inet_net_pton_ipv4()
A Dinet_neta.c47 char *odst = dst; in inet_neta() local
66 if (dst == odst) { in inet_neta()
71 return (odst); in inet_neta()
A Dinet_net_ntop.c75 char *odst = dst; in inet_net_ntop_ipv4() local
111 if (dst != odst) in inet_net_ntop_ipv4()
122 return (odst); in inet_net_ntop_ipv4()
A Dns_ttl.c46 char *odst = dst; in ns_format_ttl() local
81 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl()
86 return (dst - odst); in ns_format_ttl()

Completed in 29 milliseconds