Searched refs:into_raw (Results 1 – 10 of 10) sorted by relevance
203 pub fn into_raw(b: Self) -> *mut T { in into_raw() function214 unsafe { &mut *Box::into_raw(b) } in leak()231 let raw = Self::into_raw(self); in assume_init()379 let ptr = Self::into_raw(this); in forget_contents()497 Box::into_raw(self).cast() in into_foreign()532 Box::into_raw(unsafe { Pin::into_inner_unchecked(self) }).cast() in into_foreign()
857 let ptr = Box::into_raw(b);
66 unsafe { ARef::from_raw(ARef::into_raw(me).cast()) } in into_mmput_async()
45 pub const fn into_raw(self) -> usize { in into_raw() method160 self.pdev.cfg_size().into_raw() in maxsize()
346 /// The returned pointer is indistinguishable from pointers returned by [`Arc::into_raw`]. The349 pub fn into_raw(self) -> *const T { in into_raw() function 350 Arc::into_raw(Self::transmute_to_arc(self)) in into_raw()
312 unsafe { ARef::from_raw(ARef::into_raw(me).cast()) } in assume_no_fdget_pos()
368 let child_group_ptr = child_group.into_raw(); in make_group() 405 // SAFETY: We called `into_raw` to produce `r_child_group_ptr` in in drop_item() 410 arc.into_raw(); in drop_item() 453 // SAFETY: We called `into_raw` on `r_group_ptr` in in release()
367 let _ = KBox::into_raw(boxed); in new()
1319 let node = KBox::into_raw(node.node); in insert() 1326 // "forgot" it with `KBox::into_raw`. in insert() 1408 let node = KBox::into_raw(node.node); in replace()
494 let raw_item = ListArc::into_raw(item); in insert_inner()