Home
last modified time | relevance | path

Searched refs:SANITIZE_ALLOW_PATH (Results 1 – 4 of 4) sorted by relevance

/external/curl/tests/unit/
Dunit1604.c52 ((flags & SANITIZE_ALLOW_PATH) ? in getflagstr()
106 { "f:foo", SANITIZE_ALLOW_PATH,
112 { "f:\\foo", SANITIZE_ALLOW_PATH,
118 { "f:/foo", SANITIZE_ALLOW_PATH,
122 { "\\\\?\\C:\\foo", SANITIZE_ALLOW_PATH,
162 { "f:\\com1", SANITIZE_ALLOW_PATH,
171 { "f:\\com1", SANITIZE_ALLOW_RESERVED | SANITIZE_ALLOW_PATH,
174 { "com1:\\com1", SANITIZE_ALLOW_PATH,
177 { "com1:\\com1", SANITIZE_ALLOW_RESERVED | SANITIZE_ALLOW_PATH,
184 { "\\com1", SANITIZE_ALLOW_PATH,
[all …]
/external/curl/src/
Dtool_doswin.c152 if((flags & SANITIZE_ALLOW_PATH)) { in sanitize_file_name()
184 if((flags & SANITIZE_ALLOW_PATH) && !strncmp(target, "\\\\?\\", 4)) in sanitize_file_name()
196 (!(flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH)) && *p == ':') || in sanitize_file_name()
197 (!(flags & SANITIZE_ALLOW_PATH) && (*p == '/' || *p == '\\'))) { in sanitize_file_name()
211 if(!(flags & SANITIZE_ALLOW_PATH) && len) { in sanitize_file_name()
372 *d = ((flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH))) ? ':' : '_'; in msdosify()
379 if((flags & (SANITIZE_ALLOW_COLONS|SANITIZE_ALLOW_PATH)) && *s == ':') in msdosify()
381 else if((flags & SANITIZE_ALLOW_PATH) && (*s == '/' || *s == '\\')) in msdosify()
389 if((flags & SANITIZE_ALLOW_PATH) && idx == 0 && in msdosify()
506 if((flags & SANITIZE_ALLOW_PATH) && in rename_if_reserved_dos_device_name()
[all …]
Dtool_doswin.h29 #define SANITIZE_ALLOW_PATH (1<<1) /* Allow path separators and colons */ macro
Dtool_urlglob.c701 (SANITIZE_ALLOW_PATH | in glob_match_url()