Searched
refs:unsafe (Results
451 -
475 of
1292) sorted by null
<<11121314151617181920>>
/prebuilts/go/darwin-x86/src/runtime/ |
os_nacl.go | 7 import "unsafe" 16 func nacl_exception_handler(fn uintptr, arg unsafe.Pointer) int32 31 func nacl_thread_create(fn uintptr, stk, tls, xx unsafe.Pointer) int32 36 func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) unsafe.Pointer 41 func write(fd uintptr, p unsafe.Pointer, n int32) int32 69 func read(fd int32, p unsafe.Pointer, n int32) int32 156 func newosproc(mp *m, stk unsafe.Pointer) { 157 mp.tls[0] = uintptr(unsafe.Pointer(mp.g0)) 158 mp.tls[1] = uintptr(unsafe.Pointer(mp) [all...] |
os_netbsd.go | 9 "unsafe" 52 func getcontext(ctxt unsafe.Pointer) 55 func lwp_create(ctxt unsafe.Pointer, flags uintptr, lwpid unsafe.Pointer) int32 58 func lwp_park(abstime *timespec, unpark int32, hint, unparkhint unsafe.Pointer) int32 61 func lwp_unpark(lwp int32, hint unsafe.Pointer) int32 90 nout := unsafe.Sizeof(out) 91 ret := sysctl(&mib[0], 2, (*byte)(unsafe.Pointer(&out)), &nout, nil, 0) 101 nout := unsafe.Sizeof(out) 102 ret := sysctl(&mib[0], 2, (*byte)(unsafe.Pointer(&out)), &nout, nil, 0 [all...] |
lfstack_64bit.go | 9 import "unsafe" 38 return uint64(uintptr(unsafe.Pointer(node)))<<(64-addrBits) | uint64(cnt&(1<<cntBits-1)) 45 return (*lfnode)(unsafe.Pointer(uintptr(int64(val) >> cntBits << 3))) 47 return (*lfnode)(unsafe.Pointer(uintptr(val >> cntBits << 3)))
|
os_netbsd_arm.go | 7 import "unsafe" 9 func lwp_mcontext_init(mc *mcontextt, stk unsafe.Pointer, mp *m, gp *g, fn uintptr) { 13 mc.__gregs[_REG_R0] = uint32(uintptr(unsafe.Pointer(mp))) 14 mc.__gregs[_REG_R1] = uint32(uintptr(unsafe.Pointer(gp)))
|
runtime_test.go | 13 "unsafe" 164 v := *(*byte)(unsafe.Pointer(addr)) 212 if unsafe.Sizeof(T1{}) != 8 { 213 t.Errorf("sizeof(%#v)==%d, want 8", T1{}, unsafe.Sizeof(T1{})) 219 if unsafe.Sizeof(T2{}) != 8+unsafe.Sizeof(Uintreg(0)) { 220 t.Errorf("sizeof(%#v)==%d, want %d", T2{}, unsafe.Sizeof(T2{}), 8+unsafe.Sizeof(Uintreg(0))) 226 if unsafe.Sizeof(T3{}) != 2 { 227 t.Errorf("sizeof(%#v)==%d, want 2", T3{}, unsafe.Sizeof(T3{}) [all...] |
signal_linux_amd64.go | 9 "unsafe" 14 ctxt unsafe.Pointer 20 return (*sigcontext)(unsafe.Pointer(&(*ucontext)(c.ctxt).uc_mcontext)) 55 *(*uintptr)(add(unsafe.Pointer(c.info), 2*sys.PtrSize)) = uintptr(x)
|
signal_netbsd_386.go | 7 import "unsafe" 11 ctxt unsafe.Pointer 37 return *(*uint32)(unsafe.Pointer(&c.info._reason[0])) 44 *(*uint32)(unsafe.Pointer(&c.info._reason[0])) = x
|
signal_openbsd_386.go | 7 import "unsafe" 11 ctxt unsafe.Pointer 39 return *(*uint32)(add(unsafe.Pointer(c.info), 12)) 46 *(*uint32)(add(unsafe.Pointer(c.info), 12)) = x
|
signal_openbsd_amd64.go | 7 import "unsafe" 11 ctxt unsafe.Pointer 47 return *(*uint64)(add(unsafe.Pointer(c.info), 16)) 54 *(*uint64)(add(unsafe.Pointer(c.info), 16)) = x
|
signal_openbsd_arm.go | 7 import "unsafe" 11 ctxt unsafe.Pointer 48 return *(*uint32)(add(unsafe.Pointer(c.info), 12)) 58 *(*uint32)(add(unsafe.Pointer(c.info), 12)) = x
|