Home
last modified time | relevance | path

Searched refs:MapIndex (Results 1 – 15 of 15) sorted by relevance

/external/go-cmp/cmp/
Dpath.go59 _ 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
Dreport_value.go63 case MapIndex:
Dcompare.go523 step := MapIndex{&mapIndex{pathStep: pathStep{typ: t.Elem()}}}
525 step.vx = vx.MapIndex(k)
526 step.vy = vy.MapIndex(k)
Dreport_reflect.go272 sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
/external/golang-protobuf/internal/protobuild/
Dbuild.go83 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/
Dutil.go268 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)
Dreflect.go222 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/
Dstep.go120 func MapIndex(k protoreflect.MapKey) Step { func
175 func (s Step) MapIndex() protoreflect.MapKey { func
/external/golang-protobuf/internal/impl/
Dconvert_map.go72 rv := ms.v.MapIndex(rk)
77 rv := ms.v.MapIndex(rk)
Dcodec_map_go111.go37 return i.v.MapIndex(i.keys[0])
Dcodec_map.go306 b, err = appendMapItem(b, key, mapv.MapIndex(key), mapi, f, opts)
/external/golang-protobuf/reflect/protorange/
Dexample_test.go148 fmt.Printf("%s%v: ", indent, last.Step.MapIndex().Interface())
278 k := last.Step.MapIndex()
Drange.go271 pushStep(p, protopath.MapIndex(k), v)
/external/go-cmp/cmp/cmpopts/
Dignore.go189 mi, ok := p.Index(-1).(cmp.MapIndex)
Dsort.go130 v.Field(1).Set(src.MapIndex(k))