Lines Matching refs:file_path

23   FilePath file_path = temp_dir.path().AppendASCII("create_file_1");  in TEST()  local
38 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
45 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); in TEST()
53 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
66 file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST()
78 File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ); in TEST()
86 File file(file_path, in TEST()
95 file_path = temp_dir.path().AppendASCII("create_file_2"); in TEST()
96 File file(file_path, in TEST()
104 EXPECT_FALSE(base::PathExists(file_path)); in TEST()
110 FilePath file_path = temp_dir.path().AppendASCII("create_file"); in TEST() local
113 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_ASYNC); in TEST()
119 File file(file_path, base::File::FLAG_OPEN_ALWAYS); in TEST()
128 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); in TEST() local
131 File file(file_path, in TEST()
139 File same_file(file_path, in TEST()
149 EXPECT_FALSE(base::PathExists(file_path)); in TEST()
155 FilePath file_path = temp_dir.path().AppendASCII("read_write_file"); in TEST() local
156 File file(file_path, in TEST()
209 EXPECT_TRUE(GetFileSize(file_path, &file_size)); in TEST()
227 FilePath file_path = temp_dir.path().AppendASCII("append_file"); in TEST() local
228 File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_APPEND); in TEST()
243 File file2(file_path, in TEST()
275 FilePath file_path = temp_dir.path().AppendASCII("truncate_file"); in TEST() local
276 File file(file_path, in TEST()
293 EXPECT_TRUE(GetFileSize(file_path, &file_size)); in TEST()
309 EXPECT_TRUE(GetFileSize(file_path, &file_size)); in TEST()
390 FilePath file_path = temp_dir.path().AppendASCII("read_at_current_position"); local
391 File file(file_path,
414 FilePath file_path = temp_dir.path().AppendASCII("write_at_current_position"); local
415 File file(file_path,
437 FilePath file_path = temp_dir.path().AppendASCII("seek_file"); local
438 File file(file_path,
454 FilePath file_path = temp_dir.path().AppendASCII("file"); local
455 File file(file_path,(base::File::FLAG_CREATE |
481 FilePath file_path = temp_dir.path().AppendASCII("file"); local
482 File file(file_path,(base::File::FLAG_CREATE |
491 ASSERT_FALSE(base::PathExists(file_path));