Lines Matching refs:hostname
144 const char *hostname, int port,
153 char *hostname; /* hostname to resolve, Curl_async.hostname member
188 free(tsd->hostname); in destroy_thread_sync_data()
208 const char *hostname, in init_thread_sync_data() argument
248 tsd->hostname = strdup(hostname); in init_thread_sync_data()
249 if(!tsd->hostname) in init_thread_sync_data()
311 rc = Curl_getaddrinfo_ex(tsd->hostname, service, &tsd->hints, &tsd->res); in getaddrinfo_thread()
367 tsd->res = Curl_ipv4_resolve_r(tsd->hostname, tsd->port); in gethostbyname_thread()
436 free(async->hostname); in destroy_async_data()
437 async->hostname = NULL; in destroy_async_data()
447 const char *hostname, int port, in init_resolve_thread() argument
464 if(!init_thread_sync_data(td, hostname, port, hints)) { in init_resolve_thread()
470 free(asp->hostname); in init_resolve_thread()
471 asp->hostname = strdup(hostname); in init_resolve_thread()
472 if(!asp->hostname) in init_resolve_thread()
682 const char *hostname, in Curl_resolver_getaddrinfo() argument
693 if(init_resolve_thread(data, hostname, port, NULL)) { in Curl_resolver_getaddrinfo()
709 const char *hostname, in Curl_resolver_getaddrinfo() argument
736 if(init_resolve_thread(data, hostname, port, &hints)) { in Curl_resolver_getaddrinfo()