internal/abi.Type.PtrBytes (field)
74 uses
internal/abi (current package)
type.go#L22: PtrBytes uintptr // number of (prefix) bytes in the type that can contain pointers
type.go#L203: func (t *Type) Pointers() bool { return t.PtrBytes != 0 }
reflect
type.go#L2134: ptrs := typ.PtrBytes / goarch.PtrSize
type.go#L2564: typ.PtrBytes = typeptrdata(&typ.Type)
type.go#L2572: if typ.PtrBytes == 0 {
type.go#L2574: } else if typ.PtrBytes <= abi.MaxPtrmaskBytes*8*goarch.PtrSize {
type.go#L2600: case typ.Size_ == goarch.PtrSize && typ.PtrBytes == goarch.PtrSize:
type.go#L2658: return f.Offset + f.Typ.PtrBytes
type.go#L2714: array.PtrBytes = typ.Size_*uintptr(length-1) + typ.PtrBytes
type.go#L2716: array.PtrBytes = 0
type.go#L2724: case array.PtrBytes == 0:
type.go#L2734: case array.PtrBytes <= abi.MaxPtrmaskBytes*8*goarch.PtrSize:
type.go#L2736: n := (array.PtrBytes/goarch.PtrSize + 7) / 8
type.go#L2769: case array.Size_ == goarch.PtrSize && array.PtrBytes == goarch.PtrSize:
type.go#L2856: PtrBytes: uintptr(abid.stackPtrs.n) * goarch.PtrSize,
runtime
arena.go#L516: c.scanAlloc += size - (typ.Size_ - typ.PtrBytes)
arena.go#L518: c.scanAlloc += typ.PtrBytes
arena.go#L558: nb := typ.PtrBytes / goarch.PtrSize
arena.go#L579: h = h.pad(s, typ.Size_-typ.PtrBytes)
arena.go#L584: s.largeType.PtrBytes = uintptr(ptr) - base + typ.PtrBytes
arena.go#L1126: s.largeType.PtrBytes = 0
cgocheck.go#L137: if typ.PtrBytes <= off {
cgocheck.go#L140: if ptrdataSize := typ.PtrBytes - off; size > ptrdataSize {
malloc_generated.go#L87: scanSize := typ.PtrBytes
malloc_generated.go#L252: scanSize := typ.PtrBytes
malloc_generated.go#L417: scanSize := typ.PtrBytes
malloc_generated.go#L582: scanSize := typ.PtrBytes
malloc_generated.go#L747: scanSize := typ.PtrBytes
malloc_generated.go#L912: scanSize := typ.PtrBytes
malloc_generated.go#L1077: scanSize := typ.PtrBytes
malloc_generated.go#L1242: scanSize := typ.PtrBytes
malloc_generated.go#L1407: scanSize := typ.PtrBytes
malloc_generated.go#L1572: scanSize := typ.PtrBytes
malloc_generated.go#L1737: scanSize := typ.PtrBytes
malloc_generated.go#L1902: scanSize := typ.PtrBytes
malloc_generated.go#L2067: scanSize := typ.PtrBytes
malloc_generated.go#L2232: scanSize := typ.PtrBytes
malloc_generated.go#L2397: scanSize := typ.PtrBytes
malloc_generated.go#L2562: scanSize := typ.PtrBytes
malloc_generated.go#L2727: scanSize := typ.PtrBytes
malloc_generated.go#L2892: scanSize := typ.PtrBytes
malloc_generated.go#L3057: scanSize := typ.PtrBytes
malloc_generated.go#L3222: scanSize := typ.PtrBytes
malloc_generated.go#L3387: scanSize := typ.PtrBytes
malloc_generated.go#L3552: scanSize := typ.PtrBytes
malloc_generated.go#L3717: scanSize := typ.PtrBytes
malloc_generated.go#L3882: scanSize := typ.PtrBytes
malloc_generated.go#L4047: scanSize := typ.PtrBytes
malloc_generated.go#L4212: scanSize := typ.PtrBytes
malloc_stubs.go#L575: scanSize := typ.PtrBytes
malloc_stubs.go#L634: print("runtime: dataSize=", dataSize, " typ.Size_=", typ.Size_, " typ.PtrBytes=", typ.PtrBytes, "\n")
mbarrier.go#L158: bulkBarrierPreWrite(uintptr(dst), uintptr(src), typ.PtrBytes, typ)
mbarrier.go#L183: bulkBarrierPreWrite(uintptr(dst), 0, typ.PtrBytes, typ)
mbarrier.go#L197: bulkBarrierPreWrite(uintptr(dst), uintptr(src), typ.PtrBytes, typ)
mbarrier.go#L321: pwsize := size - typ.Size_ + typ.PtrBytes
mbarrier.go#L366: bulkBarrierPreWrite(uintptr(ptr), 0, typ.PtrBytes, typ)
mbitmap.go#L255: if tp.addr+goarch.PtrSize*ptrBits >= tp.elem+tp.typ.PtrBytes {
mbitmap.go#L313: if tp.addr-tp.elem >= tp.typ.PtrBytes {
mbitmap.go#L629: scanSize = typ.PtrBytes
mbitmap.go#L678: print("runtime: dataSize=", dataSize, " typ.Size_=", typ.Size_, " typ.PtrBytes=", typ.PtrBytes, "\n")
mbitmap.go#L844: if off < typ.PtrBytes {
mbitmap.go#L871: print("runtime: typ=", unsafe.Pointer(typ), " typ.PtrBytes=", typ.PtrBytes, "\n")
mbitmap.go#L901: if off < typ.PtrBytes {
mbitmap.go#L949: if off < typ.PtrBytes {
mbitmap.go#L1476: for i := uintptr(0); i < typ.PtrBytes; i += goarch.PtrSize {
mcleanup.go#L113: if size := unsafe.Sizeof(arg); size < maxTinySize && argType.PtrBytes == 0 {
slice.go#L281: bulkBarrierPreWriteSrcOnly(uintptr(p), uintptr(oldPtr), lenmem-et.Size_+et.PtrBytes, et)
stkframe.go#L283: ptrBytes: int32(abiRegArgsType.PtrBytes),
tracetype.go#L70: w.varint(uint64(typ.PtrBytes))
type.go#L133: bytes := goarch.PtrSize * divRoundUp(t.PtrBytes/goarch.PtrSize, 8*goarch.PtrSize)
type.go#L208: if t.PtrBytes == 0 {
type.go#L213: dst.write(t.GCData, t.PtrBytes/goarch.PtrSize)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |