Lines Matching refs:base
39 base: SendSyncPtr<u8>,
74 let base = SendSyncPtr::new(ptr); in new_alloc() localVariable
75 Ok(MmapVec::Alloc { base, layout }) in new_alloc()
263 let base = self.as_ptr(); in image_range() localVariable
265 base..base.wrapping_add(len) in image_range()
282 MmapVec::Alloc { base, layout } => unsafe { in as_mut_slice()
283 core::slice::from_raw_parts_mut(base.as_mut(), layout.size()) in as_mut_slice()
329 MmapVec::Alloc { base, layout } => unsafe { in deref()
330 core::slice::from_raw_parts(base.as_ptr(), layout.size()) in deref()
347 MmapVec::Alloc { base, layout, .. } => unsafe { in drop()
348 alloc::alloc::dealloc(base.as_mut(), layout.clone()); in drop()