type internal/abi.Type

199 uses

	internal/abi (current package)
		iface.go#L16: 	Type  *Type
		iface.go#L25: 	Type *Type
		map_noswiss.go#L26: 	Type
		map_noswiss.go#L27: 	Key    *Type
		map_noswiss.go#L28: 	Elem   *Type
		map_noswiss.go#L29: 	Bucket *Type // internal type representing a hash bucket
		map_swiss.go#L33: 	Type
		map_swiss.go#L34: 	Key   *Type
		map_swiss.go#L35: 	Elem  *Type
		map_swiss.go#L36: 	Group *Type // internal type representing a slot group
		type.go#L20: type Type struct {
		type.go#L178: func TypeOf(a any) *Type {
		type.go#L185: 	return (*Type)(NoEscape(unsafe.Pointer(eface.Type)))
		type.go#L189: func TypeFor[T any]() *Type {
		type.go#L193: func (t *Type) Kind() Kind { return t.Kind_ & KindMask }
		type.go#L195: func (t *Type) HasName() bool {
		type.go#L200: func (t *Type) Pointers() bool { return t.PtrBytes != 0 }
		type.go#L203: func (t *Type) IfaceIndir() bool {
		type.go#L208: func (t *Type) IsDirectIface() bool {
		type.go#L212: func (t *Type) GcSlice(begin, end uintptr) []byte {
		type.go#L272: 	Type
		type.go#L273: 	Elem  *Type // array element type
		type.go#L274: 	Slice *Type // slice type
		type.go#L279: func (t *Type) Len() int {
		type.go#L286: func (t *Type) Common() *Type {
		type.go#L301: 	Type
		type.go#L302: 	Elem *Type
		type.go#L312: func (t *Type) ChanDir() ChanDir {
		type.go#L321: func (t *Type) Uncommon() *UncommonType {
		type.go#L372: 			Type
		type.go#L380: func (t *Type) Elem() *Type {
		type.go#L402: func (t *Type) StructType() *StructType {
		type.go#L410: func (t *Type) MapType() *mapType {
		type.go#L418: func (t *Type) ArrayType() *ArrayType {
		type.go#L426: func (t *Type) FuncType() *FuncType {
		type.go#L434: func (t *Type) InterfaceType() *InterfaceType {
		type.go#L442: func (t *Type) Size() uintptr { return t.Size_ }
		type.go#L445: func (t *Type) Align() int { return int(t.Align_) }
		type.go#L447: func (t *Type) FieldAlign() int { return int(t.FieldAlign_) }
		type.go#L450: 	Type
		type.go#L455: func (t *Type) ExportedMethods() []Method {
		type.go#L463: func (t *Type) NumMethod() int {
		type.go#L474: func (t *Type) Key() *Type {
		type.go#L482: 	Type
		type.go#L483: 	Elem *Type // slice element type
		type.go#L498: 	Type
		type.go#L503: func (t *FuncType) In(i int) *Type {
		type.go#L515: func (t *FuncType) Out(i int) *Type {
		type.go#L519: func (t *FuncType) InSlice() []*Type {
		type.go#L527: 	return (*[1 << 16]*Type)(addChecked(unsafe.Pointer(t), uadd, "t.inCount > 0"))[:t.InCount:t.InCount]
		type.go#L529: func (t *FuncType) OutSlice() []*Type {
		type.go#L538: 	return (*[1 << 17]*Type)(addChecked(unsafe.Pointer(t), uadd, "outCount > 0"))[t.InCount : t.InCount+outCount : t.InCount+outCount]
		type.go#L546: 	Type
		type.go#L547: 	Elem *Type // pointer element (pointed at) type
		type.go#L552: 	Typ    *Type   // type of field
		type.go#L561: 	Type

	internal/race
		norace.go#L37: func ReadObjectPC(t *abi.Type, addr unsafe.Pointer, callerpc, pc uintptr) {
		norace.go#L46: func WriteObjectPC(t *abi.Type, addr unsafe.Pointer, callerpc, pc uintptr) {

	internal/reflectlite
		type.go#L66: 	common() *abi.Type
		type.go#L95: 	*abi.Type
		type.go#L237: func (t rtype) typeOff(off typeOff) *abi.Type {
		type.go#L238: 	return (*abi.Type)(resolveTypeOff(unsafe.Pointer(t.Type), int32(off)))
		type.go#L253: func (t rtype) common() *abi.Type { return t.Type }
		type.go#L301: func toRType(t *abi.Type) rtype {
		type.go#L305: func elem(t *abi.Type) *abi.Type {
		type.go#L414: func implements(T, V *abi.Type) bool {
		type.go#L505: func directlyAssignable(T, V *abi.Type) bool {
		type.go#L521: func haveIdenticalType(T, V *abi.Type, cmpTags bool) bool {
		type.go#L533: func haveIdenticalUnderlyingType(T, V *abi.Type, cmpTags bool) bool {
		type.go#L638: func toType(t *abi.Type) Type {
		value.go#L39: 	typ_ *abi.Type
		value.go#L93: func (v Value) typ() *abi.Type {
		value.go#L99: 	return (*abi.Type)(abi.NoEscape(unsafe.Pointer(v.typ_)))
		value.go#L400: func unsafe_New(*abi.Type) unsafe.Pointer
		value.go#L414: func (v Value) assignTo(context string, dst *abi.Type, target unsafe.Pointer) Value {
		value.go#L461: func ifaceE2I(t *abi.Type, src any, dst unsafe.Pointer)
		value.go#L466: func typedmemmove(t *abi.Type, dst, src unsafe.Pointer)

	internal/runtime/maps
		map.go#L831: func mapKeyError2(t *abi.Type, p unsafe.Pointer) error {
		map.go#L840: 		var t *abi.Type
		map.go#L892: type unhashableTypeError struct{ typ *abi.Type }
		map.go#L901: func typeString(typ *abi.Type) string
		runtime.go#L21: func typedmemmove(typ *abi.Type, dst, src unsafe.Pointer)
		runtime.go#L24: func typedmemclr(typ *abi.Type, ptr unsafe.Pointer)
		runtime.go#L27: func newarray(typ *abi.Type, n int) unsafe.Pointer
		runtime.go#L30: func newobject(typ *abi.Type) unsafe.Pointer

	reflect
		abi.go#L124: func (a *abiSeq) addArg(t *abi.Type) *abiStep {
		abi.go#L165: func (a *abiSeq) addRcvr(rcvr *abi.Type) (*abiStep, bool) {
		abi.go#L198: func (a *abiSeq) regAssign(t *abi.Type, offset uintptr) bool {
		abi.go#L387: func newAbiDesc(t *funcType, rcvr *abi.Type) abiDesc {
		badlinkname.go#L29: func unusedIfaceIndir(t *abi.Type) bool {
		badlinkname.go#L127: func badlinkname_rtype_ptrTo(*rtype) *abi.Type
		type.go#L258: 	common() *abi.Type
		type.go#L323: 	abi.Type
		type.go#L329: 	t abi.Type
		type.go#L332: func (t *rtype) common() *abi.Type {
		type.go#L381: func nameOffFor(t *abi.Type, off aNameOff) abi.Name {
		type.go#L385: func typeOffFor(t *abi.Type, off aTypeOff) *abi.Type {
		type.go#L389: func (t *interfaceType) typeOff(off aTypeOff) *abi.Type {
		type.go#L393: func (t *interfaceType) common() *abi.Type {
		type.go#L551: func resolveReflectType(t *abi.Type) aTypeOff {
		type.go#L566: func (t *rtype) typeOff(off aTypeOff) *abi.Type {
		type.go#L567: 	return (*abi.Type)(resolveTypeOff(unsafe.Pointer(t), int32(off)))
		type.go#L574: func textOffFor(t *abi.Type, off aTextOff) unsafe.Pointer {
		type.go#L698: func pkgPathFor(t *abi.Type) string {
		type.go#L721: func nameFor(t *abi.Type) string {
		type.go#L733: func toRType(t *abi.Type) *rtype {
		type.go#L737: func elem(t *abi.Type) *abi.Type {
		type.go#L893: func canRangeFunc(t *abi.Type) bool {
		type.go#L921: func canRangeFunc2(t *abi.Type) bool {
		type.go#L1232: 				var ntyp *abi.Type
		type.go#L1321: func rtypeOf(i any) *abi.Type {
		type.go#L1345: func (t *rtype) ptrTo() *abi.Type {
		type.go#L1389: func ptrTo(t *abi.Type) *abi.Type {
		type.go#L1431: func implements(T, V *abi.Type) bool {
		type.go#L1519: func specialChannelAssignability(T, V *abi.Type) bool {
		type.go#L1532: func directlyAssignable(T, V *abi.Type) bool {
		type.go#L1552: func haveIdenticalType(T, V *abi.Type, cmpTags bool) bool {
		type.go#L1564: func haveIdenticalUnderlyingType(T, V *abi.Type, cmpTags bool) bool {
		type.go#L1686: func rtypeOff(section unsafe.Pointer, off int32) *abi.Type {
		type.go#L1687: 	return (*abi.Type)(add(section, uintptr(off), "sizeof(rtype) > 0"))
		type.go#L1705: func typesByString(s string) []*abi.Type {
		type.go#L1707: 	var ret []*abi.Type
		type.go#L1748: 	t1    *abi.Type
		type.go#L1749: 	t2    *abi.Type
		type.go#L1907: 		for _, t := range ts.([]*abi.Type) {
		type.go#L1918: 		for _, t := range ts.([]*abi.Type) {
		type.go#L1925: 	addToCache := func(tt *abi.Type) Type {
		type.go#L1926: 		var rts []*abi.Type
		type.go#L1928: 			rts = rti.([]*abi.Type)
		type.go#L1947: func stringFor(t *abi.Type) string {
		type.go#L1987: func isReflexive(t *abi.Type) bool {
		type.go#L2011: func needKeyUpdate(t *abi.Type) bool {
		type.go#L2038: func hashMightPanic(t *abi.Type) bool {
		type.go#L2060: func emitGCMask(out []byte, base uintptr, typ *abi.Type, n uintptr) {
		type.go#L2570: func typeptrdata(t *abi.Type) uintptr {
		type.go#L2734: func toType(t *abi.Type) Type {
		type.go#L2743: 	rcvr *abi.Type // receiver type, or nil if none
		type.go#L2747: 	t         *abi.Type
		type.go#L2761: func funcLayout(t *funcType, rcvr *abi.Type) (frametype *abi.Type, framePool *sync.Pool, abid abiDesc) {
		type.go#L2778: 	x := &abi.Type{
		type.go#L2832: func addTypeBits(bv *bitVector, offset uintptr, t *abi.Type) {
		value.go#L42: 	typ_ *abi.Type
		value.go#L99: func (v Value) typ() *abi.Type {
		value.go#L105: 	return (*abi.Type)(abi.NoEscape(unsafe.Pointer(v.typ_)))
		value.go#L391: 		rcvrtype *abi.Type
		value.go#L872: func methodReceiver(op string, v Value, methodIndex int) (rcvrtype *abi.Type, t *funcType, fn unsafe.Pointer) {
		value.go#L1854: func copyVal(typ *abi.Type, fl flag, ptr unsafe.Pointer) Value {
		value.go#L2465: func (v Value) abiType() *abi.Type {
		value.go#L2472: func (v Value) abiTypeSlow() *abi.Type {
		value.go#L2971: func unsafe_New(*abi.Type) unsafe.Pointer
		value.go#L2974: func unsafe_NewArray(*abi.Type, int) unsafe.Pointer
		value.go#L3113: func (v Value) assignTo(context string, dst *abi.Type, target unsafe.Pointer) Value {
		value.go#L3300: func convertOp(dst, src *abi.Type) func(Value, Type) Value {
		value.go#L3652: func makechan(typ *abi.Type, size int) (ch unsafe.Pointer)
		value.go#L3653: func makemap(t *abi.Type, cap int) (m unsafe.Pointer)
		value.go#L3656: func mapaccess(t *abi.Type, m unsafe.Pointer, key unsafe.Pointer) (val unsafe.Pointer)
		value.go#L3659: func mapaccess_faststr(t *abi.Type, m unsafe.Pointer, key string) (val unsafe.Pointer)
		value.go#L3662: func mapassign0(t *abi.Type, m unsafe.Pointer, key, val unsafe.Pointer)
		value.go#L3674: func mapassign(t *abi.Type, m unsafe.Pointer, key, val unsafe.Pointer) {
		value.go#L3681: func mapassign_faststr0(t *abi.Type, m unsafe.Pointer, key string, val unsafe.Pointer)
		value.go#L3683: func mapassign_faststr(t *abi.Type, m unsafe.Pointer, key string, val unsafe.Pointer) {
		value.go#L3690: func mapdelete(t *abi.Type, m unsafe.Pointer, key unsafe.Pointer)
		value.go#L3693: func mapdelete_faststr(t *abi.Type, m unsafe.Pointer, key string)
		value.go#L3698: func mapclear(t *abi.Type, m unsafe.Pointer)
		value.go#L3726: func call(stackArgsType *abi.Type, f, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
		value.go#L3728: func ifaceE2I(t *abi.Type, src any, dst unsafe.Pointer)
		value.go#L3738: func typedmemmove(t *abi.Type, dst, src unsafe.Pointer)
		value.go#L3743: func typedmemclr(t *abi.Type, ptr unsafe.Pointer)
		value.go#L3749: func typedmemclrpartial(t *abi.Type, ptr unsafe.Pointer, off, size uintptr)
		value.go#L3755: func typedslicecopy(t *abi.Type, dst, src unsafeheader.Slice) int
		value.go#L3761: func typedarrayclear(elemType *abi.Type, ptr unsafe.Pointer, len int)
		value.go#L3764: func typehash(t *abi.Type, p unsafe.Pointer, h uintptr) uintptr
		value.go#L3769: func growslice(t *abi.Type, old unsafeheader.Slice, num int) unsafeheader.Slice
		value.go#L3772: func unsafeslice(t *abi.Type, ptr unsafe.Pointer, len int)

	runtime
		mbarrier.go#L150: func typedmemmove(typ *abi.Type, dst, src unsafe.Pointer) {
		mbitmap.go#L179: func (span *mspan) typePointersOfType(typ *abi.Type, addr uintptr) typePointers {
		mbitmap.go#L388: func bulkBarrierPreWrite(dst, src, size uintptr, typ *abi.Type) {
		mbitmap.go#L474: func bulkBarrierPreWriteSrcOnly(dst, src, size uintptr, typ *abi.Type) {
		traceallocfree.go#L115: func (tl traceLocker) HeapObjectExists(addr uintptr, typ *abi.Type) {
		traceallocfree.go#L122: func (tl traceLocker) HeapObjectAlloc(addr uintptr, typ *abi.Type) {
		traceevent.go#L90: func (tl traceLocker) rtype(typ *abi.Type) traceArg {
		tracetype.go#L26: func (t *traceTypeTable) put(typ *abi.Type) uint64 {
		tracetype.go#L48: 	typ := (*abi.Type)(*(*unsafe.Pointer)(unsafe.Pointer(&node.data[0])))
		type.go#L18: func maps_typeString(typ *abi.Type) string {
		type.go#L26: type _type = abi.Type
		type.go#L30: 	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
		type.go#L495: func toRType(t *abi.Type) rtype {

	unique
		clone.go#L38: func makeCloneSeq(typ *abi.Type) cloneSeq {
		clone.go#L56: func buildStructCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) {
		clone.go#L72: func buildArrayCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) {
		handle.go#L64: var uniqueMaps isync.HashTrieMap[*abi.Type, any] // any is always a *uniqueMap[T].