Lines Matching refs:boxed
365 let mut boxed = Self::new_uninit_in(alloc); in new_in() localVariable
367 boxed.as_mut_ptr().write(x); in new_in()
368 boxed.assume_init() in new_in()
395 let mut boxed = Self::try_new_uninit_in(alloc)?; in try_new_in() localVariable
397 boxed.as_mut_ptr().write(x); in try_new_in()
398 Ok(boxed.assume_init()) in try_new_in()
565 pub const fn into_boxed_slice(boxed: Self) -> Box<[T], A> { in into_boxed_slice()
566 let (raw, alloc) = Box::into_raw_with_allocator(boxed); in into_boxed_slice()
584 pub const fn into_inner(boxed: Self) -> T in into_inner()
588 *boxed in into_inner()
838 pub const fn write(mut boxed: Self, value: T) -> Box<T, A> { in write()
840 (*boxed).write(value); in write()
841 boxed.assume_init() in write()
1170 pub const fn into_pin(boxed: Self) -> Pin<Self> in into_pin()
1177 unsafe { Pin::new_unchecked(boxed) } in into_pin()
1241 let mut boxed = Self::new_uninit_in(self.1.clone()); in clone() localVariable
1243 (**self).write_clone_into_raw(boxed.as_mut_ptr()); in clone()
1244 boxed.assume_init() in clone()
1414 fn from(boxed: Box<T, A>) -> Self { in from()
1415 Box::into_pin(boxed) in from()