Lines Matching refs:file_name
88 static const char *msdosify (const char *file_name);
89 static char *rename_if_dos_device_name (char *file_name);
101 char *sanitize_dos_name(char *file_name) in sanitize_dos_name() argument
105 if(!file_name) in sanitize_dos_name()
108 if(strlen(file_name) >= PATH_MAX) in sanitize_dos_name()
109 file_name[PATH_MAX-1] = '\0'; /* truncate it */ in sanitize_dos_name()
111 strcpy(new_name, msdosify(file_name)); in sanitize_dos_name()
113 Curl_safefree(file_name); in sanitize_dos_name()
121 static const char *msdosify (const char *file_name) in msdosify() argument
128 const char *s = file_name; in msdosify()
135 if(_use_lfn(file_name)) { in msdosify()
207 static char *rename_if_dos_device_name (char *file_name) in rename_if_dos_device_name() argument
216 strncpy(fname, file_name, PATH_MAX-1); in rename_if_dos_device_name()
230 strcpy(file_name, fname); in rename_if_dos_device_name()
232 return file_name; in rename_if_dos_device_name()