Home
last modified time | relevance | path

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

/Linux-v6.6/rust/alloc/
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()
502 let new_layout = new_layout.map_err(|_| CapacityOverflow)?; in finish_grow()
534 Err(CapacityOverflow) => capacity_overflow(), in handle_reserve()
552 Err(CapacityOverflow.into()) in alloc_guard()
/Linux-v6.6/rust/alloc/collections/
Dmod.rs91 CapacityOverflow, enumerator
128 TryReserveErrorKind::CapacityOverflow in from()
140 TryReserveErrorKind::CapacityOverflow => { in fmt()
/Linux-v6.6/rust/alloc/vec/
Dmod.rs3159 Err(TryReserveErrorKind::CapacityOverflow.into()) in try_extend_trusted()