Lines Matching defs:hlen
574 size_t hlen) /* length of hostname */
578 if(hlen < 4) /* '[::]' is the shortest possible valid string */
581 hlen -= 2;
586 if(hlen != len) {
587 hlen = len;
616 hostname[hlen] = 0; /* end the address there */
622 (strlen(norm) < hlen)) {
624 hlen = strlen(norm);
625 hostname[hlen + 1] = 0;
627 hostname[hlen] = ']'; /* restore ending bracket */
633 size_t hlen) /* length of hostname */
638 if(!hlen)
641 return ipv6_parse(u, hostname, hlen);
645 if(hlen != len)