Home
last modified time | relevance | path

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

1234

/Linux-v6.1/rust/alloc/
Draw_vec.rs304 pub fn try_reserve(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument
314 pub fn try_reserve_for_push(&mut self, len: usize) -> Result<(), TryReserveError> { in try_reserve_for_push() argument
345 ) -> Result<(), TryReserveError> { in try_reserve_exact() argument
387 fn grow_amortized(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_amortized() argument
416 fn grow_exact(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_exact() argument
433 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink() argument
457 new_layout: Result<Layout, LayoutError>, in finish_grow()
460 ) -> Result<NonNull<[u8]>, TryReserveError> in finish_grow()
495 fn handle_reserve(result: Result<(), TryReserveError>) { in handle_reserve() argument
513 fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> { in alloc_guard() argument
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()
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()
465 pub const fn try_new_uninit_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_uninit_in()
537 pub const fn try_new_zeroed_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_zeroed_in()
667 pub fn try_new_uninit_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_uninit_slice()
699 pub fn try_new_zeroed_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_zeroed_slice()
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()
[all …]
/Linux-v6.1/Documentation/firmware-guide/acpi/
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-v6.1/tools/memory-model/scripts/
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
Dcmplitmushist.sh54 echo ' !!!' Result changed: $2
83 echo "!!!" Result changed: $badcompare 1>&2
/Linux-v6.1/rust/kernel/
Derror.rs59 pub type Result<T = ()> = core::result::Result<T, Error>; typedef
Dprelude.rs15 error::{Error, Result},
/Linux-v6.1/Documentation/driver-api/media/drivers/
Dcx2341x-devel.rst237 4-19 Parameter/Result
302 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]
[all …]
/Linux-v6.1/scripts/
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-v6.1/arch/sh/lib/
Dlshrsi3.S30 ! r0: Result
45 ! r0: Result
Dashlsi3.S30 ! r0: Result
45 ! r0: Result
Dashrsi3.S30 ! r0: Result
45 ! r0: Result
/Linux-v6.1/rust/alloc/vec/
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-v6.1/tools/memory-model/litmus-tests/
DCoWW+poonceonce.litmus4 * Result: Never
DCoRR+poonceonce+Once.litmus4 * Result: Never
DLB+poonceonces.litmus4 * Result: Sometimes
DS+fencewmbonceonce+poacquireonce.litmus4 * Result: Never
DCoRW+poonceonce+Once.litmus4 * Result: Never
DCoWR+poonceonce+Once.litmus4 * Result: Never
DMP+poonceonces.litmus4 * Result: Sometimes
DMP+pooncerelease+poacquireonce.litmus4 * Result: Never
/Linux-v6.1/samples/rust/
Drust_minimal.rs20 fn init(_module: &'static ThisModule) -> Result<Self> { in init()
/Linux-v6.1/Documentation/litmus-tests/atomic/
DAtomic-RMW-ops-are-atomic-WRT-atomic_set.litmus4 * Result: Never
/Linux-v6.1/Documentation/x86/
Dtsx_async_abort.rst64 MSR_IA32_ARCH_CAPABILITIES bits Result with cmdline tsx=off
79 MSR_IA32_ARCH_CAPABILITIES bits Result with cmdline tsx=on
94 MSR_IA32_ARCH_CAPABILITIES bits Result with cmdline tsx=auto

1234