Home | History | Annotate | Download | only in fileapi

Lines Matching defs:DRIVE

16 #define DRIVE FPL("C:")
18 #define DRIVE
43 { "test", DRIVE FPL("/foo/test"), true, DRIVE FPL("/foo/test") },
45 { "bbb", DRIVE FPL("/bbb"), true, DRIVE FPL("/bbb") },
47 { "test11", DRIVE FPL("/foo/test11"), true, DRIVE FPL("/foo/test11") },
49 { "test1", DRIVE FPL("/foo/test1"), true, DRIVE FPL("/foo/test1") },
51 { "", DRIVE FPL(""), false, NULL },
53 { "", DRIVE FPL("/ddd"), false, NULL },
57 { "not_base_name", DRIVE FPL("/x/y/z"), true, DRIVE FPL("/x/y/z") },
59 { "invalid", DRIVE FPL("../foo/invalid"), false, NULL },
61 { "relative", DRIVE FPL("foo/relative"), false, NULL },
63 { "path_exists", DRIVE FPL("/foo/test"), false, NULL },
65 { "test", DRIVE FPL("/foo/a/test_name_exists"), false,
66 DRIVE FPL("/foo/test") },
68 { "a1", DRIVE FPL("/foo/test/a"), false, NULL },
70 { "foo1", DRIVE FPL("/foo"), false, NULL },
72 { "g", DRIVE FPL("/foo/a/b/c/d/e/f/g"), true,
73 DRIVE FPL("/foo/a/b/c/d/e/f/g") },
75 { "ff", DRIVE FPL("/foo/a/b/c/d/e/ff"), true,
76 DRIVE FPL("/foo/a/b/c/d/e/ff") },
78 { "yyy", DRIVE FPL("/zzz/yyy"), true, DRIVE FPL("/zzz/yyy") },
80 { "zzz1", DRIVE FPL("/zzz"), false, NULL },
82 { "xxx1", DRIVE FPL("/zzz/yyy/xxx"), false, NULL },
84 { "b", DRIVE FPL("/a/b"), true, DRIVE FPL("/a/b") },
86 { "a2", DRIVE FPL("/a"), false, NULL },
88 { "c1", DRIVE FPL("/a/b/c"), false, NULL },
90 { "root", DRIVE FPL("/"), false, NULL },
92 { "funky", DRIVE FPL("/tt/fun/../funky"), false, NULL },
95 { "win", DRIVE FPL("\\try\\separators\\win"), true,
96 DRIVE FPL("\\try\\separators\\win") },
97 { "win1", DRIVE FPL("\\try/separators\\win1"), true,
98 DRIVE FPL("\\try/separators\\win1") },
99 { "win2", DRIVE FPL("\\try/separators\\win"), false, NULL },
101 { "win", DRIVE FPL("\\separators\\win"), false, NULL },
102 { "win1", DRIVE FPL("\\try/separators\\win1"), false, NULL },
105 { "win2", DRIVE FPL("try\\separators\\win2"), false, NULL },
141 base::FilePath(DRIVE FPL("/a/b/c")));
146 base::FilePath(DRIVE FPL("/a/b/c(1)")));
150 base::FilePath(DRIVE FPL("/z/y/x")));
154 base::FilePath(DRIVE FPL("/m/n/o")));
159 base::FilePath(DRIVE FPL("/root/foo")));
176 { DRIVE FPL("/a/b"), false, FPL("") },
178 { DRIVE FPL("/z/y"), false, FPL("") },
180 { DRIVE FPL("/m/n"), false, FPL("") },
182 { DRIVE FPL("/foo/mount"), false, FPL("") },
184 { DRIVE FPL("/a/b/c1"), false, FPL("") },
186 { DRIVE FPL("a/b/c"), false, FPL("") },
188 { DRIVE FPL("/a/b/d/e"), false, FPL("") },
190 { DRIVE FPL("/z/y/v/u"), false, FPL("") },
192 { DRIVE FPL("/m/n/p/q"), false, FPL("") },
194 { DRIVE FPL("/a/b/c"), true, FPL("c") },
196 { DRIVE FPL("/z/y/x"), true, FPL("x") },
198 { DRIVE FPL("/m/n/o"), true, FPL("o") },
200 { DRIVE FPL("/a/b/c/d/e"), true, FPL("c/d/e") },
202 { DRIVE FPL("/z/y/x/v/u"), true, FPL("x/v/u") },
204 { DRIVE FPL("/m/n/o/p/q"), true, FPL("o/p/q") },
206 { DRIVE FPL("/root/foo/a/b/c"), true, FPL("mount/a/b/c") },
207 { DRIVE FPL("/root/foo"), true, FPL("mount") },
210 { DRIVE FPL("/a/b/c(1)/d/e"), true, FPL("c(1)/d/e") },
213 { DRIVE FPL("/a\\b\\c/d"), true, FPL("c/d") },
219 base::FilePath virtual_path(DRIVE FPL("/mount"));
276 base::FilePath(DRIVE FPL("/a/b/c")));
280 base::FilePath(DRIVE FPL("/a/b/c(1)")));
288 base::FilePath(DRIVE FPL("/root")));
316 true, fileapi::kFileSystemTypeNativeLocal, DRIVE FPL("/a/b/c/d/e"), "c" },
318 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/a/b/c(1)/d/e"), "c(1)" },
320 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/a/b/c(1)"), "c(1)" },
326 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/root/a/b"), "mount" },
328 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/root"), "mount" },
349 true, fileapi::kFileSystemTypeNativeLocal, DRIVE FPL("/a/b/c/d/e"), "c" },
351 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/root/a/b"), "mount" },
393 base::FilePath(DRIVE FPL("/a/b/c")));
397 base::FilePath(DRIVE FPL("/a/b/c(1)")));
405 base::FilePath(DRIVE FPL("/root")));
417 true, fileapi::kFileSystemTypeNativeLocal, DRIVE FPL("/a/b/c/d/e"), "c" },
419 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/a/b/c(1)/d/e"), "c(1)" },
421 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/a/b/c(1)"), "c(1)" },
427 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/root/a/b"), "mount" },
429 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/root"), "mount" },
450 true, fileapi::kFileSystemTypeNativeLocal, DRIVE FPL("/a/b/c/d/e"), "c" },
452 true, fileapi::kFileSystemTypeDrive, DRIVE FPL("/root/a/b"), "mount" },
492 base::FilePath(DRIVE FPL("/nosync")));
497 base::FilePath(DRIVE FPL("/sync")));