Home | History | Annotate | Download | only in fileapi

Lines Matching refs:FPL

13 #define FPL(x) FILE_PATH_LITERAL(x)
16 #define DRIVE FPL("C:")
35 base::FilePath(DRIVE FPL("/a/b.txt")),
36 base::FilePath(DRIVE FPL("/c/d/e")),
37 base::FilePath(DRIVE FPL("/h/")),
38 base::FilePath(DRIVE FPL("/")),
40 base::FilePath(DRIVE FPL("\\foo\\bar")),
41 base::FilePath(DRIVE FPL("\\")),
44 base::FilePath(DRIVE FPL("/")),
45 base::FilePath(DRIVE FPL("/f/e")),
46 base::FilePath(DRIVE FPL("/f/b.txt")),
128 base::FilePath(DRIVE FPL("/foo")), NULL);
183 { FPL("foo"), true },
184 { FPL("foo/bar"), true },
185 { FPL(".."), false },
186 { FPL("foo/.."), false },
187 { FPL("foo/../bar"), false },
193 { FPL("foo\\..\\baz"), SHOULD_FAIL_WITH_WIN_SEPARATORS },
194 { FPL("foo/..\\baz"), SHOULD_FAIL_WITH_WIN_SEPARATORS },
233 { FPL("foo"), true },
234 { FPL("foo/bar"), true },
235 { FPL(".."), false },
236 { FPL("foo/.."), false },
237 { FPL("foo/../bar"), false },
243 { FPL("foo\\..\\baz"), SHOULD_FAIL_WITH_WIN_SEPARATORS },
244 { FPL("foo/..\\baz"), SHOULD_FAIL_WITH_WIN_SEPARATORS },
285 ASSERT_EQ(FPL(""), cracked_path.value());
298 const base::FilePath test_path(FPL("/mount"));
331 base::FilePath(FPL("relpath")));
336 base::FilePath database_root = base::FilePath(DRIVE FPL("/database_path"));