Searched refs:__init (Results 1 – 6 of 6) sorted by relevance
| /rust/pin-init/src/ |
| A D | alloc.rs | 58 init_from_closure(|slot| match init.__init(slot) { in init() 130 unsafe { init.__init(slot)? }; in try_init() 143 unsafe { init.__init(slot)? }; in write_init()
|
| A D | lib.rs | 1162 unsafe fn __init(self, slot: *mut T) -> Result<(), E>; in __init() method 1211 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() function 1229 unsafe { self.__init(slot) } in __pinned_init() 1297 let res = unsafe { init_from_closure(|ptr: *mut U| init.__init(ptr.cast::<T>())) }; in cast_init() 1336 if let Err(e) = unsafe { init.__init(ptr) } { 1395 unsafe fn __init(self, slot: *mut T) -> Result<(), Infallible> { in __init() method 1416 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() method
|
| A D | __internal.rs | 32 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() function
|
| A D | macros.rs | 1020 unsafe { $crate::Init::__init(init, slot) } 1249 unsafe { $crate::Init::__init(init, ::core::ptr::addr_of_mut!((*$slot).$field))? };
|
| /rust/kernel/sync/ |
| A D | arc.rs | 749 unsafe { init.__init(slot)? }; in write_init() 818 match unsafe { init.__init(self.as_mut_ptr()) } { in init_with()
|
| /rust/kernel/alloc/ |
| A D | kbox.rs | 365 unsafe { init.__init(slot)? }; in write_init()
|
Completed in 13 milliseconds