Lines Matching refs:spans
41 spans map[Span]SpanID member
49 t.spans = map[Span]SpanID{}
58 out := make(SpanList, len(t.spans))
59 for span, id := range t.spans {
91 func (t *Tree) addSpans(spans SpanList) SpanSet {
92 out := make(SpanSet, len(spans))
93 for _, s := range spans {
94 id, ok := t.spans[s]
96 id = SpanID(len(t.spans))
97 t.spans[s] = id
128 spans := t.addSpans(file.Covered)
136 parent.Spans = parent.Spans.addAll(spans)
140 tc.Spans = spans
150 if lower := tc.Spans.removeAll(spans); len(lower) > 0 {
162 spans = spans.removeAll(tc.Spans)
163 if len(spans) == 0 {
175 spans := SpanSet{}
179 spans = spans.addAll(group.Spans)
181 spans = spans.addAll(tc.Spans)
183 spans = spans.addAll(spans.invertAll(t.allSpans(tf, tc.Children)))
185 return spans