Home | History | Annotate | Download | only in runtime

Lines Matching refs:unsafe

10 	"unsafe"
58 return *(**byte)(add(unsafe.Pointer(argv), uintptr(i)*sys.PtrSize))
103 prefetcht0(uintptr(unsafe.Pointer(&test_z64)))
104 prefetcht1(uintptr(unsafe.Pointer(&test_z64)))
105 prefetcht2(uintptr(unsafe.Pointer(&test_z64)))
106 prefetchnta(uintptr(unsafe.Pointer(&test_z64)))
153 k, k1 unsafe.Pointer
167 if unsafe.Sizeof(a) != 1 {
170 if unsafe.Sizeof(b) != 1 {
173 if unsafe.Sizeof(c) != 2 {
176 if unsafe.Sizeof(d) != 2 {
179 if unsafe.Sizeof(e) != 4 {
182 if unsafe.Sizeof(f) != 4 {
185 if unsafe.Sizeof(g) != 8 {
188 if unsafe.Sizeof(h) != 8 {
191 if unsafe.Sizeof(i) != 4 {
194 if unsafe.Sizeof(j) != 8 {
197 if unsafe.Sizeof(k) != sys.PtrSize {
200 if unsafe.Sizeof(l) != sys.PtrSize {
203 if unsafe.Sizeof(x1) != 1 {
204 throw("bad unsafe.Sizeof x1")
206 if unsafe.Offsetof(y1.y) != 1 {
209 if unsafe.Sizeof(y1) != 2 {
210 throw("bad unsafe.Sizeof y1")
242 k = unsafe.Pointer(uintptr(0xfedcb123))
244 k = unsafe.Pointer(uintptr(k) << 10)
263 *(*uint64)(unsafe.Pointer(&j)) = ^uint64(0)
271 *(*uint64)(unsafe.Pointer(&j1)) = ^uint64(1)
279 *(*uint32)(unsafe.Pointer(&i)) = ^uint32(0)
287 *(*uint32)(unsafe.Pointer(&i1)) = ^uint32(1)
495 func reflect_typelinks() ([]unsafe.Pointer, [][]int32) {
497 sections := []unsafe.Pointer{unsafe.Pointer(modules[0].types)}
500 sections = append(sections, unsafe.Pointer(md.types))
508 func reflect_resolveNameOff(ptrInModule unsafe.Pointer, off int32) unsafe.Pointer {
509 return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).bytes)
514 func reflect_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
515 return unsafe.Pointer((*_type)(rtype).typeOff(typeOff(off)))
520 func reflect_resolveTextOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
527 func reflect_addReflectOff(ptr unsafe.Pointer) int32 {
530 reflectOffs.m = make(map[int32]unsafe.Pointer)
531 reflectOffs.minv = make(map[unsafe.Pointer]int32)