Home
last modified time | relevance | path

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

/rust/alloc/
Draw_vec.rs394 return Err(CapacityOverflow.into()); in grow_amortized()
398 let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_amortized()
420 return Err(CapacityOverflow.into()); in grow_exact()
423 let cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_exact()
465 let new_layout = new_layout.map_err(|_| CapacityOverflow)?; in finish_grow()
497 Err(CapacityOverflow) => capacity_overflow(), in handle_reserve()
515 Err(CapacityOverflow.into()) in alloc_guard()
/rust/alloc/collections/
Dmod.rs91 CapacityOverflow, enumerator
128 TryReserveErrorKind::CapacityOverflow in from()
140 TryReserveErrorKind::CapacityOverflow => { in fmt()