Home
last modified time | relevance | path

Searched defs:AllocError (Results 1 – 7 of 7) sorted by relevance

/trusty/user/base/lib/trusty-std/src/ffi/
Dc_str.rs64 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/
Dalloc.rs45 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 …]
Dclone_ext.rs60 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/
Derr.rs27 AllocError, enumerator
/trusty/user/base/lib/hwwsk/rust/src/
Derr.rs38 AllocError, enumerator
/trusty/user/base/lib/hwkey/rust/src/
Derr.rs32 AllocError, enumerator
/trusty/user/base/lib/tipc/rust/src/
Derr.rs40 AllocError, enumerator