internal/abi.Type.Elem (method)
50 uses
internal/abi (current package)
type.go#L380: func (t *Type) Elem() *Type {
internal/reflectlite
type.go#L306: et := t.Elem()
type.go#L552: return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L558: if V.ChanDir() == abi.BothDir && haveIdenticalType(T.Elem(), V.Elem(), cmpTags) {
type.go#L563: return V.ChanDir() == T.ChanDir() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L594: return haveIdenticalType(T.Key(), V.Key(), cmpTags) && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L597: return haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
reflect
type.go#L738: et := t.Elem()
type.go#L1237: ntyp = ntyp.Elem()
type.go#L1524: return V.ChanDir() == abi.BothDir && (nameFor(T) == "" || nameFor(V) == "") && haveIdenticalType(T.Elem(), V.Elem(), true)
type.go#L1583: return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1586: return V.ChanDir() == T.ChanDir() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1617: return haveIdenticalType(T.Key(), V.Key(), cmpTags) && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1620: return haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L2246: elem := ft.Elem()
value.go#L306: if v.typ().Elem().Kind() != abi.Uint8 {
value.go#L312: if v.typ().Elem().Kind() != abi.Uint8 {
value.go#L329: if v.typ().Elem().Kind() != abi.Int32 {
value.go#L1166: if v.typ().Elem().Kind() == abi.Array {
value.go#L1167: return v.typ().Elem().Len()
value.go#L1299: if v.Kind() == Pointer && v.typ().Elem().Kind() == abi.Struct {
value.go#L1322: if v.Kind() == Ptr && v.typ().Elem().Kind() == abi.Struct {
value.go#L1324: return Value{}, errors.New("reflect: indirection through nil pointer to embedded struct field " + nameFor(v.typ().Elem()))
value.go#L1844: if v.typ().Elem().Kind() == abi.Array {
value.go#L1845: return v.typ().Elem().Len()
value.go#L2169: if v.typ().Elem().Kind() != abi.Int32 {
value.go#L2676: t := v.typ().Elem()
value.go#L2764: stringCopy = sk == String && dst.typ().Elem().Kind() == abi.Uint8
value.go#L2771: de := dst.typ().Elem()
value.go#L2773: se := src.typ().Elem()
value.go#L3339: if dst.Kind() == abi.Slice && pkgPathFor(dst.Elem()) == "" {
value.go#L3340: switch Kind(dst.Elem().Kind()) {
value.go#L3349: if dst.Kind() == abi.String && pkgPathFor(src.Elem()) == "" {
value.go#L3350: switch Kind(src.Elem().Kind()) {
value.go#L3359: if dst.Kind() == abi.Pointer && dst.Elem().Kind() == abi.Array && src.Elem() == dst.Elem().Elem() {
value.go#L3364: if dst.Kind() == abi.Array && src.Elem() == dst.Elem() {