Lines Matching refs:hostname
103 err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo); in uv__getaddrinfo_work()
119 else if (req->hostname) in uv__getaddrinfo_done()
120 uv__free(req->hostname); in uv__getaddrinfo_done()
126 req->hostname = NULL; in uv__getaddrinfo_done()
141 const char* hostname, in uv_getaddrinfo() argument
152 if (req == NULL || (hostname == NULL && service == NULL)) in uv_getaddrinfo()
161 if (hostname != NULL) { in uv_getaddrinfo()
162 rc = uv__idna_toascii(hostname, in uv_getaddrinfo()
163 hostname + strlen(hostname), in uv_getaddrinfo()
168 hostname = hostname_ascii; in uv_getaddrinfo()
172 hostname_len = hostname ? strlen(hostname) + 1 : 0; in uv_getaddrinfo()
186 req->hostname = NULL; in uv_getaddrinfo()
202 if (hostname) in uv_getaddrinfo()
203 req->hostname = memcpy(buf + len, hostname, hostname_len); in uv_getaddrinfo()