Home
last modified time | relevance | path

Searched refs:A (Results 1 – 4 of 4) sorted by relevance

/rust/kernel/alloc/
Dkbox.rs77 pub struct Box<#[cfg_attr(CONFIG_RUSTC_HAS_COERCE_POINTEE, pointee)] T: ?Sized, A: Allocator>(
79 PhantomData<A>,
85 impl<T, U, A> core::ops::CoerceUnsized<Box<U, A>> for Box<T, A>
89 A: Allocator,
96 impl<T, U, A> core::ops::DispatchFromDyn<Box<U, A>> for Box<T, A>
100 A: Allocator,
141 unsafe impl<T, A> Send for Box<T, A>
144 A: Allocator,
149 unsafe impl<T, A> Sync for Box<T, A>
152 A: Allocator,
[all …]
Dkvec.rs103 pub struct Vec<T, A: Allocator> {
111 _p: PhantomData<A>,
154 unsafe impl<T, A> Send for Vec<T, A>
157 A: Allocator,
162 unsafe impl<T, A> Sync for Vec<T, A>
165 A: Allocator,
169 impl<T, A> Vec<T, A>
171 A: Allocator,
284 _p: PhantomData::<A>, in new()
556 _p: PhantomData::<A>, in from_raw_parts()
[all …]
/rust/kernel/
Duaccess.rs130 pub fn read_all<A: Allocator>(self, buf: &mut Vec<u8, A>, flags: Flags) -> Result { in read_all() argument
284 pub fn read_all<A: Allocator>(mut self, buf: &mut Vec<u8, A>, flags: Flags) -> Result { in read_all() argument
Dinit.rs1438 impl_tuple_zeroable!(A, B, C, D, E, F, G, H, I, J);