Lines Matching refs:osutil

154 	osutil.MkdirAll(crashdir)
236 f, err := os.OpenFile(*flagBench, os.O_WRONLY|os.O_CREATE|os.O_EXCL, osutil.DefaultFilePerm)
278 osutil.HandleInterrupts(vm.Shutdown)
591 if _, err := osutil.Run(10*time.Minute, cmd); err != nil {
641 osutil.MkdirAll(dir)
642 …if err := osutil.WriteFile(filepath.Join(dir, "description"), []byte(crash.Title+"\n")); err != ni…
664 osutil.WriteFile(filepath.Join(dir, fmt.Sprintf("log%v", oldestI)), crash.Output)
666 osutil.WriteFile(filepath.Join(dir, fmt.Sprintf("tag%v", oldestI)), []byte(mgr.cfg.Tag))
669 osutil.WriteFile(filepath.Join(dir, fmt.Sprintf("report%v", oldestI)), crash.Report.Report)
683 if osutil.IsExist(filepath.Join(dir, "repro.prog")) {
687 if !osutil.IsExist(filepath.Join(dir, fmt.Sprintf("repro%v", i))) {
726 osutil.MkdirAll(dir)
729 if !osutil.IsExist(name) {
793 osutil.MkdirAll(dir)
795 if err := osutil.WriteFile(filepath.Join(dir, "description"), []byte(rep.Title+"\n")); err != nil {
798 osutil.WriteFile(filepath.Join(dir, "repro.prog"), append([]byte(opts), prog...))
800 osutil.WriteFile(filepath.Join(dir, "repro.tag"), []byte(mgr.cfg.Tag))
803 osutil.WriteFile(filepath.Join(dir, "repro.log"), rep.Output)
806 osutil.WriteFile(filepath.Join(dir, "repro.report"), rep.Report)
809 osutil.WriteFile(filepath.Join(dir, "repro.cprog"), cprogText)
822 osutil.WriteFile(filename, []byte(text))
1085 if vmlinux := filepath.Join(cfg.KernelObj, "vmlinux"); osutil.IsExist(vmlinux) {
1088 if zircon := filepath.Join(cfg.KernelObj, "zircon.elf"); osutil.IsExist(zircon) {