Home
last modified time | relevance | path

Searched refs:WithTypeMode (Results 1 – 3 of 3) sorted by relevance

/external/go-cmp/cmp/
Dreport_compare.go60 func (opts formatOptions) WithTypeMode(t typeMode) formatOptions { func
139 outx := opts.WithTypeMode(elideType).FormatValue(v.ValueX, parentKind, ptrs)
140 outy := opts.WithTypeMode(elideType).FormatValue(v.ValueY, parentKind, ptrs)
142 opts2 := verbosityPreset(opts, i).WithTypeMode(elideType)
152 return opts.WithTypeMode(emitType).FormatType(v.Type, list)
171 out := opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
196 out = opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
211 opts = opts.WithTypeMode(autoType)
215 opts = opts.WithTypeMode(elideType)
219 opts = opts.WithTypeMode(elideType)
Dreport_reflect.go205 s := opts.WithTypeMode(autoType).FormatValue(vv, t.Kind(), ptrs)
238 s := opts.WithTypeMode(elideType).FormatValue(v.Index(i), t.Kind(), ptrs)
272 sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
308 return opts.WithTypeMode(emitType).FormatValue(v.Elem(), t.Kind(), ptrs)
Dreport_slices.go96 opts = opts.WithTypeMode(emitType)