Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 4 of 4) sorted by relevance

/build/soong/ui/terminal/
Dsimple_status.go26 formatter formatter member
32 func NewSimpleStatusOutput(w io.Writer, formatter formatter) status.StatusOutput { argument
35 formatter: formatter,
41 fmt.Fprintln(s.writer, s.formatter.message(level, message))
54 progress := s.formatter.progress(counts) + str
56 output := s.formatter.result(result)
Dstatus.go30 formatter := newFormatter(statusFormat, quietBuild)
33 return NewSmartStatusOutput(w, formatter)
35 return NewSimpleStatusOutput(w, formatter)
Dformat.go25 type formatter struct { struct
35 func newFormatter(format string, quiet bool) formatter {
36 return formatter{
43 func (s formatter) message(level status.MsgLevel, message string) string { argument
54 func (s formatter) progress(counts status.Counts) string { argument
105 func (s formatter) result(result status.ActionResult) string { argument
Dsmart_status.go40 formatter formatter member
61 func NewSmartStatusOutput(w io.Writer, formatter formatter) status.StatusOutput { argument
64 formatter: formatter,
110 str := s.formatter.message(level, message)
130 progress := s.formatter.progress(counts)
149 progress := s.formatter.progress(counts) + str
151 output := s.formatter.result(result)