Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/rust/alloc/
Draw_vec.rs304 pub fn try_reserve(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in try_reserve()
314 pub fn try_reserve_for_push(&mut self, len: usize) -> Result<(), TryReserveError> { in try_reserve_for_push()
345 ) -> Result<(), TryReserveError> { in try_reserve_exact()
387 fn grow_amortized(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_amortized()
416 fn grow_exact(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_exact()
433 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink()
495 fn handle_reserve(result: Result<(), TryReserveError>) { in handle_reserve()
513 fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> { in alloc_guard()
Dborrow.rs392 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
405 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
Dboxed.rs1763 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
1770 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
1777 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
/linux-6.1.9/rust/alloc/vec/
Dinto_iter.rs48 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
182 fn advance_by(&mut self, n: usize) -> Result<(), usize> { in advance_by()
247 fn advance_back_by(&mut self, n: usize) -> Result<(), usize> { in advance_back_by()
Ddrain.rs40 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
Dmod.rs880 pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve()
922 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve_exact()
1755 pub fn try_push(&mut self, value: T) -> Result<(), TryReserveError> { in try_push()
2923 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
/linux-6.1.9/scripts/
Dgenerate_rust_target.rs31 fn fmt(&self, formatter: &mut Formatter<'_>) -> Result { in fmt()
93 fn fmt(&self, formatter: &mut Formatter<'_>) -> Result { in fmt()
/linux-6.1.9/rust/kernel/
Derror.rs59 pub type Result<T = ()> = core::result::Result<T, Error>; typedef
Dstr.rs49 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str()
/linux-6.1.9/rust/alloc/collections/
Dmod.rs137 ) -> core::result::Result<(), core::fmt::Error> { in fmt()
/linux-6.1.9/tools/perf/scripts/python/
Dexported-sql-viewer.py2427 def Result(self): member in SlowInitClass