Home
last modified time | relevance | path

Searched refs:UninitType (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs94 type UninitType; typedef
101 assert!(std::mem::size_of::<Self>() == std::mem::size_of::<Self::UninitType>());
102 assert!(std::mem::align_of::<Self>() == std::mem::align_of::<Self::UninitType>());
107 fn uninit() -> Self::UninitType; in uninit()
110 fn from_init(value: Self) -> Self::UninitType; in from_init() argument
180 let mut vec: Option<Vec<Self::UninitType>> = None; in deserialize_array()
217 let vec = unsafe { &mut *(array as *mut Option<Vec<T::UninitType>>) }; in deserialize_element()
307 let vec = unsafe { &mut *(data as *mut Option<Vec<T::UninitType>>) }; in allocate_vec_with_buffer()
325 let vec = unsafe { &mut *(data as *mut Option<Vec<T::UninitType>>) }; in allocate_vec()
333 let mut new_vec: Vec<T::UninitType> = Vec::with_capacity(len as usize); in allocate_vec()
[all …]
Dfile_descriptor.rs129 type UninitType = Option<Self>; typedef
130 fn uninit() -> Self::UninitType { in uninit()
131 Self::UninitType::default() in uninit()
133 fn from_init(value: Self) -> Self::UninitType { in from_init() argument
Dparcelable_holder.rs181 type UninitType = Self; typedef
182 fn uninit() -> Self::UninitType { in uninit()
185 fn from_init(value: Self) -> Self::UninitType { in from_init() argument
/frameworks/native/libs/binder/rust/src/
Dproxy.rs416 type UninitType = Option<Self>; typedef
417 fn uninit() -> Self::UninitType { in uninit()
418 Self::UninitType::default() in uninit()
420 fn from_init(value: Self) -> Self::UninitType { in from_init() argument
Dbinder.rs1140 type UninitType = Self;
1141 fn uninit() -> Self::UninitType { Self::UninitType::default() }
1142 fn from_init(value: Self) -> Self::UninitType { value }