Home
last modified time | relevance | path

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

1234

/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/src/alloc/
H A Dmod.rs34 pub struct AllocError; struct
41 impl Error for AllocError {} implementation
45 impl fmt::Display for AllocError { implementation
136 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError>; in allocate() argument
153 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
214 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
341 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
380 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
385 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/src/alloc/
H A Dmod.rs34 pub struct AllocError; struct
41 impl Error for AllocError {} implementation
45 impl fmt::Display for AllocError { implementation
136 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError>; in allocate() argument
153 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
214 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
341 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
380 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
385 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/src/alloc/
H A Dmod.rs34 pub struct AllocError; struct
41 impl Error for AllocError {} implementation
45 impl fmt::Display for AllocError { implementation
136 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError>; in allocate() argument
153 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
214 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
341 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
380 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
385 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/src/alloc/
H A Dmod.rs34 pub struct AllocError; struct
41 impl Error for AllocError {} implementation
45 impl fmt::Display for AllocError { implementation
136 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError>; in allocate() argument
153 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
214 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
341 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
380 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
385 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/src/alloc/
H A Dmod.rs34 pub struct AllocError; struct
41 impl Error for AllocError {} implementation
45 impl fmt::Display for AllocError { implementation
136 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError>; in allocate() argument
153 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
214 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
341 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
380 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
385 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
[all …]
/aosp_15_r20/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
/aosp_15_r20/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
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dalloc.rs137 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
161 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
207 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
212 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
231 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
242 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
253 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dalloc.rs135 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
159 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
205 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
210 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
229 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
240 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
251 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dalloc.rs135 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
159 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
205 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
210 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
229 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
240 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
251 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dalloc.rs137 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
161 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
207 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
212 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
231 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
242 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
253 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/
H A Dalloc.rs137 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
161 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
207 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
212 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
231 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
242 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
253 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/tests/
H A Dboxed.rs65 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
82 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
97 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
126 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
151 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/tests/
H A Dboxed.rs65 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
82 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
97 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
126 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
151 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
H A Dvec_deque_alloc_error.rs20 fn allocate(&self, l: Layout) -> Result<NonNull<[u8]>, AllocError> { in test_shrink_to_unwind() argument
36 ) -> Result<NonNull<[u8]>, AllocError> { in test_shrink_to_unwind() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/tests/
H A Dboxed.rs65 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
82 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
97 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
126 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
151 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/tests/
H A Dboxed.rs65 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
82 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
97 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
126 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
151 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/tests/
H A Dboxed.rs65 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
82 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
97 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
126 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
151 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
H A Dvec_deque_alloc_error.rs20 fn allocate(&self, l: Layout) -> Result<NonNull<[u8]>, AllocError> { in test_shrink_to_unwind() argument
36 ) -> Result<NonNull<[u8]>, AllocError> { in test_shrink_to_unwind() argument

1234