Searched defs:AllocError (Results 1 – 7 of 7) sorted by relevance
/trusty/user/base/lib/trusty-std/src/ffi/ |
D | c_str.rs | 64 AllocError, enumerator 120 unsafe fn try_from_vec_unchecked(v: Vec<u8>) -> Result<CString, AllocError>; in try_from_vec_unchecked() argument 126 fn into_vec(self) -> Result<Vec<u8>, AllocError>; in try_new() argument 129 default fn into_vec(self) -> Result<Vec<u8>, AllocError> { in try_new() argument 135 fn into_vec(self) -> Result<Vec<u8>, AllocError> { in try_new() argument 143 fn into_vec(self) -> Result<Vec<u8>, AllocError> { in try_new() argument 158 unsafe fn try_from_vec_unchecked(mut v: Vec<u8>) -> Result<CString, AllocError> { in try_from_vec_unchecked() argument
|
/trusty/user/base/lib/trusty-std/src/ |
D | alloc.rs | 45 fn try_alloc_into(self) -> Result<T, AllocError>; in try_alloc_into() argument 52 fn try_alloc_into(self) -> Result<U, AllocError> { in try_alloc_into() argument 69 fn try_alloc_from(value: T) -> Result<Self, AllocError>; in try_alloc_from() argument 73 fn try_alloc_from(s: &str) -> Result<Self, AllocError> { in try_alloc_from() argument 82 fn try_alloc_from(s: &[u8]) -> Result<Self, AllocError> { in try_alloc_from() argument 203 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument 227 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument 272 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument 277 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument 296 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument [all …]
|
D | clone_ext.rs | 60 fn try_to_vec<T: TryConvertVec, A: Allocator>(s: &[T], alloc: A) -> Result<Vec<T, A>, AllocError> { in try_to_vec() argument 72 default fn try_to_vec<A: Allocator>(s: &[Self], alloc: A) -> Result<Vec<Self, A>, AllocError> { in try_to_vec() argument 112 fn try_to_vec<A: Allocator>(s: &[Self], alloc: A) -> Result<Vec<Self, A>, AllocError> { in try_to_vec() argument
|
/trusty/user/base/lib/hwbcc/rust/src/ |
D | err.rs | 27 AllocError, enumerator
|
/trusty/user/base/lib/hwwsk/rust/src/ |
D | err.rs | 38 AllocError, enumerator
|
/trusty/user/base/lib/hwkey/rust/src/ |
D | err.rs | 32 AllocError, enumerator
|
/trusty/user/base/lib/tipc/rust/src/ |
D | err.rs | 40 AllocError, enumerator
|