/third_party/gn/src/gn/ |
D | path_output_unittest.cc | 22 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 28 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 34 writer.WriteFile(out, SourceFile("//out/Debug/foo.cc")); in TEST() 36 writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc")); in TEST() 43 writer.WriteFile(out, SourceFile("/C:/foo/bar.cc")); in TEST() 50 writer.WriteFile(out, SourceFile("/foo/bar.cc")); in TEST() 64 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 70 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 82 writer.WriteFile(out, SourceFile("//foo/foo bar$.cc")); in TEST() 88 writer.WriteFile(out, SourceFile("//foo/\"foo\".cc")); in TEST() [all …]
|
D | setup_unittest.cc | 18 static void WriteFile(const base::FilePath& file, const std::string& data) { in WriteFile() function 20 base::WriteFile(file, data.data(), data.size())); in WriteFile() 32 WriteFile(dot_gn_name, "buildconfig = \"//BUILDCONFIG.gn\"\n"); in TEST_F() 33 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILDCONFIG.gn")), ""); in TEST_F() 58 WriteFile(dot_gn_name, in TEST_F() 62 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILDCONFIG.gn")), ""); in TEST_F() 86 WriteFile(dot_gn_name, in TEST_F() 90 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILDCONFIG.gn")), ""); in TEST_F() 117 WriteFile(dot_gn_name, in RunExtensionCheckTest() 121 WriteFile(in_path.Append(FILE_PATH_LITERAL("BUILDCONFIG.gn")), ""); in RunExtensionCheckTest()
|
D | ninja_create_bundle_target_writer.cc | 100 path_output_.WriteFile( in Run() 119 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteCodeSigningRuleDefinition() 121 path_output_.WriteFile(out_, target_->bundle_data().code_signing_script()); in WriteCodeSigningRuleDefinition() 165 path_output_.WriteFile(out_, expanded_output_file); in WriteCopyBundleFileRuleSteps() 168 path_output_.WriteFile(out_, source_file); in WriteCopyBundleFileRuleSteps() 209 path_output_.WriteFile(out_, partial_info_plist); in WriteCompileAssetsCatalogStep() 225 path_output_.WriteFile(out_, compiled_catalog); in WriteCompileAssetsCatalogStep() 232 path_output_.WriteFile(out_, partial_info_plist); in WriteCompileAssetsCatalogStep() 241 path_output_.WriteFile(out_, source); in WriteCompileAssetsCatalogStep() 246 path_output_.WriteFile(out_, input_dep); in WriteCompileAssetsCatalogStep() [all …]
|
D | path_output.cc | 25 void PathOutput::WriteFile(std::ostream& out, const SourceFile& file) const { in WriteFile() function in PathOutput 72 void PathOutput::WriteFile(std::ostream& out, const OutputFile& file) const { in WriteFile() function in PathOutput 81 WriteFile(out, file); in WriteFiles() 89 WriteFile(out, file); in WriteFiles() 97 WriteFile(out, file); in WriteFiles() 125 void PathOutput::WriteFile(std::ostream& out, in WriteFile() function in PathOutput
|
D | path_output.h | 51 void WriteFile(std::ostream& out, const SourceFile& file) const; 52 void WriteFile(std::ostream& out, const OutputFile& file) const; 53 void WriteFile(std::ostream& out, const base::FilePath& file) const;
|
D | ninja_action_target_writer.cc | 145 path_output_.WriteFile(out_, settings_->build_settings()->python_path()); in WriteRuleDefinition() 147 path_output_.WriteFile(out_, target_->action_values().script()); in WriteRuleDefinition() 183 path_output_.WriteFile(out_, sources[i]); in WriteSourceRules() 236 path_output_.WriteFile(out_, (*output_files)[i]); in WriteOutputFilesForBuildLine() 242 path_output_.WriteFile( in WriteDepfile()
|
D | ninja_rust_binary_target_writer.cc | 245 path_output_.WriteFile(out_, in WriteSourcesAndInputs() 250 path_output_.WriteFile(out_, OutputFile(settings_->build_settings(), data)); in WriteSourcesAndInputs() 268 path_output_.WriteFile(out_, lib_file.source_file()); in WriteExternsAndDeps() 289 path_output_.WriteFile(out_, dep.dependency_output_file()); in WriteExternsAndDeps() 368 path_output_.WriteFile(out_, nonrustdep); in WriteExternsAndDeps()
|
D | ninja_binary_target_writer.cc | 91 path_output_.WriteFile(out_, stamp_file); in WriteInputsStampAndGetDep() 98 path_output_.WriteFile(out_, *input); in WriteInputsStampAndGetDep() 365 path_output_.WriteFile(out, *optional_def_file); in WriteLinkerFlags() 384 lib_path_output.WriteFile(out, lib_file.source_file()); in WriteLibs() 420 swiftmodule_path_output.WriteFile(out, swiftmodule); in WriteSwiftModules()
|
D | ninja_copy_target_writer.cc | 114 path_output_.WriteFile(out_, output_file); in WriteCopyRules() 116 path_output_.WriteFile(out_, input_file); in WriteCopyRules()
|
D | command_clean.cc | 92 if (base::WriteFile(build_ninja_file, build_commands.data(), in CleanOneDir() 102 if (base::WriteFile(build_ninja_d_file, dummy_content.data(), in CleanOneDir()
|
D | ninja_build_writer.cc | 272 if (base::WriteFile(ninja_file_name, ninja_contents.data(), in RunAndWriteFile() 281 if (base::WriteFile(dep_file_name, dep_contents.data(), in RunAndWriteFile() 409 path_output_.WriteFile(out_, subninja); in WriteSubninjas() 616 path_output_.WriteFile(out_, target->dependency_output_file()); 627 path_output_.WriteFile(out_, default_target->dependency_output_file()); 646 path_output_.WriteFile(out_, target->dependency_output_file()); in WritePhonyRule()
|
D | standard_out.cc | 87 ::WriteFile(hstdout, "*", 1, &written, nullptr); in OutputMarkdownDec() 89 ::WriteFile(hstdout, "**", 2, &written, nullptr); in OutputMarkdownDec() 149 ::WriteFile(hstdout, tmpstr.c_str(), static_cast<DWORD>(tmpstr.size()), in OutputString()
|
/third_party/mindspore/mindspore/ccsrc/utils/system/ |
D | file_system.h | 36 class WriteFile; variable 38 using WriteFilePtr = std::shared_ptr<WriteFile>; 65 class WriteFile { 67 explicit WriteFile(const string &file_name) : file_name_(file_name) {} in WriteFile() function 69 virtual ~WriteFile() = default; 121 class PosixWriteFile : public WriteFile { 123 explicit PosixWriteFile(const string &file_name) : WriteFile(file_name), file_(nullptr) {} in PosixWriteFile() 227 class WinWriteFile : public WriteFile { 229 explicit WinWriteFile(const string &file_name) : WriteFile(file_name), file_(nullptr) {} in WinWriteFile()
|
/third_party/mindspore/mindspore/ccsrc/utils/summary/ |
D | event_writer.h | 35 using WriteFile = system::WriteFile; variable 36 using WriteFilePtr = std::shared_ptr<WriteFile>;
|
/third_party/flutter/skia/third_party/externals/spirv-tools/tools/comp/ |
D | markv.cpp | 206 if (!WriteFile<char>(nullptr, "w", comments->str, in main() 211 if (!WriteFile<uint8_t>(output_filename, "wb", markv_binary->data, in main() 232 if (!WriteFile<char>(nullptr, "w", comments->str, in main() 237 if (!WriteFile<uint32_t>(output_filename, "wb", spirv_binary->code, in main()
|
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/ |
D | perf_puppeteer_render_skps_test.go | 60 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "first_skp"), []byte("doesnt matter"), 077… 101 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "desk_carsvg.skp"), []byte("doesnt matter"… 134 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "first_skp"), []byte("doesnt matter"), 077… 176 …require.NoError(t, ioutil.WriteFile(filepath.Join(skps, "first_skp"), []byte("doesnt matter"), 077… 302 if err := ioutil.WriteFile(filepath.Join(path, name), []byte(content), 0666); err != nil {
|
/third_party/boost/libs/iostreams/test/ |
D | windows_pipe_test.cpp | 26 ::WriteFile(handles[1], buffer, 2, &written, NULL); in read_from_file_descriptor_source_test() 44 ::WriteFile(handles[1], buffer, 2, &written, NULL); in read_from_filtering_istream_test()
|
/third_party/ninja/src/ |
D | disk_interface.h | 56 virtual bool WriteFile(const string& path, const string& contents) = 0; 80 virtual bool WriteFile(const string& path, const string& contents);
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/ |
D | generate.go | 41 type WriteFile func(relpath, content string) error type 47 func Generate(s *sem.Sem, tmpl string, w io.Writer, writeFile WriteFile) error { argument 52 func (g *generator) generate(tmpl string, w io.Writer, writeFile WriteFile) error {
|
/third_party/flutter/skia/third_party/externals/wuffs/script/ |
D | extract-palette-indexes.go | 63 if err := ioutil.WriteFile(baseFilename+".palette", bPalette, 0644); err != nil { 68 if err := ioutil.WriteFile(baseFilename+".indexes", bIndexes, 0644); err != nil {
|
D | extract-deflate-offsets.go | 133 if err := ioutil.WriteFile(filename, deflateCompressed, 0666); err != nil { 173 if err := ioutil.WriteFile(filename, asZlib, 0666); err != nil {
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/ |
D | windows_screenshot.c | 109 if(!WriteFile(hfile, (void*)&bfh, sizeof(BITMAPFILEHEADER), &bytes_written, NULL) || in SaveBitmapToFile() 110 !WriteFile(hfile, (void*)&bih, sizeof(BITMAPINFOHEADER), &bytes_written, NULL) || in SaveBitmapToFile() 111 !WriteFile(hfile, (void*)bmpdata, bmpsize, &bytes_written, NULL)) in SaveBitmapToFile()
|
/third_party/skia/third_party/externals/spirv-tools/tools/reduce/ |
D | reduce.cpp | 251 WriteFile(filename, "wb", &binary[0], binary.size()); in DumpShader() 310 WriteFile(spv_file.c_str(), "wb", &binary[0], binary.size()); in main() 353 if (!WriteFile<uint32_t>(out_binary_file.c_str(), "wb", binary_out.data(), in main()
|
/third_party/spirv-tools/tools/reduce/ |
D | reduce.cpp | 251 WriteFile(filename, "wb", &binary[0], binary.size()); in DumpShader() 310 WriteFile(spv_file.c_str(), "wb", &binary[0], binary.size()); in main() 353 if (!WriteFile<uint32_t>(out_binary_file.c_str(), "wb", binary_out.data(), in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/reduce/ |
D | reduce.cpp | 251 WriteFile(filename, "wb", &binary[0], binary.size()); in DumpShader() 310 WriteFile(spv_file.c_str(), "wb", &binary[0], binary.size()); in main() 353 if (!WriteFile<uint32_t>(out_binary_file.c_str(), "wb", binary_out.data(), in main()
|