Lines Matching refs:Elem
412 if typ.Elem().Kind() == reflect.String {
417 if typ.Elem().Kind() != reflect.Ptr {
492 v := reflect.New(mt.Elem())
493 if pe := p.readStruct(v.Elem(), terminator); pe != nil {
540 ext = reflect.New(typ).Elem()
542 ext = reflect.New(typ.Elem()).Elem()
579 nv := reflect.New(oop.Type.Elem())
580 dst = nv.Elem().Field(0)
601 key := reflect.New(dst.Type().Key()).Elem()
602 val := reflect.New(dst.Type().Elem()).Elem()
640 if err := p.checkForColon(props.MapValProp, dst.Type().Elem()); err != nil {
749 if at.Elem().Kind() == reflect.Uint8 {
765 fv.Set(reflect.Append(fv, reflect.New(at.Elem()).Elem()))
785 fv.Set(reflect.Append(fv, reflect.New(at.Elem()).Elem()))
836 fv.Set(reflect.New(fv.Type().Elem()))
837 return p.readAny(fv.Elem(), props)
879 return newTextParser(s).readStruct(v.Elem(), "")