Lines Matching defs:dir
44 std::vector<std::string> GetRelativePaths(const base::FilePath& dir,
47 base::FileEnumerator files(dir, true, type);
50 EXPECT_TRUE(dir.AppendRelativePath(path, &relative));
914 base::FilePath dir = test_dir_;
915 base::FilePath dir_foo = dir.AppendASCII("foo");
917 EXPECT_TRUE(base::PathExists(dir.AppendASCII("foo.txt")));
942 base::FilePath dir = test_dir_;
943 base::FilePath dir_foo = dir.AppendASCII("foo");
945 EXPECT_FALSE(base::PathExists(dir.AppendASCII("foo.txt")));
960 const base::FilePath dir =
962 EXPECT_TRUE(base::DirectoryExists(dir));
966 dir.Append(base::FilePath::FromUTF8Unsafe("SJIS_835C_ソ.txt")),
973 ASSERT_TRUE(base::ReadFileToString(dir.Append(base::FilePath::FromUTF8Unsafe(
991 const base::FilePath dir =
993 EXPECT_TRUE(base::DirectoryExists(dir));
997 dir.Append(base::FilePath::FromUTF8Unsafe("SJIS_835C_��.txt")),
1004 ASSERT_TRUE(base::ReadFileToString(dir.Append(base::FilePath::FromUTF8Unsafe(