Lines Matching refs:filename
90 CURLcode add_file_name_to_url(CURL *curl, char **inurlp, const char *filename) in add_file_name_to_url() argument
124 const char *filep = strrchr(filename, '/'); in add_file_name_to_url()
125 char *file2 = strrchr(filep ? filep : filename, '\\'); in add_file_name_to_url()
133 filep = filename; in add_file_name_to_url()
182 char **filename, const char *url) in get_url_file_name() argument
191 *filename = NULL; in get_url_file_name()
222 *filename = strdup(pc); in get_url_file_name()
224 if(!*filename) in get_url_file_name()
230 SANITIZEcode sc = sanitize_file_name(&sanitized, *filename, 0); in get_url_file_name()
231 Curl_safefree(*filename); in get_url_file_name()
237 *filename = sanitized; in get_url_file_name()
249 char *alt = aprintf("%s/%s", tdir, *filename); in get_url_file_name()
250 Curl_safefree(*filename); in get_url_file_name()
251 *filename = alt; in get_url_file_name()
253 if(!*filename) in get_url_file_name()