Lines Matching refs:hostlen
471 size_t hostlen, /* length or zero */ in Curl_cache_addr() argument
488 if(!hostlen) in Curl_cache_addr()
489 hostlen = strlen(hostname); in Curl_cache_addr()
492 dns = calloc(1, sizeof(struct Curl_dns_entry) + hostlen); in Curl_cache_addr()
498 entry_len = create_hostcache_id(hostname, hostlen, port, in Curl_cache_addr()
511 if(hostlen) in Curl_cache_addr()
512 memcpy(dns->hostname, hostname, hostlen); in Curl_cache_addr()
533 const size_t hostlen = strlen(name); in get_localhost6() local
537 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1); in get_localhost6()
571 const size_t hostlen = strlen(name); in get_localhost() local
584 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1); in get_localhost()