Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 13 of 13) sorted by relevance

/build/make/tools/warn/
Dhtml_writer.py103 def writer(text): function
106 return writer
113 def dump_html_prologue(title, writer, warn_patterns, project_names): argument
114 writer('<html>\n<head>')
115 writer('<title>' + title + '</title>')
116 writer(html_head_scripts)
117 emit_stats_by_project(writer, warn_patterns, project_names)
118 writer('</head>\n<body>')
119 writer(html_big(title))
120 writer('<p>')
[all …]
/build/blueprint/
Dninja_writer.go33 writer io.Writer member
38 func newNinjaWriter(writer io.Writer) *ninjaWriter {
40 writer: writer,
75 _, err := io.WriteString(n.writer, line)
85 _, err := fmt.Fprintf(n.writer, "# %s\n", line)
96 _, err := fmt.Fprintf(n.writer, "pool %s\n", name)
102 _, err := fmt.Fprintf(n.writer, "rule %s\n", name)
177 _, err := fmt.Fprintf(n.writer, "%s = %s\n", name, value)
183 _, err := fmt.Fprintf(n.writer, "%s%s = %s\n", indentString[:indentWidth], name, value)
209 _, err := fmt.Fprintf(n.writer, "subninja %s\n", file)
[all …]
/build/soong/ui/terminal/
Dsmart_status.go39 writer io.Writer member
63 writer: w,
91 fmt.Fprintf(s.writer, ansi.hideCursor())
194 fmt.Fprintf(s.writer, ansi.resetScrollingMargins())
195 _, height, _ := termSize(s.writer)
197 fmt.Fprintf(s.writer, ansi.setCursor(height-s.tableHeight, 1))
199 fmt.Fprintf(s.writer, ansi.showCursor())
212 fmt.Fprintln(s.writer)
219 fmt.Fprint(s.writer, "\r", ansi.clearToEndOfLine())
222 fmt.Fprint(s.writer, str)
[all …]
Dsimple_status.go25 writer io.Writer member
34 writer: w,
41 fmt.Fprintln(s.writer, s.formatter.message(level, message))
60 fmt.Fprint(s.writer, progress, "\n", output)
62 fmt.Fprintln(s.writer, progress)
69 fmt.Fprint(s.writer, string(p))
/build/soong/cmd/soong_ui/
Dmain.go446 writer := ctx.Writer
447 fmt.Fprintln(writer, "! The argument `showcommands` is no longer supported.")
448 …fmt.Fprintln(writer, "! Instead, the verbose log is always written to a compressed file in the out…
449 fmt.Fprintln(writer, "!")
450 fmt.Fprintf(writer, "! gzip -cd %s/verbose.log.gz | less -R\n", logsDir)
451 fmt.Fprintln(writer, "!")
452 fmt.Fprintln(writer, "! Older versions are saved in verbose.log.#.gz files")
453 fmt.Fprintln(writer, "")
462 writer := ctx.Writer
463 fmt.Fprintln(writer, "! The variable `ONE_SHOT_MAKEFILE` is obsolete.")
[all …]
/build/soong/finder/cmd/
Dfinder.go96 var writer io.Writer
98 writer = os.Stderr
100 writer = ioutil.Discard
104 logger := log.New(writer, "", log.Ldate|log.Lmicroseconds|log.Lshortfile)
/build/soong/cmd/zip2zip/
Dzip2zip.go92 writer := zip.NewWriter(output)
94 err := writer.Close()
100 if err := zip2zip(&reader.Reader, writer, *sortGlobs, *sortJava, *setTime,
113 func zip2zip(reader *zip.Reader, writer *zip.Writer, sortOutput, sortJava, setTime bool,
226 zw, err := writer.CreateHeaderAndroid(&fh)
242 err := writer.CopyFrom(match.File, match.newName)
/build/soong/cmd/extract_apks/
Dmain.go359 writer Zip2ZipWriter, partition string) ([]string, error) {
409 if err := writer.CopyFrom(apkFile, outName); err != nil {
545 writer := zip.NewWriter(outFile)
547 if err := writer.Close(); err != nil {
551 apkcerts, err := apkSet.writeApks(sel, targetConfig, writer, *partition)
Dmain_test.go480 writer := testZip2ZipWriter{make(map[string]string)}
482 apkcerts, err := apkSet.writeApks(sel, config, writer, testCase.partition)
486 if !reflect.DeepEqual(testCase.expectedZipEntries, writer.entries) {
487 t.Errorf("expected zip entries %v, got %v", testCase.expectedZipEntries, writer.entries)
/build/soong/cmd/merge_zips/
Dmerge_zips.go532 func mergeZips(inputZips []InputZip, writer *zip.Writer, manifest, pyMain string,
536 out := NewOutputZip(writer, sortEntries, emulateJar, stripDirEntries, ignoreDuplicates)
725 writer := zip.NewWriter(outputZip)
727 err := writer.Close()
732 writer.SetOffset(offset)
748 err = mergeZips(inputZips, writer, *manifest, *pyMain, *sortEntries, *emulateJar, *emulatePar,
Dmerge_zips_test.go251 writer := zip.NewWriter(out)
253 err := mergeZips(inputZips, writer, "", "",
257 closeErr := writer.Close()
/build/soong/third_party/zip/
DAndroid.bp22 "writer.go",
/build/make/tools/zipalign/
DZipFile.cpp1293 BufferWriter writer(buf, unlen); in uncompress() local
1294 if (zip_archive::Inflate(reader, clen, unlen, &writer, nullptr) != 0) { in uncompress()