internal/abi.Type.Kind (method)

100 uses

	internal/abi (current package)
		type.go#L163: func (t *Type) Kind() Kind { return Kind(t.Kind_ & KindMask) }
		type.go#L246: 	if t.Kind() == Array {
		type.go#L279: 	if t.Kind() == Chan {
		type.go#L291: 	switch t.Kind() {
		type.go#L347: 	switch t.Kind() {
		type.go#L369: 	if t.Kind() != Struct {
		type.go#L377: 	if t.Kind() != Map {
		type.go#L385: 	if t.Kind() != Array {
		type.go#L393: 	if t.Kind() != Func {
		type.go#L401: 	if t.Kind() != Interface {
		type.go#L430: 	if t.Kind() == Interface {
		type.go#L472: 	if t.Kind() == Map {

	internal/reflectlite
		swapper.go#L44: 		if typ.Kind() == String {
		type.go#L448: 	if V.Kind() == Interface {
		type.go#L524: 	if T.HasName() && V.HasName() || T.Kind() != V.Kind() {
		type.go#L537: 	if toRType(T).Name() != toRType(V).Name() || T.Kind() != V.Kind() {
		type.go#L549: 	kind := T.Kind()
		type.go#L550: 	if kind != V.Kind() {
		value.go#L147: 	f := flag(t.Kind())
		value.go#L255: 		fl |= flag(typ.Kind())
		value.go#L422: 		fl |= flag(dst.Kind())

	reflect
		abi.go#L199: 	switch Kind(t.Kind()) {
		abi.go#L246: 		print("t.Kind == ", t.Kind(), "\n")
		makefunc.go#L103: 	fl |= flag(v.typ().Kind())
		swapper.go#L45: 		if typ.Kind() == abi.String {
		type.go#L566: func (t *rtype) Kind() Kind { return Kind(t.t.Kind()) }
		type.go#L1078: 					if ntyp.Kind() == abi.Pointer {
		type.go#L1101: 				if ok || ntyp == nil || ntyp.Kind() != abi.Struct {
		type.go#L1269: 	if T.Kind() != abi.Interface {
		type.go#L1289: 	if V.Kind() == abi.Interface {
		type.go#L1377: 	if T.HasName() && V.HasName() || T.Kind() != V.Kind() {
		type.go#L1381: 	if T.Kind() == abi.Chan && specialChannelAssignability(T, V) {
		type.go#L1394: 	if nameFor(T) != nameFor(V) || T.Kind() != V.Kind() || pkgPathFor(T) != pkgPathFor(V) {
		type.go#L1406: 	kind := Kind(T.Kind())
		type.go#L1407: 	if kind != Kind(V.Kind()) {
		type.go#L1878: 	switch Kind(t.Kind()) {
		type.go#L1902: 	switch Kind(t.Kind()) {
		type.go#L1929: 	switch Kind(t.Kind()) {
		type.go#L2200: 			if f.Typ.Kind() == abi.Pointer {
		type.go#L2203: 				if k := elem.Kind(); k == abi.Pointer || k == abi.Interface {
		type.go#L2208: 			switch Kind(f.Typ.Kind()) {
		type.go#L2594: 	switch t.Kind() {
		type.go#L2800: 	if t.Kind() != abi.Func {
		type.go#L2803: 	if rcvr != nil && rcvr.Kind() == abi.Interface {
		value.go#L163: 	f := flag(t.Kind())
		value.go#L321: 		if v.typ().Elem().Kind() != abi.Uint8 {
		value.go#L327: 		if v.typ().Elem().Kind() != abi.Uint8 {
		value.go#L344: 	if v.typ().Elem().Kind() != abi.Int32 {
		value.go#L632: 				fl := flagIndir | flag(tv.Kind())
		value.go#L649: 				ret[i] = Value{tv, regArgs.Ptrs[steps[0].ireg], flag(tv.Kind())}
		value.go#L680: 			ret[i] = Value{tv, s, flagIndir | flag(tv.Kind())}
		value.go#L729: 		v := Value{typ, nil, flag(typ.Kind())}
		value.go#L889: 	if v.typ().Kind() == abi.Interface {
		value.go#L928: 	if t.Kind() == abi.Interface {
		value.go#L1181: 		if v.typ().Elem().Kind() == abi.Array {
		value.go#L1268: 		fl |= flag(typ.Kind())
		value.go#L1288: 	fl := v.flag&(flagStickyRO|flagIndir|flagAddr) | flag(typ.Kind())
		value.go#L1316: 			if v.Kind() == Pointer && v.typ().Elem().Kind() == abi.Struct {
		value.go#L1339: 			if v.Kind() == Ptr && v.typ().Elem().Kind() == abi.Struct {
		value.go#L1416: 		fl := v.flag&(flagIndir|flagAddr) | v.flag.ro() | flag(typ.Kind()) // bits same as overall array
		value.go#L1429: 		fl := flagAddr | flagIndir | v.flag.ro() | flag(typ.Kind())
		value.go#L1725: 		if v.typ().Elem().Kind() == abi.Array {
		value.go#L1770: 	fl |= flag(typ.Kind())
		value.go#L1783: 	fl := v.flag.ro() | flag(keyType.Kind())
		value.go#L1853: 	return copyVal(ktype, iter.m.flag.ro()|flag(ktype.Kind()), iterkey)
		value.go#L1879: 	key := Value{ktype, iterkey, iter.m.flag | flag(ktype.Kind()) | flagIndir}
		value.go#L1896: 	return copyVal(vtype, iter.m.flag.ro()|flag(vtype.Kind()), iterelem)
		value.go#L1922: 	elem := Value{vtype, iterelem, iter.m.flag | flag(vtype.Kind()) | flagIndir}
		value.go#L2016: 	if v.typ().Kind() == abi.Interface && v.IsNil() {
		value.go#L2206: 	val = Value{t, nil, flag(t.Kind())}
		value.go#L2296: 	if v.typ().Elem().Kind() != abi.Int32 {
		value.go#L2645: 	if v.typ().Kind() == abi.Interface {
		value.go#L2919: 		stringCopy = sk == String && dst.typ().Elem().Kind() == abi.Uint8
		value.go#L3109: 		fl := flag(t.Kind())
		value.go#L3225: 	fl := flag(t.Kind())
		value.go#L3284: 		fl |= flag(dst.Kind())
		value.go#L3462: 	switch Kind(src.Kind()) {
		value.go#L3464: 		switch Kind(dst.Kind()) {
		value.go#L3474: 		switch Kind(dst.Kind()) {
		value.go#L3484: 		switch Kind(dst.Kind()) {
		value.go#L3494: 		switch Kind(dst.Kind()) {
		value.go#L3500: 		if dst.Kind() == abi.Slice && pkgPathFor(dst.Elem()) == "" {
		value.go#L3501: 			switch Kind(dst.Elem().Kind()) {
		value.go#L3510: 		if dst.Kind() == abi.String && pkgPathFor(src.Elem()) == "" {
		value.go#L3511: 			switch Kind(src.Elem().Kind()) {
		value.go#L3520: 		if dst.Kind() == abi.Pointer && dst.Elem().Kind() == abi.Array && src.Elem() == dst.Elem().Elem() {
		value.go#L3525: 		if dst.Kind() == abi.Array && src.Elem() == dst.Elem() {
		value.go#L3530: 		if dst.Kind() == abi.Chan && specialChannelAssignability(dst, src) {
		value.go#L3541: 	if dst.Kind() == abi.Pointer && nameFor(dst) == "" &&
		value.go#L3542: 		src.Kind() == abi.Pointer && nameFor(src) == "" &&
		value.go#L3548: 		if src.Kind() == abi.Interface {
		value.go#L3572: 	return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
		value.go#L3586: 	return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
		value.go#L3594: 	return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}
		value.go#L3608: 	return Value{typ, ptr, f | flagIndir | flag(typ.Kind())}