Home
last modified time | relevance | path

Searched refs:WriteFile (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/external/chromium_org/tools/gn/
Dpath_output_unittest.cc18 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 …]
Dninja_script_target_writer.cc52 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 …]
Dninja_binary_target_writer.cc168 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 …]
Dninja_copy_target_writer.cc40 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()
Dninja_group_target_writer.cc23 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()
Dpath_output.h60 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;
Dgyp_script_target_writer.cc68 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()
Dpath_output.cc33 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
Dninja_target_writer.cc81 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/
Dfile_path_watcher_browsertest.cc174 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/
Dfile_path_watcher_browsertest.cc169 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/
Dshell_integration_linux_unittest.cc188 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/
Dtest_flash_file.cc36 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/
Dsimple_version_upgrade_unittest.cc42 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/
Dtest_extension_dir.cc28 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()
Dextension_loading_browsertest.cc49 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/
Dfile_system_url_request_job_unittest.cc144 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/
Ddata_driven_test.cc26 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/
Ddeclarative_content_apitest.cc71 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/
Ddata_driven_test.cc26 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/
Dlogging_installer_unittest.cc23 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/
Dresize.py252 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/
Dshell_integration_unittest.cc89 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/
Dextension_resource_unittest.cc58 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/
Downer_key_util_unittest.cc74 file_util::WriteFile( in TEST_F()
94 ASSERT_EQ(0, file_util::WriteFile(key_file_, "", 0)); in TEST_F()

12345678910>>...17