Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 8 of 8) sorted by relevance

/build/soong/ui/status/
Dstatus_test.go21 func (c *counterOutput) StartAction(action *Action, counts Counts) {
22 *c = counterOutput(counts)
24 func (c *counterOutput) FinishAction(result ActionResult, counts Counts) {
25 *c = counterOutput(counts)
30 func (c counterOutput) Expect(t *testing.T, counts Counts) {
31 if Counts(c) == counts {
36 if c.TotalActions != counts.TotalActions {
37 t.Errorf("Expected %d total edges, but got %d", counts.TotalActions, c.TotalActions)
39 if c.RunningActions != counts.RunningActions {
40 t.Errorf("Expected %d running edges, but got %d", counts.RunningActions, c.RunningActions)
[all …]
Dstatus.go162 StartAction(action *Action, counts Counts)
167 FinishAction(result ActionResult, counts Counts)
183 counts Counts member
227 s.counts.TotalActions += diff
234 s.counts.RunningActions += 1
235 s.counts.StartedActions += 1
238 o.StartAction(action, s.counts)
246 s.counts.RunningActions -= 1
247 s.counts.FinishedActions += 1
250 o.FinishAction(result, s.counts)
[all …]
Dlog.go47 func (v *verboseLog) StartAction(action *Action, counts Counts) {}
49 func (v *verboseLog) FinishAction(result ActionResult, counts Counts) {
55 fmt.Fprintf(v.w, "[%d/%d] %s\n", counts.FinishedActions, counts.TotalActions, cmd)
93 func (e *errorLog) StartAction(action *Action, counts Counts) {}
95 func (e *errorLog) FinishAction(result ActionResult, counts Counts) {
/build/soong/ui/terminal/
Dstatus.go59 func (s *statusOutput) StartAction(action *status.Action, counts status.Counts) {
69 s.writer.StatusLine(s.progress(counts) + str)
72 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
78 progress := s.progress(counts) + str
96 func (s *statusOutput) progress(counts status.Counts) string {
98 …turn fmt.Sprintf("[%3d%% %d/%d] ", 100*counts.FinishedActions/counts.TotalActions, counts.Finished…
120 fmt.Fprintf(buf, "%d", counts.StartedActions)
122 fmt.Fprintf(buf, "%d", counts.TotalActions)
124 fmt.Fprintf(buf, "%d", counts.RunningActions)
126 fmt.Fprintf(buf, "%d", counts.TotalActions-counts.StartedActions)
[all …]
/build/soong/ui/tracer/
Dstatus.go42 func (s *statusOutput) StartAction(action *status.Action, counts status.Counts) {
63 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) {
/build/soong/cmd/multiproduct_kati/
Dmain.go454 func (f *failureCount) StartAction(action *status.Action, counts status.Counts) {}
456 func (f *failureCount) FinishAction(result status.ActionResult, counts status.Counts) {
/build/make/tools/droiddoc/templates-ndk/assets/
DGPL-LICENSE.txt168 access to copy the source code from the same place counts as
/build/make/core/
DLINUX_KERNEL_COPYING184 access to copy the source code from the same place counts as