/openbmc/linux/rust/alloc/vec/ |
H A D | spec_extend.rs | 4 use crate::collections::TryReserveError; 18 fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError>; in try_spec_extend() argument 35 default fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError> { in try_spec_extend() argument 54 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend() argument 70 fn try_spec_extend(&mut self, mut iterator: IntoIter<T>) -> Result<(), TryReserveError> { in try_spec_extend() argument 95 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend() argument 115 fn try_spec_extend(&mut self, iterator: slice::Iter<'a, T>) -> Result<(), TryReserveError> { in try_spec_extend() argument
|
H A D | mod.rs | 74 use crate::collections::{TryReserveError, TryReserveErrorKind}; 536 pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> { in try_with_capacity() argument 787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() argument 1093 pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument 1136 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve_exact() argument 1967 pub fn try_push(&mut self, value: T) -> Result<(), TryReserveError> { in try_push() argument 2090 unsafe fn try_append_elements(&mut self, other: *const [T]) -> Result<(), TryReserveError> { in try_append_elements() argument 2545 pub fn try_resize(&mut self, new_len: usize, value: T) -> Result<(), TryReserveError> { in try_resize() argument 2601 pub fn try_extend_from_slice(&mut self, other: &[T]) -> Result<(), TryReserveError> { in try_extend_from_slice() argument 2720 fn try_extend_with(&mut self, n: usize, value: T) -> Result<(), TryReserveError> { in try_extend_with() argument [all …]
|
/openbmc/linux/rust/alloc/ |
H A D | raw_vec.rs | 16 use crate::collections::TryReserveError; 138 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() argument 339 pub fn try_reserve(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument 349 pub fn try_reserve_for_push(&mut self, len: usize) -> Result<(), TryReserveError> { in try_reserve_for_push() argument 380 ) -> Result<(), TryReserveError> { in try_reserve_exact() argument 422 fn grow_amortized(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_amortized() argument 451 fn grow_exact(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_exact() argument 468 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink() argument 507 ) -> Result<NonNull<[u8]>, TryReserveError> in finish_grow() 542 fn handle_reserve(result: Result<(), TryReserveError>) { in handle_reserve() argument [all …]
|
/openbmc/linux/rust/alloc/collections/ |
H A D | mod.rs | 63 pub struct TryReserveError { struct 67 impl TryReserveError { implementation 116 impl From<TryReserveErrorKind> for TryReserveError { implementation 133 impl Display for TryReserveError { implementation 159 impl core::error::Error for TryReserveError {} implementation
|
/openbmc/linux/rust/kernel/ |
H A D | error.rs | 11 collections::TryReserveError, 195 impl From<TryReserveError> for Error { 196 fn from(_: TryReserveError) -> Error { in from()
|