Home
last modified time | relevance | path

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

/Linux-v6.6/rust/kernel/
Dinit.rs777 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; in __pinned_init()
820 F: FnOnce(Pin<&mut T>) -> Result<(), E>, in pin_chain()
838 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init()
891 unsafe fn __init(self, slot: *mut T) -> Result<(), E>; in __init()
922 F: FnOnce(&mut T) -> Result<(), E>, in chain()
939 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init()
957 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init()
977 f: impl FnOnce(*mut T) -> Result<(), E>, in pin_init_from_closure()
996 f: impl FnOnce(*mut T) -> Result<(), E>, in init_from_closure()
1099 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init()
[all …]
Derror.rs165 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
239 pub type Result<T = (), E = Error> = core::result::Result<T, E>; typedef
243 pub fn to_result(err: core::ffi::c_int) -> Result { in to_result()
Dstr.rs227 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
257 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
459 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str()
511 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str()
/Linux-v6.6/rust/alloc/vec/
Dspec_extend.rs18 fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError>; in try_spec_extend()
35 default fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError> { in try_spec_extend()
54 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend()
70 fn try_spec_extend(&mut self, mut iterator: IntoIter<T>) -> Result<(), TryReserveError> { in try_spec_extend()
95 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend()
115 fn try_spec_extend(&mut self, iterator: slice::Iter<'a, T>) -> Result<(), TryReserveError> { in try_spec_extend()
Dmod.rs1092 pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve()
1135 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve_exact()
1966 pub fn try_push(&mut self, value: T) -> Result<(), TryReserveError> { in try_push()
2011 pub fn push_within_capacity(&mut self, value: T) -> Result<(), T> { in push_within_capacity()
2089 unsafe fn try_append_elements(&mut self, other: *const [T]) -> Result<(), TryReserveError> { in try_append_elements()
2544 pub fn try_resize(&mut self, new_len: usize, value: T) -> Result<(), TryReserveError> { in try_resize()
2600 pub fn try_extend_from_slice(&mut self, other: &[T]) -> Result<(), TryReserveError> { in try_extend_from_slice()
2735 …fn try_extend_with<E: ExtendWith<T>>(&mut self, n: usize, mut value: E) -> Result<(), TryReserveEr… in try_extend_with()
3074 …fn try_extend_desugared<I: Iterator<Item = T>>(&mut self, mut iterator: I) -> Result<(), TryReserv… in try_extend_desugared()
3337 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
Dinto_iter.rs53 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
219 fn advance_by(&mut self, n: usize) -> Result<(), NonZeroUsize> { in advance_by()
316 fn advance_back_by(&mut self, n: usize) -> Result<(), NonZeroUsize> { in advance_back_by()
Ddrain.rs40 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
/Linux-v6.6/rust/alloc/
Draw_vec.rs339 pub fn try_reserve(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in try_reserve()
349 pub fn try_reserve_for_push(&mut self, len: usize) -> Result<(), TryReserveError> { in try_reserve_for_push()
380 ) -> Result<(), TryReserveError> { in try_reserve_exact()
422 fn grow_amortized(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_amortized()
451 fn grow_exact(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_exact()
468 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink()
532 fn handle_reserve(result: Result<(), TryReserveError>) { in handle_reserve()
550 fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> { in alloc_guard()
Dboxed.rs1878 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
1885 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
1892 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
2287 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in from()
2294 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in from()
/Linux-v6.6/rust/kernel/sync/
Darc.rs616 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
622 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
628 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
634 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
/Linux-v6.6/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-v6.6/rust/kernel/init/
D__internal.rs30 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init()
42 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init()
/Linux-v6.6/rust/alloc/collections/
Dmod.rs137 ) -> core::result::Result<(), core::fmt::Error> { in fmt()
/Linux-v6.6/tools/perf/scripts/python/
Dexported-sql-viewer.py2427 def Result(self): member in SlowInitClass