Home
last modified time | relevance | path

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

/linux-6.3-rc2/rust/alloc/
A Draw_vec.rs219 let layout = Layout::array::<T>(capacity).map_err(|_| CapacityOverflow)?; in try_allocate_in()
425 return Err(CapacityOverflow.into()); in grow_amortized()
429 let required_cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_amortized()
451 return Err(CapacityOverflow.into()); in grow_exact()
454 let cap = len.checked_add(additional).ok_or(CapacityOverflow)?; in grow_exact()
496 let new_layout = new_layout.map_err(|_| CapacityOverflow)?; in finish_grow()
528 Err(CapacityOverflow) => capacity_overflow(), in handle_reserve()
546 Err(CapacityOverflow.into()) in alloc_guard()
/linux-6.3-rc2/rust/alloc/collections/
A Dmod.rs91 CapacityOverflow, enumerator
128 TryReserveErrorKind::CapacityOverflow in from()
140 TryReserveErrorKind::CapacityOverflow => { in fmt()

Completed in 7 milliseconds