Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 25 of 87) sorted by relevance

1234

/linux-6.3-rc2/rust/alloc/
A Draw_vec.rs139 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in()
335 pub fn try_reserve(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument
345 pub fn try_reserve_for_push(&mut self, len: usize) -> Result<(), TryReserveError> { in try_reserve_for_push() argument
376 ) -> Result<(), TryReserveError> { in try_reserve_exact() argument
418 fn grow_amortized(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_amortized() argument
447 fn grow_exact(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_exact() argument
464 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink() argument
488 new_layout: Result<Layout, LayoutError>, in finish_grow()
491 ) -> Result<NonNull<[u8]>, TryReserveError> in finish_grow()
526 fn handle_reserve(result: Result<(), TryReserveError>) { in handle_reserve() argument
[all …]
A Dalloc.rs168 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl()
188 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl()
232 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate()
237 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed()
256 ) -> Result<NonNull<[u8]>, AllocError> { in grow()
267 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed()
278 ) -> Result<NonNull<[u8]>, AllocError> { in shrink()
A Dboxed.rs284 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new()
311 pub fn try_new_uninit() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_uninit()
337 pub fn try_new_zeroed() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_zeroed()
390 pub const fn try_new_in(x: T, alloc: A) -> Result<Self, AllocError> in try_new_in()
1574 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from()
1603 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast()
1662 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast()
1721 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast()
1763 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
1770 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
[all …]
/linux-6.3-rc2/rust/kernel/
A Dstr.rs112 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul()
177 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str()
219 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
248 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
450 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
502 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
544 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt()
A Derror.rs143 pub type Result<T = ()> = core::result::Result<T, Error>; typedef
A Dprelude.rs32 pub use super::error::{code::*, Error, Result};
/linux-6.3-rc2/Documentation/firmware-guide/acpi/
A Dchromeos-acpi-device.rst57 Result code:
88 Result code:
104 Result code:
118 Result code:
131 Result code:
193 Result code:
266 Result code:
316 Result code:
331 Result code:
344 Result code:
/linux-6.3-rc2/tools/memory-model/scripts/
A DREADME12 "Result:" comment lines.
17 archive that are C-language and that have "Result:" comment lines
29 Check a single litmus test against its "Result:" expected result.
47 .litmus.out file against the .litmus file's "Result:" comment to
A Dcmplitmushist.sh54 echo ' !!!' Result changed: $2
83 echo "!!!" Result changed: $badcompare 1>&2
/linux-6.3-rc2/rust/kernel/sync/
A Darc.rs20 error::Result,
152 pub fn try_new(contents: T) -> Result<Self> { in try_new()
472 pub fn try_new(value: T) -> Result<Self> { in try_new()
480 pub fn try_new_uninit() -> Result<UniqueArc<MaybeUninit<T>>> { in try_new_uninit()
/linux-6.3-rc2/Documentation/driver-api/media/drivers/
A Dcx2341x-devel.rst302 Result[0]
307 Result[1]
324 Result[0]
366 Result[0]
402 Result[0]
407 Result[1]
412 Result[2]
417 Result[3]
422 Result[4]
476 Result[0]
[all …]
/linux-6.3-rc2/scripts/
A Dgenerate_rust_target.rs15 fmt::{Display, Formatter, Result},
31 fn fmt(&self, formatter: &mut Formatter<'_>) -> Result { in fmt() argument
93 fn fmt(&self, formatter: &mut Formatter<'_>) -> Result { in fmt() argument
/linux-6.3-rc2/arch/sh/lib/
A Dashlsi3.S30 ! r0: Result
45 ! r0: Result
A Dashrsi3.S30 ! r0: Result
45 ! r0: Result
A Dlshrsi3.S30 ! r0: Result
45 ! r0: Result
/linux-6.3-rc2/rust/alloc/vec/
A Dinto_iter.rs48 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
182 fn advance_by(&mut self, n: usize) -> Result<(), usize> { in advance_by() argument
247 fn advance_back_by(&mut self, n: usize) -> Result<(), usize> { in advance_back_by() argument
/linux-6.3-rc2/tools/memory-model/litmus-tests/
A DCoWW+poonceonce.litmus4 * Result: Never
A DCoRR+poonceonce+Once.litmus4 * Result: Never
A DLB+poonceonces.litmus4 * Result: Sometimes
A DS+fencewmbonceonce+poacquireonce.litmus4 * Result: Never
A DCoRW+poonceonce+Once.litmus4 * Result: Never
A DCoWR+poonceonce+Once.litmus4 * Result: Never
/linux-6.3-rc2/samples/rust/
A Drust_minimal.rs20 fn init(_module: &'static ThisModule) -> Result<Self> { in init()
A Drust_print.rs19 fn init(_module: &'static ThisModule) -> Result<Self> { in init()
/linux-6.3-rc2/Documentation/litmus-tests/atomic/
A DAtomic-RMW-ops-are-atomic-WRT-atomic_set.litmus4 * Result: Never

Completed in 44 milliseconds

1234