Searched refs:MapIndex (Results 1 – 15 of 15) sorted by relevance
/external/go-cmp/cmp/ |
D | path.go | 59 _ PathStep = MapIndex{} 256 type MapIndex struct{ *mapIndex } argument 262 func (mi MapIndex) Type() reflect.Type { return mi.typ } argument 263 func (mi MapIndex) Values() (vx, vy reflect.Value) { return mi.vx, mi.vy } argument 264 func (mi MapIndex) String() string { return fmt.Sprintf("[%#v]", mi.key) } argument 267 func (mi MapIndex) Key() reflect.Value { return mi.key } argument
|
D | report_value.go | 63 case MapIndex:
|
D | compare.go | 523 step := MapIndex{&mapIndex{pathStep: pathStep{typ: t.Elem()}}} 525 step.vx = vx.MapIndex(k) 526 step.vy = vy.MapIndex(k)
|
D | report_reflect.go | 272 sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
|
/external/golang-protobuf/internal/protobuild/ |
D | build.go | 83 mv := fieldValue(fd.MapValue(), rm.MapIndex(k).Interface()) 87 rm.MapIndex(k).Interface().(Message).Build(mv) 90 rm.MapIndex(k).Interface().(Message).Build(mv.Message())
|
/external/golang-protobuf/testing/protocmp/ |
D | util.go | 268 mi, ok := p.Index(-1).(cmp.MapIndex) 326 return f.filterValue(v.MapIndex(v.MapKeys()[0])) 355 mi, ok := p.Index(-1).(cmp.MapIndex) 424 mi, ok := p.Index(-1).(cmp.MapIndex) 463 if !isEmptyMessage(v.MapIndex(k)) { 497 mi, ok := p.Index(-1).(cmp.MapIndex)
|
D | reflect.go | 222 pv := reflectValueOf(ms.v.MapIndex(k).Interface()) 232 return ms.v.MapIndex(reflect.ValueOf(k.Interface())).IsValid() 241 v := ms.v.MapIndex(reflect.ValueOf(k.Interface()))
|
/external/golang-protobuf/reflect/protopath/ |
D | step.go | 120 func MapIndex(k protoreflect.MapKey) Step { func 175 func (s Step) MapIndex() protoreflect.MapKey { func
|
/external/golang-protobuf/internal/impl/ |
D | convert_map.go | 72 rv := ms.v.MapIndex(rk) 77 rv := ms.v.MapIndex(rk)
|
D | codec_map_go111.go | 37 return i.v.MapIndex(i.keys[0])
|
D | codec_map.go | 306 b, err = appendMapItem(b, key, mapv.MapIndex(key), mapi, f, opts)
|
/external/golang-protobuf/reflect/protorange/ |
D | example_test.go | 148 fmt.Printf("%s%v: ", indent, last.Step.MapIndex().Interface()) 278 k := last.Step.MapIndex()
|
D | range.go | 271 pushStep(p, protopath.MapIndex(k), v)
|
/external/go-cmp/cmp/cmpopts/ |
D | ignore.go | 189 mi, ok := p.Index(-1).(cmp.MapIndex)
|
D | sort.go | 130 v.Field(1).Set(src.MapIndex(k))
|