Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 48) sorted by relevance

12

/build/soong/ui/terminal/
Dstatus_test.go30 calls func(stat status.StatusOutput)
132 counts status.Counts
133 stat status.StatusOutput
136 func newRunner(stat status.StatusOutput, totalActions int) *runner {
138 counts: status.Counts{TotalActions: totalActions},
143 func (r *runner) startAction(action *status.Action) {
149 func (r *runner) finishAction(result status.ActionResult) {
155 func (r *runner) finishAndStartAction(result status.ActionResult, action *status.Action) {
164 action1 = &status.Action{Description: "action1"}
165 result1 = status.ActionResult{Action: action1}
[all …]
Dsimple_status.go32 func NewSimpleStatusOutput(w io.Writer, formatter formatter) status.StatusOutput {
39 func (s *simpleStatusOutput) Message(level status.MsgLevel, message string) {
40 if level >= status.StatusLvl {
45 func (s *simpleStatusOutput) StartAction(action *status.Action, counts status.Counts) {
48 func (s *simpleStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
Dformat.go43 func (s formatter) message(level status.MsgLevel, message string) string {
44 if level >= status.ErrorLvl {
46 } else if level > status.StatusLvl {
48 } else if level == status.StatusLvl {
54 func (s formatter) progress(counts status.Counts) string {
105 func (s formatter) result(result status.ActionResult) string {
Dsmart_status.go34 action *status.Action
61 func NewSmartStatusOutput(w io.Writer, formatter formatter) status.StatusOutput {
105 func (s *smartStatusOutput) Message(level status.MsgLevel, message string) {
106 if level < status.StatusLvl {
115 if level > status.StatusLvl {
122 func (s *smartStatusOutput) StartAction(action *status.Action, counts status.Counts) {
143 func (s *smartStatusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
DAndroid.bp22 deps: ["soong-ui-status"],
27 "status.go",
Dstatus.go29 func NewStatusOutput(w io.Writer, statusFormat string, forceSimpleOutput, quietBuild bool) status.S…
/build/soong/ui/status/
Dninja.go15 package status package
33 func NewNinjaReader(ctx logger.Logger, status ToolStatus, fifo string) *NinjaReader {
42 status: status,
54 status ToolStatus member
73 …n.status.Error(fmt.Sprintf("ninja fifo didn't finish after %s", NINJA_READER_CLOSE_TIMEOUT.String(…
88 n.status.Error(fmt.Sprintf("Failed to open fifo: %v", err))
114 n.status.Error(fmt.Sprintf("Got error reading from ninja: %s", err))
123 n.status.Print(fmt.Sprintf("Missing message of size %d from ninja\n", size))
125 n.status.Error(fmt.Sprintf("Got error reading from ninja: %s", err))
133 n.status.Print(fmt.Sprintf("Error reading message from ninja: %v", err))
[all …]
Dstatus_test.go15 package status package
56 status := &Status{}
58 status.AddOutput(counts)
59 s := status.StartTool()
104 status := &Status{}
106 status.AddOutput(counts)
107 s := status.StartTool()
116 s = status.StartTool()
132 status := &Status{}
134 status.AddOutput(counts)
[all …]
DAndroid.bp20 name: "soong-ui-status",
21 pkgPath: "android/soong/ui/status",
25 "soong-ui-status-ninja_frontend",
26 "soong-ui-status-build_error_proto",
27 "soong-ui-status-build_progress_proto",
34 "status.go",
45 name: "soong-ui-status-ninja_frontend",
46 pkgPath: "android/soong/ui/status/ninja_frontend",
54 name: "soong-ui-status-build_error_proto",
55 pkgPath: "android/soong/ui/status/build_error_proto",
[all …]
Dkati_test.go15 package status package
46 status := &Status{}
48 status.AddOutput(output)
51 st: status.StartTool(),
113 status := &Status{}
115 status.AddOutput(output)
118 st: status.StartTool(),
159 status := &Status{}
161 status.AddOutput(output)
164 st: status.StartTool(),
Dstatus.go18 package status package
245 status: s,
306 status *Status member
326 d.status.updateTotalActions(diff)
344 d.status.updateTotalActions(totalDiff)
346 d.status.startAction(action)
355 d.status.finishAction(result)
359 d.status.message(VerboseLvl, msg)
362 d.status.message(StatusLvl, msg)
365 d.status.message(PrintLvl, msg)
[all …]
Dninja_test.go15 package status package
/build/soong/ui/tracer/
Dstatus.go22 func (t *tracerImpl) StatusTracer() status.StatusOutput {
26 running: map[*status.Action]actionStatus{},
39 running map[*status.Action]actionStatus
42 func (s *statusOutput) StartAction(action *status.Action, counts status.Counts) {
63 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
110 func (s *statusOutput) Message(level status.MsgLevel, message string) {}
DAndroid.bp24 "soong-ui-status",
28 "status.go",
/build/blueprint/gotestrunner/
Dgotestrunner.go93 if status, ok := e.Sys().(syscall.WaitStatus); ok && status.Exited() {
94 os.Exit(status.ExitStatus())
95 } else if status.Signaled() {
96 fmt.Fprintf(os.Stderr, "test got signal %s\n", status.Signal())
/build/soong/scripts/
Djar-args.sh57 status=0
60 status=1
68 exit $status
/build/make/tools/zipalign/
DZipAlign.cpp50 status_t status; in copyAndAlign() local
69 status = pZout->addRecompress(pZin, pEntry, &pNewEntry); in copyAndAlign()
71 status = pZout->add(pZin, pEntry, padding, &pNewEntry); in copyAndAlign()
79 status = pZout->add(pZin, pEntry, alignTo, &pNewEntry); in copyAndAlign()
82 if (status != OK) in copyAndAlign()
/build/soong/ui/metrics/proc/
Dstatus_linux_test.go27 status, err := NewProcStatus(pid, fs)
32 fmt.Printf("%d %d\b", status.VmPeak, expectedStatus.VmPeak)
33 if !reflect.DeepEqual(status, expectedStatus) {
34 t.Errorf("got %v, expecting %v for ProcStatus", status, expectedStatus)
/build/soong/cmd/multiproduct_kati/
Dmain.go160 Status status.ToolStatus
185 stat := &status.Status{}
407 action := &status.Action{
413 mpctx.Status.FinishAction(status.ActionResult{
426 Status: &status.Status{},
486 mpctx.Status.FinishAction(status.ActionResult{
493 func (f *failureCount) StartAction(action *status.Action, counts status.Counts) {}
495 func (f *failureCount) FinishAction(result status.ActionResult, counts status.Counts) {
501 func (f *failureCount) Message(level status.MsgLevel, message string) {
502 if level >= status.ErrorLvl {
/build/soong/cuj/
Dcuj.go63 stat := &status.Status{}
93 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log")))
94 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log")))
95 stat.AddOutput(status.NewProtoErrorLog(log, filepath.Join(logsDir, "build_error")))
96 stat.AddOutput(status.NewCriticalPath(log))
/build/soong/cmd/path_interposer/
Dmain.go137 if status, ok := exitErr.Sys().(syscall.WaitStatus); ok {
138 if status.Exited() {
139 return status.ExitStatus(), nil
140 } else if status.Signaled() {
141 exitCode := 128 + int(status.Signal())
/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go100 if status, ok := exitErr.Sys().(syscall.WaitStatus); ok {
101 if status.Exited() {
102 return status.ExitStatus(), nil
103 } else if status.Signaled() {
104 exitCode := 128 + int(status.Signal())
/build/soong/ui/build/
Dtest_build.go45 action := &status.Action{
141 ts.FinishAction(status.ActionResult{
148 ts.FinishAction(status.ActionResult{Action: action})
/build/make/tools/atree/
Dfs.cpp207 int status; in strip_file() local
208 waitpid(pid, &status, 0); in strip_file()
209 return status; in strip_file()
/build/make/core/
Dchecktree55 status = fd.close()
56 if status:

12