Lines Matching refs:name
92 * asynchronous name resolves. This can be Windows or *nix.
95 * Windows, and then the name resolve will be done in a new thread, and the
105 * hostasyn.c - functions for asynchronous name resolves
106 * hostsyn.c - functions for synchronous name resolves
110 * The two asynchronous name resolver backends are implemented in:
111 * asyn-ares.c - functions for ares-using name resolves
112 * asyn-thread.c - functions for threaded name resolves
165 create_hostcache_id(const char *name,
166 size_t nlen, /* 0 or actual name length */
169 size_t len = nlen ? nlen : strlen(name);
174 /* store and lower case the name */
176 *ptr++ = Curl_raw_tolower(*name++);
527 /* return a static IPv6 ::1 for the name */
528 static struct Curl_addrinfo *get_localhost6(int port, const char *name)
532 const size_t hostlen = strlen(name);
557 strcpy(ca->ai_canonname, name);
564 /* return a static IPv4 127.0.0.1 for the given name */
565 static struct Curl_addrinfo *get_localhost(int port, const char *name)
570 const size_t hostlen = strlen(name);
594 strcpy(ca->ai_canonname, name);
596 ca6 = get_localhost6(port, name);
668 * Curl_resolv() is the main name resolve function within libcurl. It resolves
669 * a name and returns a pointer to the entry in the 'entry' argument (if one
938 /* This allows us to time-out from the name resolver, as the timeout
948 failf(data, "name lookup timed out");
983 infof(data, "timeout on name lookup is not supported");
989 /* Perform the actual name resolution. This might be interrupted by an
1325 /* ignore no name or numerical IP addresses */
1414 then a successful name resolve has been received.