Home
last modified time | relevance | path

Searched refs:CapacityOverflow (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/rust/alloc/
H A Draw_vec.rs218 let layout = Layout::array::<T>(capacity).map_err(|_| CapacityOverflow)?; in try_allocate_in()
429 return Err(CapacityOverflow.into()); in grow_amortized()
433 let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_amortized()
455 return Err(CapacityOverflow.into()); in grow_exact()
458 let cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_exact()
512 let new_layout = new_layout.map_err(|_| CapacityOverflow)?; in finish_grow()
544 Err(CapacityOverflow) => capacity_overflow(), in handle_reserve()
562 Err(CapacityOverflow.into()) in alloc_guard()
/openbmc/linux/rust/alloc/collections/
H A Dmod.rs91 CapacityOverflow, enumerator
128 TryReserveErrorKind::CapacityOverflow in from()
140 TryReserveErrorKind::CapacityOverflow => { in fmt()
/openbmc/linux/rust/alloc/vec/
H A Dmod.rs3144 Err(TryReserveErrorKind::CapacityOverflow.into()) in try_extend_trusted()