Home
last modified time | relevance | path

Searched refs:Writer (Results 1 – 25 of 56) sorted by relevance

123

/build/soong/ui/terminal/
Dstdio.go28 Stdout() io.Writer
29 Stderr() io.Writer
36 func (StdioImpl) Stdout() io.Writer { return os.Stdout }
37 func (StdioImpl) Stderr() io.Writer { return os.Stderr }
43 stdout io.Writer
44 stderr io.Writer
47 func NewCustomStdio(stdin io.Reader, stdout, stderr io.Writer) StdioInterface { argument
52 func (c customStdio) Stdout() io.Writer { return c.stdout }
53 func (c customStdio) Stderr() io.Writer { return c.stderr }
Dsimple_status.go25 writer io.Writer
32 func NewSimpleStatusOutput(w io.Writer, formatter formatter) status.StatusOutput { argument
Dutil.go25 func isSmartTerminal(w io.Writer) bool { argument
41 func termSize(w io.Writer) (width int, height int, ok bool) { argument
Dstatus.go29 func NewStatusOutput(w io.Writer, statusFormat string, forceSimpleOutput, quietBuild bool) status.S… argument
/build/soong/third_party/zip/
Dwriter.go19 type Writer struct { struct
33 func NewWriter(w io.Writer) *Writer { argument
34 return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}}
41 func (w *Writer) SetOffset(n int64) { argument
50 func (w *Writer) Flush() error { argument
51 return w.cw.w.(*bufio.Writer).Flush()
56 func (w *Writer) Close() error { argument
177 return w.cw.w.(*bufio.Writer).Flush()
187 func (w *Writer) Create(name string) (io.Writer, error) { argument
197 func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) { argument
[all …]
Dregister.go20 type Compressor func(w io.Writer) (io.WriteCloser, error)
31 func newFlateWriter(w io.Writer) io.WriteCloser { argument
32 fw, ok := flateWriterPool.Get().(*flate.Writer)
43 fw *flate.Writer
109 Store: func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil },
110 Deflate: func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil },
Dandroid.go25 func (w *Writer) CopyFrom(orig *File, newName string) error {
122 func (w *Writer) CreateCompressedHeader(fh *FileHeader) (io.WriteCloser, error) {
161 func (w *Writer) CreateHeaderAndroid(fh *FileHeader) (io.Writer, error) {
Dwriter_test.go127 w := NewWriter(struct{ io.Writer }{&buf})
143 func testCreate(t *testing.T, w *Writer, wt *WriteTest) { argument
Dexample_test.go88 w.RegisterCompressor(zip.Deflate, func(out io.Writer) (io.WriteCloser, error) {
/build/soong/cmd/soong_ui/
Dmain.go159 Writer: output,
236 fmt.Fprintf(ctx.Writer, "usage: %s --dumpvar-mode [--abs] <VAR>\n\n", os.Args[0])
237 …fmt.Fprintln(ctx.Writer, "In dumpvar mode, print the value of the legacy make variable VAR to stdo…
238 fmt.Fprintln(ctx.Writer, "")
240 …fmt.Fprintln(ctx.Writer, "'report_config' is a special case that prints the human-readable config …
241 fmt.Fprintln(ctx.Writer, "from the beginning of the build.")
242 fmt.Fprintln(ctx.Writer, "")
286 fmt.Fprintf(ctx.Writer, "usage: %s --dumpvars-mode [--vars=\"VAR VAR ...\"]\n\n", os.Args[0])
287 …fmt.Fprintln(ctx.Writer, "In dumpvars mode, dump the values of one or more legacy make variables, …
288 …fmt.Fprintln(ctx.Writer, "shell syntax. The resulting output may be sourced directly into a shell …
[all …]
/build/soong/rust/
Dandroidmk.go60 func(w io.Writer, outputFile android.Path) {
97 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
108 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
140 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
165 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
175 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
186 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
/build/blueprint/gotestmain/
Dgotestmain.go157 func (matchString) StartCPUProfile(w io.Writer) error {
164 func (matchString) WriteHeapProfile(w io.Writer) error {
168 func (matchString) WriteProfileTo(string, io.Writer, int) error {
176 func (matchString) StartTestLog(io.Writer) {
/build/soong/python/
Dandroidmk.go52 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
64 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
89 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
/build/soong/ui/build/
Dcontext.go38 Writer io.Writer member
/build/soong/symbol_inject/
Dsymbol_inject.go54 func InjectStringSymbol(file *File, w io.Writer, symbol, value, from string) error { argument
85 func InjectUint64Symbol(file *File, w io.Writer, symbol string, value uint64) error { argument
101 func copyAndInject(r io.ReaderAt, w io.Writer, offset uint64, buf []byte) (err error) { argument
/build/soong/android/
Dandroidmk.go57 Custom func(w io.Writer, name, prefix, moduleDir string, data AndroidMkData)
64 type AndroidMkExtraFunc func(w io.Writer, outputFile Path)
94 type AndroidMkExtraFootersFunc func(w io.Writer, name, prefix, moduleDir string, entries *AndroidMk…
383 func (a *AndroidMkEntries) write(w io.Writer) {
492 func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.Module) error { argument
512 func translateGoBinaryModule(ctx SingletonContext, w io.Writer, mod blueprint.Module, argument
544 func translateAndroidModule(ctx SingletonContext, w io.Writer, mod blueprint.Module, argument
588 func WriteAndroidMkData(w io.Writer, data AndroidMkData) { argument
608 func translateAndroidMkEntriesModule(ctx SingletonContext, w io.Writer, mod blueprint.Module, argument
Dcsuite_config.go48 func(w io.Writer, outputFile Path) {
Dvts_config.go51 func(w io.Writer, outputFile Path) {
Dfilegroup.go84 Custom: func(w io.Writer, name, prefix, moduleDir string, data AndroidMkData) {
/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go63 func Main(out io.Writer, name string, args []string) (int, error) { argument
126 func (proc *processor) process(r io.Reader, w io.Writer) error {
142 func (proc *processor) processLine(w io.Writer, line string) {
/build/soong/zip/
Dzip.go52 io.Writer anonMember
194 stderr io.Writer
223 Stderr io.Writer
270 func ZipTo(args ZipArgs, w io.Writer) error { argument
377 var out io.Writer = buf
450 func (z *ZipWriter) write(f io.Writer, pathMappings []pathMapping, manifest string, emulateJar, src…
542 var zw io.Writer
832 var fw *flate.Writer
840 if fw, ok = z.compressorPool.Get().(*flate.Writer); ok {
/build/blueprint/bpfmt/
Dbpfmt.go50 func processFile(filename string, out io.Writer) error { argument
60 func processReader(filename string, in io.Reader, out io.Writer) error { argument
/build/soong/bpfix/cmd_lib/
Dbpfix.go52 func openAndProcess(filename string, out io.Writer, fixRequest bpfix.FixRequest) error { argument
62 func processFile(filename string, in io.Reader, out io.Writer, fixRequest bpfix.FixRequest) error { argument
/build/soong/cmd/merge_zips/
Dmerge_zips.go51 WriteToZip(dest string, zw *zip.Writer) error argument
93 func (ze ZipEntryFromZip) WriteToZip(dest string, zw *zip.Writer) error {
122 func (be ZipEntryFromBuffer) WriteToZip(dest string, zw *zip.Writer) error {
140 outputWriter *zip.Writer
150 func NewOutputZip(outputWriter *zip.Writer, sortEntries, emulateJar, stripDirEntries, ignoreDuplica… argument
532 func mergeZips(inputZips []InputZip, writer *zip.Writer, manifest, pyMain string, argument
/build/soong/phony/
Dphony.go56 Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) {

123