Home
last modified time | relevance | path

Searched refs:sizeofPtr (Results 1 – 25 of 36) sorted by relevance

12

/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux.go1033 var buf [sizeofPtr]byte
1041 if addr%sizeofPtr != 0 {
1042 err = ptrace(req, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
1046 n += copy(out, buf[addr%sizeofPtr:])
1084 if addr%sizeofPtr != 0 {
1085 var buf [sizeofPtr]byte
1086 err = ptrace(peekReq, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
1090 n += copy(buf[addr%sizeofPtr:], data)
1092 err = ptrace(pokeReq, pid, addr-addr%sizeofPtr, word)
1100 for len(data) > sizeofPtr {
[all …]
Dsyscall_unix.go25 darwin64Bit = runtime.GOOS == "darwin" && sizeofPtr == 8
26 dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8
27 netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4
28 solaris64Bit = runtime.GOOS == "solaris" && sizeofPtr == 8
Dtypes_netbsd.go73 sizeofPtr = C.sizeofPtr const
Dtypes_darwin.go76 sizeofPtr = C.sizeofPtr const
Dtypes_openbsd.go72 sizeofPtr = C.sizeofPtr const
Dtypes_dragonfly.go71 sizeofPtr = C.sizeofPtr const
Dtypes_solaris.go81 sizeofPtr = C.sizeofPtr const
Dtypes_freebsd.go160 sizeofPtr = C.sizeofPtr const
Dsockcmsg_unix.go15 salign := sizeofPtr
Dztypes_solaris_amd64.go9 sizeofPtr = 0x8 const
Dztypes_netbsd_386.go9 sizeofPtr = 0x4 const
Dztypes_netbsd_amd64.go9 sizeofPtr = 0x8 const
Dztypes_darwin_arm.go10 sizeofPtr = 0x4 const
Dztypes_openbsd_amd64.go9 sizeofPtr = 0x8 const
Dztypes_openbsd_arm.go9 sizeofPtr = 0x4 const
Dztypes_netbsd_arm.go9 sizeofPtr = 0x4 const
Dztypes_darwin_amd64.go9 sizeofPtr = 0x8 const
Dztypes_darwin_386.go9 sizeofPtr = 0x4 const
Dztypes_dragonfly_amd64.go9 sizeofPtr = 0x8 const
Dztypes_darwin_arm64.go9 sizeofPtr = 0x8 const
Dztypes_openbsd_386.go9 sizeofPtr = 0x4 const
Dztypes_freebsd_arm.go9 sizeofPtr = 0x4 const
Dztypes_freebsd_amd64.go9 sizeofPtr = 0x8 const
Dztypes_freebsd_386.go9 sizeofPtr = 0x4 const
Dztypes_linux_sparc64.go8 sizeofPtr = 0x8 const

12