Home
last modified time | relevance | path

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

123

/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/
Dbuild.go40 err := ioutil.WriteFile(buildDateTimeFile, []byte(config.buildDateTime), 0777)
110 err := ioutil.WriteFile(lowerCase, []byte(lowerData), 0777)
115 err = ioutil.WriteFile(upperCase, []byte(upperData), 0777)
235 ioutil.WriteFile(config.LastKatiSuffixFile(), []byte(config.KatiSuffix()), 0777)
Dutil_test.go63 if err := ioutil.WriteFile(src, data, 0755); err != nil {
96 if err := ioutil.WriteFile(srcExists, []byte("fake data"), 0755); err != nil {
Drbe_test.go56 if err := ioutil.WriteFile(rbeBootstrapCmd, []byte(rbeBootstrapProgram), 0755); err != nil {
122 if err := ioutil.WriteFile(rbeBootstrapCmd, []byte(tt.bootstrapProgram), 0755); err != nil {
Dupload_test.go86 if err := ioutil.WriteFile(filename, []byte("test file"), 0644); err != nil {
144 if err := ioutil.WriteFile(metricsFile, []byte("test file"), 0644); err != nil {
Dcleanbuild_test.go51 if err := ioutil.WriteFile(filepath.Join(dir, ".installed"), data, 0666); err != nil {
Dupload.go101 if err := ioutil.WriteFile(pbFile, data, 0644); err != nil {
Dfinder.go136 err = ioutil.WriteFile(filePath, desiredBytes, 0777)
/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/blueprint/bootstrap/bpglob/
Dbpglob.go81 err := ioutil.WriteFile(*out, []byte(s), 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/
Ddefs.go93 WriteFile = pctx.AndroidStaticRule("WriteFile", var
Dapi_levels.go42 Rule: WriteFile,
Dapex.go462 Rule: WriteFile,
472 Rule: WriteFile,
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go87 must(ioutil.WriteFile(*outputFile, data, 0666))
/build/blueprint/bootstrap/
Dcommand.go187 if err := ioutil.WriteFile(absolutePath(outFile), []byte(nil), outFilePermissions); err != nil {
209 err = ioutil.WriteFile(absolutePath(globFile), buffer, outFilePermissions)
/build/soong/cc/
Dsnapshot_utils.go87 Rule: android.WriteFile,
/build/blueprint/gotestrunner/
Dgotestrunner.go105 err = ioutil.WriteFile(*touch, []byte{}, 0666)
/build/soong/cmd/zipsync/
Dzipsync.go137 must(ioutil.WriteFile(*outputFile, []byte(data), 0666))
/build/soong/finder/fs/
Dfs.go44 fs.WriteFile(path, bytes, 0777)
62 WriteFile(path string, data []byte, perm os.FileMode) (err error) methodSpec
118 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error { func
119 return ioutil.WriteFile(path, data, perm)
670 func (m *MockFs) WriteFile(filePath string, data []byte, perm os.FileMode) error { func
/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/bpfix/cmd_lib/
Dbpfix.go95 err = ioutil.WriteFile(filename, res, 0644)
/build/blueprint/bpfmt/
Dbpfmt.go91 err = ioutil.WriteFile(filename, res, 0644)

123