Lines Matching refs:Elem
47 mi = getMergeInfo(reflect.TypeOf(dst).Elem())
143 out := dst.asPointerTo(mi.typ).Elem()
144 in := src.asPointerTo(mi.typ).Elem()
203 if tf.Kind() == reflect.Slice && tf.Elem().Kind() != reflect.Uint8 {
205 tf = tf.Elem()
209 tf = tf.Elem()
501 case tf.Elem().Kind() != reflect.Uint8:
575 sm := src.asPointerTo(tf).Elem()
579 dm := dst.asPointerTo(tf).Elem()
584 switch tf.Elem().Kind() {
613 su := src.asPointerTo(tf).Elem()
615 du := dst.asPointerTo(tf).Elem()
616 typ := su.Elem().Type()
617 if du.IsNil() || du.Elem().Type() != typ {
618 du.Set(reflect.New(typ.Elem())) // Initialize interface if empty
620 sv := su.Elem().Elem().Field(0)
624 dv := du.Elem().Elem().Field(0)
626 dv.Set(reflect.New(sv.Type().Elem())) // Initialize proto message if empty