internal/abi.Type.Size (method)

43 uses

	internal/abi (current package)
		type.go#L435: func (t *Type) Size() uintptr { return t.Size_ }

	internal/reflectlite
		swapper.go#L35: 	size := typ.Size()
		value.go#L103: 	if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {

	reflect
		abi.go#L128: 	if t.Size() == 0 {
		abi.go#L153: 		a.stackAssign(t.Size(), uintptr(t.Align()))
		abi.go#L201: 		return a.assignIntN(offset, t.Size(), 1, 0b1)
		abi.go#L203: 		return a.assignIntN(offset, t.Size(), 1, 0b0)
		abi.go#L212: 		return a.assignFloatN(offset, t.Size(), 1)
		abi.go#L425: 			spill += arg.Size()
		swapper.go#L36: 	size := typ.Size()
		type.go#L581: func (t *rtype) Size() uintptr { return t.t.Size() }
		type.go#L2888: 	esize := etyp.Size()
		value.go#L112: 	if v.typ().Size() != goarch.PtrSize || !v.typ().Pointers() {
		value.go#L475: 	if frametype.Size() != 0 {
		value.go#L484: 	frameSize := frametype.Size()
		value.go#L584: 	call(frametype, fn, stackArgs, uint32(frametype.Size()), uint32(abid.retOffset), uint32(frameSize), &regArgs)
		value.go#L609: 			if tv.Size() == 0 {
		value.go#L713: 		if typ.Size() == 0 {
		value.go#L726: 				if typ.Size() > 0 {
		value.go#L788: 			if typ.Size() == 0 {
		value.go#L1089: 	methodFrameSize := methodFrameType.Size()
		value.go#L1101: 	call(methodFrameType, methodFn, methodFrame, uint32(methodFrameType.Size()), uint32(methodABI.retOffset), uint32(methodFrameSize), &methodRegs)
		value.go#L1115: 	if retSize := methodFrameType.Size() - methodABI.retOffset; retSize > 0 {
		value.go#L1402: 		offset := uintptr(i) * typ.Size()
		value.go#L1422: 		val := arrayAt(s.Data, i, typ.Size(), "i < s.Len")
		value.go#L1593: 		if typ.Equal != nil && typ.Size() <= abi.ZeroValSize {
		value.go#L1602: 			return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
		value.go#L1621: 		if typ.Equal != nil && typ.Size() <= abi.ZeroValSize {
		value.go#L1628: 			return isZero(unsafe.Slice(((*byte)(v.ptr)), typ.Size()))
		value.go#L1804: 	if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.MapMaxElemBytes {
		value.go#L2158: 		bitSize := v.typ().Size() * 8
		value.go#L2171: 		bitSize := v.typ_.Size() * 8 // ok to use v.typ_ directly as Size doesn't escape
		value.go#L2444: 	if (tt.Key == stringType || key.kind() == String) && tt.Key == key.typ() && tt.Elem.Size() <= abi.MapMaxElemBytes {
		value.go#L2574: 		s.Data = arrayAt(base, i, typ.Elem.Size(), "i < cap")
		value.go#L2626: 		s.Data = arrayAt(base, i, typ.Elem.Size(), "i < k <= cap")
		value.go#L3297: 		if t.Size() <= abi.ZeroValSize {
		value.go#L3628: 	switch typ.Size() {
		value.go#L3646: 	switch typ.Size() {
		value.go#L3668: 	switch typ.Size() {

	runtime
		map.go#L1841: 			typedmemmove(t.Key, add(s.array, uintptr(s.len)*uintptr(t.Key.Size())), k)
		map.go#L1906: 			typedmemmove(t.Elem, add(s.array, uintptr(s.len)*uintptr(t.Elem.Size())), ele)
		tracetype.go#L68: 	w.varint(uint64(typ.Size()))

	unique
		clone.go#L85: 		offset += etyp.Size()