Lines Matching refs:name
40 #define IDN2_LOOKUP(name, host, flags) \
41 idn2_lookup_u8((const uint8_t *)name, (uint8_t **)host, flags)
43 #define IDN2_LOOKUP(name, host, flags) \
44 idn2_lookup_ul((const char *)name, (char **)host, flags)
153 * CURLE_URL_MALFORMAT - the host name could not be converted
263 /* set the name we use to display the host name */
264 host->dispname = host->name;
267 /* Check name for non-ASCII and convert hostname if we can */
268 if(!Curl_is_ASCII_name(host->name)) {
270 CURLcode result = idn_decode(host->name, &decoded);
273 /* zero length is a bad host name */
279 /* change the name pointer to point to the encoded hostname */
280 host->name = host->encalloc;