Lines Matching refs:sanitized
70 static SANITIZEcode msdosify(char **const sanitized, const char *file_name,
73 static SANITIZEcode rename_if_reserved_dos(char **const sanitized,
103 SANITIZEcode sanitize_file_name(char **const sanitized, const char *file_name, in sanitize_file_name() argument
111 if(!sanitized) in sanitize_file_name()
114 *sanitized = NULL; in sanitize_file_name()
215 *sanitized = target; in sanitize_file_name()
294 SANITIZEcode msdosify(char **const sanitized, const char *file_name, in msdosify() argument
308 if(!sanitized) in msdosify()
311 *sanitized = NULL; in msdosify()
420 *sanitized = strdup(dos_name); in msdosify()
421 return (*sanitized ? SANITIZE_ERR_OK : SANITIZE_ERR_OUT_OF_MEMORY); in msdosify()
438 static SANITIZEcode rename_if_reserved_dos(char **const sanitized, in rename_if_reserved_dos() argument
452 if(!sanitized || !file_name) in rename_if_reserved_dos()
455 *sanitized = NULL; in rename_if_reserved_dos()
462 *sanitized = strdup(file_name); in rename_if_reserved_dos()
463 if(!*sanitized) in rename_if_reserved_dos()
549 *sanitized = strdup(fname); in rename_if_reserved_dos()
550 return (*sanitized ? SANITIZE_ERR_OK : SANITIZE_ERR_OUT_OF_MEMORY); in rename_if_reserved_dos()