/external/chromium_org/tools/gn/ |
D | path_output_unittest.cc | 18 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 24 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 30 writer.WriteFile(out, SourceFile("//out/Debug/foo.cc")); in TEST() 32 writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc")); in TEST() 39 writer.WriteFile(out, SourceFile("/C:/foo/bar.cc")); in TEST() 46 writer.WriteFile(out, SourceFile("/foo/bar.cc")); in TEST() 59 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 65 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 76 writer.WriteFile(out, SourceFile("//foo/foo bar$.cc")); in TEST() 82 writer.WriteFile(out, SourceFile("//foo/\"foo\\bar\".cc")); in TEST() [all …]
|
D | ninja_script_target_writer.cc | 52 path_output_.WriteFile(out_, output_path); in Run() 87 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteRuleDefinition() 99 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteRuleDefinition() 101 path_output_.WriteFile(out_, target_->script_values().script()); in WriteRuleDefinition() 108 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteRuleDefinition() 110 path_output_.WriteFile(out_, target_->script_values().script()); in WriteRuleDefinition() 125 path_output_no_escaping_.WriteFile(source_file_stream, source); in WriteArgsSubstitutions() 148 path_output_.WriteFile(out_, sources[i]); in WriteSourceRules() 169 path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_)); in WriteStamp() 175 path_output_.WriteFile(out_, output_files[i]); in WriteStamp() [all …]
|
D | ninja_binary_target_writer.cc | 168 path_output_.WriteFile(out_, output_file); in WriteSources() 170 path_output_.WriteFile(out_, input_file); in WriteSources() 187 path_output_.WriteFile(out_, windows_manifest); in WriteLinkerStuff() 223 path_output_.WriteFile(out_, internal_output_file); in WriteLinkerStuff() 228 path_output_.WriteFile(out_, internal_output_file); in WriteLinkerStuff() 234 path_output_.WriteFile(out_, external_output_file); in WriteLinkerStuff() 275 path_output_.WriteFile(out_, windows_manifest); in WriteLinkerFlags() 309 path_output_.WriteFile(out_, internal_output_file); in WriteLinkCommand() 312 path_output_.WriteFile(out_, external_output_file); in WriteLinkCommand() 326 path_output_.WriteFile(out_, object_files[i]); in WriteLinkCommand() [all …]
|
D | ninja_copy_target_writer.cc | 40 path_output_.WriteFile(out_, output_file); in Run() 42 path_output_.WriteFile(out_, input_file); in Run() 48 path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_)); in Run() 52 path_output_.WriteFile(out_, output_files[i]); in Run()
|
D | ninja_group_target_writer.cc | 23 path_output_.WriteFile(out_, helper_.GetTargetOutputFile(target_)); in Run() 31 path_output_.WriteFile(out_, helper_.GetTargetOutputFile(deps[i].ptr)); in Run() 37 path_output_.WriteFile(out_, helper_.GetTargetOutputFile(datadeps[i].ptr)); in Run()
|
D | path_output.h | 60 void WriteFile(std::ostream& out, const SourceFile& file) const; 61 void WriteFile(std::ostream& out, const OutputFile& file) const; 62 void WriteFile(std::ostream& out, const base::FilePath& file) const;
|
D | gyp_script_target_writer.cc | 68 path_output_.WriteFile(out_, sources[i]); in WriteActionInputs() 75 path_output_.WriteFile(out_, prereqs[i]); in WriteActionInputs() 91 path_output_.WriteFile(out_, output[output_i]); in WriteActionOutputs() 103 path_output_.WriteFile(out_, SourceFile(output[output_i])); in WriteActionOutputs()
|
D | path_output.cc | 33 void PathOutput::WriteFile(std::ostream& out, const SourceFile& file) const { in WriteFile() function in PathOutput 80 void PathOutput::WriteFile(std::ostream& out, const OutputFile& file) const { in WriteFile() function in PathOutput 85 void PathOutput::WriteFile(std::ostream& out, in WriteFile() function in PathOutput
|
D | ninja_target_writer.cc | 81 file_util::WriteFile(ninja_file, contents.c_str(), in RunAndWriteFile() 94 path_output_.WriteFile(ret, prereqs[i]); in GetSourcesImplicitDeps() 103 path_output_.WriteFile(ret, helper_.GetTargetOutputFile(deps[i].ptr)); in GetSourcesImplicitDeps()
|
/external/chromium_org/base/files/ |
D | file_path_watcher_browsertest.cc | 174 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function in base::__anon7be728110111::FilePathWatcherTest 175 int write_size = file_util::WriteFile(file, content.c_str(), in WriteFile() 222 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 229 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 236 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F() 244 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F() 257 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 300 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 315 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 327 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() [all …]
|
/external/chromium/base/files/ |
D | file_path_watcher_browsertest.cc | 169 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function in base::files::__anon64d912ca0111::FilePathWatcherTest 170 int write_size = file_util::WriteFile(file, content.c_str(), in WriteFile() 210 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 216 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 223 ASSERT_TRUE(WriteFile(test_file(), "new content")); in TEST_F() 230 ASSERT_TRUE(WriteFile(source_file, "content")); in TEST_F() 242 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 278 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 292 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() 303 ASSERT_TRUE(WriteFile(test_file(), "content")); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ |
D | shell_integration_linux_unittest.cc | 188 ASSERT_FALSE(file_util::WriteFile( in TEST() 211 ASSERT_FALSE(file_util::WriteFile( in TEST() 234 ASSERT_TRUE(file_util::WriteFile( in TEST() 260 ASSERT_FALSE(file_util::WriteFile( in TEST() 265 ASSERT_FALSE(file_util::WriteFile( in TEST() 296 ASSERT_TRUE(file_util::WriteFile( in TEST() 301 ASSERT_TRUE(file_util::WriteFile( in TEST() 321 ASSERT_TRUE(file_util::WriteFile( in TEST() 341 ASSERT_TRUE(file_util::WriteFile( in TEST() 363 ASSERT_TRUE(file_util::WriteFile( in TEST() [all …]
|
/external/chromium_org/ppapi/tests/ |
D | test_flash_file.cc | 36 bool WriteFile(PP_FileHandle file_handle, const std::string& contents) { in WriteFile() function 39 BOOL result = ::WriteFile(file_handle, contents.c_str(), contents.size(), in WriteFile() 137 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestOpenFile() 146 ASSERT_FALSE(WriteFile(file_handle, contents)); in TestOpenFile() 166 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestRenameFile() 198 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestDeleteFileOrDir() 215 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestDeleteFileOrDir() 248 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestQueryFile() 284 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestGetDirContents() 313 ASSERT_TRUE(WriteFile(file_handle, contents)); in TestCreateTemporaryFile()
|
/external/chromium_org/net/disk_cache/simple/ |
D | simple_version_upgrade_unittest.cc | 42 file_util::WriteFile( in WriteFakeIndexFileV5() 58 file_util::WriteFile( in TEST() 72 file_util::WriteFile( in TEST() 99 file_util::WriteFile( in TEST() 112 file_util::WriteFile(cache_path.AppendASCII(file_name), in TEST()
|
/external/chromium_org/chrome/browser/extensions/ |
D | test_extension_dir.cc | 28 WriteFile(FILE_PATH_LITERAL("manifest.json"), manifest); in WriteManifest() 31 void TestExtensionDir::WriteFile(const base::FilePath::StringType& filename, in WriteFile() function in extensions::TestExtensionDir 35 file_util::WriteFile( in WriteFile()
|
D | extension_loading_browsertest.cc | 49 extension_dir.WriteFile(FILE_PATH_LITERAL("event.js"), ""); in IN_PROC_BROWSER_TEST_F() 50 extension_dir.WriteFile(FILE_PATH_LITERAL("newtab.html"), in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/content/browser/fileapi/ |
D | file_system_url_request_job_unittest.cc | 144 void WriteFile(const base::StringPiece& file_name, in WriteFile() function in fileapi::FileSystemURLRequestJobTest 199 WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1); in TEST_F() 216 WriteFile("bigfile", buffer.get(), buffer_size); in TEST_F() 240 WriteFile("bigfile", buffer.get(), buffer_size); in TEST_F() 260 WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1); in TEST_F() 271 WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1); in TEST_F() 319 WriteFile("file1.dat", kTestFileData, arraysize(kTestFileData) - 1); in TEST_F() 347 WriteFile("file", kTestFileData, arraysize(kTestFileData) - 1); in TEST_F()
|
/external/chromium/chrome/browser/autofill/ |
D | data_driven_test.cc | 26 bool WriteFile(const FilePath& file, const std::string& content) { in WriteFile() function 27 int write_size = file_util::WriteFile(file, content.c_str(), in WriteFile() 62 ASSERT_TRUE(WriteFile(output_file, output)); in RunDataDrivenTest()
|
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
D | declarative_content_apitest.cc | 71 ext_dir_.WriteFile( in IN_PROC_BROWSER_TEST_F() 143 ext_dir_.WriteFile(FILE_PATH_LITERAL("background.js"), kBackgroundHelpers); in IN_PROC_BROWSER_TEST_F() 194 ext_dir_.WriteFile(FILE_PATH_LITERAL("background.js"), kBackgroundHelpers); in IN_PROC_BROWSER_TEST_F() 247 ext_dir_.WriteFile(FILE_PATH_LITERAL("background.js"), kBackgroundHelpers); in IN_PROC_BROWSER_TEST_F() 275 ext_dir_.WriteFile( in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/components/autofill/core/browser/ |
D | data_driven_test.cc | 26 bool WriteFile(const base::FilePath& file, const std::string& content) { in WriteFile() function 27 int write_size = file_util::WriteFile(file, content.c_str(), in WriteFile() 64 ASSERT_TRUE(WriteFile(output_file, output)); in RunDataDrivenTest()
|
/external/chromium_org/chrome/installer/util/ |
D | logging_installer_unittest.cc | 23 file_util::WriteFile(temp_file, &test_data[0], test_data.size())); in TEST() 48 file_util::WriteFile(temp_file, &test_data[0], test_data.size())); in TEST() 70 file_util::WriteFile(temp_file, &test_data[0], test_data.size())); in TEST() 99 file_util::WriteFile(temp_file, &test_data[0], test_data.size())); in TEST()
|
/external/chromium_org/tools/grit/grit/tool/ |
D | resize.py | 252 self.WriteFile(fname, project_text) 276 self.WriteFile(fname, rc_text, self.GetEncoding()) 283 self.WriteFile(fname, header_text) 286 def WriteFile(self, filename, contents, encoding='cp1252'): member in ResizeDialog
|
/external/chromium/chrome/browser/ |
D | shell_integration_unittest.cc | 89 ASSERT_TRUE(file_util::WriteFile( in TEST() 106 ASSERT_TRUE(file_util::WriteFile( in TEST() 125 ASSERT_TRUE(file_util::WriteFile( in TEST() 128 ASSERT_TRUE(file_util::WriteFile( in TEST()
|
/external/chromium_org/extensions/common/ |
D | extension_resource_unittest.cc | 58 ASSERT_TRUE(file_util::WriteFile(outer_file, "X", 1)); in TEST() 59 ASSERT_TRUE(file_util::WriteFile(inner_file, "X", 1)); in TEST() 126 ASSERT_TRUE(file_util::WriteFile(root_resource, data.c_str(), data.length())); in TEST() 141 ASSERT_TRUE(file_util::WriteFile(make_path.AppendASCII(filename), in TEST()
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | owner_key_util_unittest.cc | 74 file_util::WriteFile( in TEST_F() 94 ASSERT_EQ(0, file_util::WriteFile(key_file_, "", 0)); in TEST_F()
|