Lines Matching refs:hostlen
475 size_t hostlen, /* length or zero */
491 if(!hostlen)
492 hostlen = strlen(hostname);
495 dns = calloc(1, sizeof(struct Curl_dns_entry) + hostlen);
501 entry_len = create_hostcache_id(hostname, hostlen, port,
510 if(hostlen)
511 memcpy(dns->hostname, hostname, hostlen);
532 const size_t hostlen = strlen(name);
536 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1);
570 const size_t hostlen = strlen(name);
583 ca = calloc(1, sizeof(struct Curl_addrinfo) + ss_size + hostlen + 1);