• Home
  • Raw
  • Download

Lines Matching refs:WriteFile

187   bool WriteFile(const FilePath& file, const std::string& content) {  in WriteFile()  function in base::__anonf96a742c0111::FilePathWatcherTest
188 int write_size = ::base::WriteFile(file, content.c_str(), content.length()); in WriteFile()
238 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
245 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
252 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F()
260 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F()
273 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
317 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
332 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
344 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
361 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
366 ASSERT_TRUE(WriteFile(file, "content v2")); in TEST_F()
399 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
403 ASSERT_TRUE(WriteFile(file, "content v2")); in TEST_F()
418 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
429 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
438 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
456 ASSERT_TRUE(WriteFile(file1, "content")); in TEST_F()
462 ASSERT_TRUE(WriteFile(file1, "content v2")); in TEST_F()
471 ASSERT_TRUE(WriteFile(file2, "content")); in TEST_F()
492 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
522 ASSERT_TRUE(WriteFile(file1, "content")); in TEST_F()
532 ASSERT_TRUE(WriteFile(subdir_file1, "content")); in TEST_F()
542 ASSERT_TRUE(WriteFile(child_dir_file1, "content v2")); in TEST_F()
546 ASSERT_TRUE(WriteFile(child_dir_file1, "content")); in TEST_F()
601 ASSERT_TRUE(WriteFile(target1_file, "content")); in TEST_F()
613 ASSERT_TRUE(WriteFile(target2_file, "content")); in TEST_F()
632 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F()
657 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
688 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
703 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
711 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F()
726 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
734 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F()
758 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
766 ASSERT_TRUE(WriteFile(file, "content v2")); in TEST_F()
792 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
796 ASSERT_TRUE(WriteFile(file, "content v2")); in TEST_F()
820 ASSERT_TRUE(WriteFile(file, "content")); in TEST_F()
824 ASSERT_TRUE(WriteFile(file, "content v2")); in TEST_F()
888 ASSERT_TRUE(WriteFile(test_file, "content")); in TEST_F()