Searched refs:into_raw (Results 1 – 13 of 13) sorted by relevance
162 pub fn into_raw(b: Self) -> *mut T { in into_raw() function173 unsafe { &mut *Box::into_raw(b) } in leak()190 let raw = Self::into_raw(self); in assume_init()261 let ptr = Self::into_raw(this); in forget_contents()371 Box::into_raw(self).cast() in into_foreign()403 Box::into_raw(unsafe { Pin::into_inner_unchecked(self) }).cast() in into_foreign()
552 let ptr = Box::into_raw(b);
33 pub const fn into_raw<T: MiscDevice>(self) -> bindings::miscdevice { in into_raw() method69 unsafe { slot.write(opts.into_raw::<T>()) }; in register()
570 let ptr = Arc::into_raw(self).cast_mut(); in __enqueue()621 let ptr = KBox::into_raw(boxed); in __enqueue()
114 let data = inner.clone().into_raw(); in new()
360 pub fn into_raw(self) -> bindings::kuid_t { in into_raw() method
505 pub fn into_raw(me: Self) -> NonNull<T> { in into_raw() method
1169 let node = KBox::into_raw(node.node); in insert()1260 let node = KBox::into_raw(node.node); in replace()
265 let raw_item = ListArc::into_raw(item); in insert_inner()
75 unsafe { NonNull::new_unchecked(Box::into_raw(Pin::into_inner_unchecked(self))) }; in start()
349 pub fn into_raw(self) -> *const T { in into_raw() function350 Arc::into_raw(Self::transmute_to_arc(self)) in into_raw()
303 unsafe { ARef::from_raw(ARef::into_raw(me).cast()) } in assume_no_fdget_pos()
262 pub fn into_raw(self) -> *const T { in into_raw() method