Lines Matching refs:d
75 func (d *depSet) embeddedDepSet() *depSet {
76 return d
177 func (d *depSet) walk(visit func(interface{})) {
180 var dfs func(d *depSet)
181 dfs = func(d *depSet) {
182 visited[d] = true
183 if d.preorder {
184 visit(d.direct)
186 for _, dep := range d.transitive {
192 if !d.preorder {
193 visit(d.direct)
197 dfs(d)
211 func (d *depSet) ToList() interface{} {
212 return d.toList(firstUnique)
221 func (d *depSet) toList(firstUniqueFunc func(interface{}) interface{}) interface{} {
222 if d == nil {
225 slice := reflect.Zero(reflect.TypeOf(d.direct))
226 d.walk(func(paths interface{}) {
231 if d.reverse {