Lines Matching refs:SANITIZE_ALLOW_PATH
151 if((flags & SANITIZE_ALLOW_PATH)) { in sanitize_file_name()
183 if((flags & SANITIZE_ALLOW_PATH) && !strncmp(target, "\\\\?\\", 4)) in sanitize_file_name()
195 (!(flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH)) && *p == ':') || in sanitize_file_name()
196 (!(flags & SANITIZE_ALLOW_PATH) && (*p == '/' || *p == '\\'))) { in sanitize_file_name()
210 if(!(flags & SANITIZE_ALLOW_PATH) && len) { in sanitize_file_name()
371 *d = ((flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH))) ? ':' : '_'; in msdosify()
378 if((flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH)) && *s == ':') in msdosify()
380 else if((flags & SANITIZE_ALLOW_PATH) && (*s == '/' || *s == '\\')) in msdosify()
388 if((flags & SANITIZE_ALLOW_PATH) && idx == 0 && in msdosify()
505 if((flags & SANITIZE_ALLOW_PATH) && in rename_if_reserved_dos_device_name()
554 if(!(flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH))) { in rename_if_reserved_dos_device_name()