Home
last modified time | relevance | path

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

/external/curl/tests/unit/
Dunit1604.c51 ((flags & SANITIZE_ALLOW_PATH) ? "SANITIZE_ALLOW_PATH" : ""), in getflagstr()
100 { "f:foo", SANITIZE_ALLOW_PATH,
106 { "f:\\foo", SANITIZE_ALLOW_PATH,
112 { "f:/foo", SANITIZE_ALLOW_PATH,
116 { "\\\\?\\C:\\foo", SANITIZE_ALLOW_PATH,
156 { "f:\\com1", SANITIZE_ALLOW_PATH,
165 { "f:\\com1", SANITIZE_ALLOW_RESERVED | SANITIZE_ALLOW_PATH,
168 { "com1:\\com1", SANITIZE_ALLOW_PATH,
171 { "com1:\\com1", SANITIZE_ALLOW_RESERVED | SANITIZE_ALLOW_PATH,
178 { "\\com1", SANITIZE_ALLOW_PATH,
[all …]
/external/curl/src/
Dtool_doswin.c151 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()
[all …]
Dtool_doswin.h29 #define SANITIZE_ALLOW_PATH (1<<1) /* Allow path separators and colons */ macro
Dtool_urlglob.c694 (SANITIZE_ALLOW_PATH | in glob_match_url()