Home
last modified time | relevance | path

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

12

/build/soong/cmd/dep_fixer/
Dmain.go70 err := ioutil.WriteFile(flag.Arg(0), new, 0666)
76 err := ioutil.WriteFile(*output, new, 0666)
/build/soong/ui/build/
Dupload_test.go54 if err := ioutil.WriteFile(f, []byte{}, 0777); err != nil {
131 if err := ioutil.WriteFile(filename, []byte("test file"), 0644); err != nil {
189 if err := ioutil.WriteFile(metricsFile, []byte("test file"), 0644); err != nil {
Drbe_test.go52 if err := ioutil.WriteFile(rbeBootstrapCmd, []byte(rbeBootstrapProgram), 0755); err != nil {
107 if err := ioutil.WriteFile(rbeBootstrapCmd, []byte(tt.bootstrapProgram), 0755); err != nil {
Dutil_test.go63 if err := ioutil.WriteFile(src, data, 0755); err != nil {
96 if err := ioutil.WriteFile(srcExists, []byte("fake data"), 0755); err != nil {
Dbuild.go47 err := ioutil.WriteFile(buildDateTimeFile, []byte(config.buildDateTime), 0666) // a+rw
128 if err := ioutil.WriteFile(lowerCase, []byte(lowerData), 0666); err != nil { // a+rw
132 if err := ioutil.WriteFile(upperCase, []byte(upperData), 0666); err != nil { // a+rw
285 ioutil.WriteFile(config.LastKatiSuffixFile(), []byte(config.KatiSuffix()), 0666) // a+rw
Dcleanbuild_test.go51 if err := ioutil.WriteFile(filepath.Join(dir, ".installed"), data, 0666); err != nil {
Dupload.go125 if err := ioutil.WriteFile(pbFile, data, 0644); err != nil {
/build/soong/cmd/extract_linker/
Dmain.go101 if err := ioutil.WriteFile(asmPath, asm.Bytes(), 0777); err != nil {
108 if err := ioutil.WriteFile(flagsPath, []byte(flags), 0777); err != nil {
/build/blueprint/loadplugins/
Dloadplugins.go53 err = ioutil.WriteFile(*output, buf.Bytes(), 0666)
/build/soong/cmd/soong_build/
Dqueryview.go52 err := ioutil.WriteFile(pathToFile, []byte(f.Contents), 0444)
Dmain.go304 err = ioutil.WriteFile(path, data, 0666)
333 ioutil.WriteFile(ninjaFile, []byte("build nothing: phony\n phony_output = true\n"), 0666)
334 ioutil.WriteFile(ninjaFileD,
Dwritedocs.go114 err = ioutil.WriteFile(filename, buf.Bytes(), 0666)
143 err = ioutil.WriteFile(pkgFileName, buf.Bytes(), 0666)
156 err = ioutil.WriteFile(keywordsFilename, keywordsBuf.Bytes(), 0666)
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go87 must(ioutil.WriteFile(*outputFile, data, 0666))
/build/blueprint/microfactory/
Dmicrofactory_test.go235 …if err := ioutil.WriteFile(filepath.Join(dir, "a", "a.go"), []byte(go_a_a+"\n"), 0666); err != nil…
252 …if err := ioutil.WriteFile(filepath.Join(dir, "main", "main.go"), []byte(go_main_main+"\n"), 0666)…
279 …if err := ioutil.WriteFile(filepath.Join(dir, "main", "main.go"), []byte(go_main_main+"\n"), 0666)…
392 if err := ioutil.WriteFile(filepath.Join(dir, name), []byte(contents), 0666); err != nil {
/build/soong/android/
Dmetrics.go81 err = ioutil.WriteFile(absolutePath(metricsFile), buf, 0666)
Dbazel_handler.go597 err = ioutil.WriteFile(filepath.Join(soongInjectionPath, "WORKSPACE.bazel"), []byte{}, 0666)
602 err = ioutil.WriteFile(
609 err = ioutil.WriteFile(
616 err = ioutil.WriteFile(
629 err = ioutil.WriteFile(filepath.Join(soongInjectionPath, "cquery.out"),
/build/blueprint/bootstrap/
Dcommand.go130 err = ioutil.WriteFile(path, nil, 0666)
275 …if err := ioutil.WriteFile(absolutePath(args.OutFile), []byte(nil), outFilePermissions); err != ni…
297 err = ioutil.WriteFile(absolutePath(args.GlobFile), buffer, outFilePermissions)
/build/blueprint/gotestrunner/
Dgotestrunner.go105 err = ioutil.WriteFile(*touch, []byte{}, 0666)
/build/soong/ui/metrics/proc/
Dstatus_linux_test.go23 if err := fs.WriteFile(statusFilename, statusData, 0644); err != nil {
/build/blueprint/bootstrap/bpglob/
Dbpglob.go185 err := ioutil.WriteFile(path, []byte(s), 0666)
/build/soong/cmd/zipsync/
Dzipsync.go151 must(ioutil.WriteFile(*outputFile, []byte(data), 0666))
/build/blueprint/gotestmain/
Dgotestmain.go103 err = ioutil.WriteFile(*output, buf.Bytes(), 0666)
/build/soong/cmd/path_interposer/
Dmain_test.go56 err = ioutil.WriteFile(f.Name()+"_origpath", []byte(origPATH), 0666)
/build/soong/finder/fs/
Dfs.go44 fs.WriteFile(path, bytes, 0777)
63 WriteFile(path string, data []byte, perm os.FileMode) (err error) methodSpec
123 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error { func
124 return ioutil.WriteFile(path, data, perm)
685 func (m *MockFs) WriteFile(filePath string, data []byte, perm os.FileMode) error { func
/build/soong/bpfix/cmd_lib/
Dbpfix.go95 err = ioutil.WriteFile(filename, res, 0644)

12