Lines Matching refs:base
157 /// Computes a const raw pointer to the given field of the given base pointer
160 /// The `base` pointer *must not* be dangling, but it *may* point to
164 ($base:expr, $parent:path, $field:tt) => {{
166 let base = $base; // evaluate $base outside the `unsafe` block
173 _memoffset__addr_of!((*(base as *const $parent)).$field)
178 /// Computes a const raw pointer to the given field of the given base pointer
181 /// The `base` pointer *must not* be dangling, but it *may* point to
186 ($base:expr, $parent:ty, $field:tt) => {{
188 let base = $base; // evaluate $base outside the `unsafe` block
195 _memoffset__addr_of!((*(base as *const $parent)).$field)
200 /// Computes a const raw pointer to the given field of the given base pointer
203 /// The `base` pointer *must not* be dangling, but it *may* point to
214 ($base:expr, $parent:path, $field:tt) => {{
216 let base = $base; // evaluate $base outside the `unsafe` block
223 _memoffset__addr_of!((*(base as *const $parent)).$field)