Lines Matching refs:hlen
575 size_t hlen) /* length of hostname */ in ipv6_parse() argument
579 if(hlen < 4) /* '[::]' is the shortest possible valid string */ in ipv6_parse()
582 hlen -= 2; in ipv6_parse()
587 if(hlen != len) { in ipv6_parse()
588 hlen = len; in ipv6_parse()
616 hostname[hlen] = 0; /* end the address there */ in ipv6_parse()
619 if(Curl_inet_ntop(AF_INET6, dest, hostname, hlen)) { in ipv6_parse()
620 hlen = strlen(hostname); /* might be shorter now */ in ipv6_parse()
621 hostname[hlen + 1] = 0; in ipv6_parse()
623 hostname[hlen] = ']'; /* restore ending bracket */ in ipv6_parse()
629 size_t hlen) /* length of hostname */ in hostname_check() argument
634 if(!hlen) in hostname_check()
637 return ipv6_parse(u, hostname, hlen); in hostname_check()
641 if(hlen != len) in hostname_check()