Home | History | Annotate | Download | only in unsafe

Lines Matching refs:Conversion

34 // (1) Conversion of a *T1 to Pointer to *T2.
37 // memory layout, this conversion allows reinterpreting data of one type as
45 // (2) Conversion of a Pointer to a uintptr (but not back to Pointer).
50 // Conversion of a uintptr back to Pointer is not valid in general.
63 // (3) Conversion of a Pointer to a uintptr and back, with arithmetic.
66 // by conversion to uintptr, addition of an offset, and conversion back to Pointer.
98 // // before conversion back to Pointer.
102 // (4) Conversion of a Pointer to a uintptr when calling syscall.Syscall.
111 // that conversion must appear in the call expression itself:
122 // the conversion must appear in the argument list:
125 // // before implicit conversion back to Pointer during system call.
129 // (5) Conversion of the result of reflect.Value.Pointer or reflect.Value.UnsafeAddr
140 // As in the cases above, it is invalid to store the result before the conversion:
143 // // before conversion back to Pointer.
147 // (6) Conversion of a reflect.SliceHeader or reflect.StringHeader Data field to or from Pointer.