Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dinet_net_pton.c144 const u_char *odst = dst; in inet_net_pton_ipv4() local
198 if (ch == '/' && isascii(src[0]) && isdigit(src[0]) && dst > odst) { in inet_net_pton_ipv4()
219 if (dst == odst) in inet_net_pton_ipv4()
223 if (*odst >= 240) /* Class E */ in inet_net_pton_ipv4()
225 else if (*odst >= 224) /* Class D */ in inet_net_pton_ipv4()
227 else if (*odst >= 192) /* Class C */ in inet_net_pton_ipv4()
229 else if (*odst >= 128) /* Class B */ in inet_net_pton_ipv4()
234 if (bits >= 8 && bits < ((dst - odst) * 8)) in inet_net_pton_ipv4()
235 bits = (int)(dst - odst) * 8; in inet_net_pton_ipv4()
238 while (bits > ((dst - odst) * 8)) { in inet_net_pton_ipv4()
Dinet_neta.c96 char *odst = dst; in inet_neta() local
115 if (dst == odst) { in inet_neta()
120 return (odst); in inet_neta()
Dinet_net_ntop.c91 char *odst = dst; in inet_net_ntop_ipv4() local
126 if (dst != odst) in inet_net_ntop_ipv4()
137 return (odst); in inet_net_ntop_ipv4()
Dns_ttl.c81 char *odst = dst; in ns_format_ttl() local
116 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl()
121 return ((int)(dst - odst)); in ns_format_ttl()