Searched refs:WithTypeMode (Results 1 – 3 of 3) sorted by relevance
/external/go-cmp/cmp/ |
D | report_compare.go | 60 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)
|
D | report_reflect.go | 205 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)
|
D | report_slices.go | 96 opts = opts.WithTypeMode(emitType)
|