Home
last modified time | relevance | path

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

123456

/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c125 int Result = epoll_wait(epfd, events, maxevents, timeout); in sigwrap_epoll_wait() local
127 if (Result != -1) in sigwrap_epoll_wait()
128 return Result; in sigwrap_epoll_wait()
131 return Result; in sigwrap_epoll_wait()
160 int Result = epoll_pwait(epfd, events, maxevents, timeout, sigmask); in sigwrap_epoll_pwait() local
162 if (Result != -1) in sigwrap_epoll_pwait()
163 return Result; in sigwrap_epoll_pwait()
166 return Result; in sigwrap_epoll_pwait()
183 int Result = sigwaitinfo(set, info); in sigwrap_sigwaitinfo() local
185 if (Result != -1) in sigwrap_sigwaitinfo()
[all …]
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c152 int Result = epoll_wait(epfd, events, maxevents, timeout); in sigwrap_epoll_wait() local
154 if (Result != -1) in sigwrap_epoll_wait()
155 return Result; in sigwrap_epoll_wait()
158 return Result; in sigwrap_epoll_wait()
187 int Result = epoll_pwait(epfd, events, maxevents, timeout, sigmask); in sigwrap_epoll_pwait() local
189 if (Result != -1) in sigwrap_epoll_pwait()
190 return Result; in sigwrap_epoll_pwait()
193 return Result; in sigwrap_epoll_pwait()
210 int Result = sigwaitinfo(set, info); in sigwrap_sigwaitinfo() local
212 if (Result != -1) in sigwrap_sigwaitinfo()
[all …]
/openbmc/linux/rust/kernel/
H A Dinit.rs777 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; in __pinned_init() argument
820 F: FnOnce(Pin<&mut T>) -> Result<(), E>, in pin_chain() argument
836 F: FnOnce(Pin<&mut T>) -> Result<(), E>,
838 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() argument
891 unsafe fn __init(self, slot: *mut T) -> Result<(), E>; in __init() argument
922 F: FnOnce(&mut T) -> Result<(), E>, in chain() argument
937 F: FnOnce(&mut T) -> Result<(), E>,
939 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() argument
955 F: FnOnce(&mut T) -> Result<(), E>,
957 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() argument
[all …]
H A Dstr.rs113 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul()
178 pub fn to_str(&self) -> Result<&str, core::str::Utf8Error> { in to_str()
206 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring()
227 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
257 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
459 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
511 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() argument
553 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt()
599 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
H A Derror.rs165 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
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() argument
278 pub(crate) fn from_err_ptr<T>(ptr: *mut T) -> Result<*mut T> { in from_err_ptr()
328 F: FnOnce() -> Result<T>, in from_result()
/openbmc/linux/rust/kernel/init/
H A D__internal.rs27 F: FnOnce(*mut T) -> Result<(), E>,
30 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() argument
39 F: FnOnce(*mut T) -> Result<(), E>,
42 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() argument
70 F: FnOnce(*mut Self::Datee) -> Result<O, E>, in make_closure()
99 F: FnOnce(*mut Self::Datee) -> Result<O, E>, in make_closure()
165 pub fn init<E>(self: Pin<&mut Self>, init: impl PinInit<T, E>) -> Result<Pin<&mut T>, E> { in init()
/openbmc/linux/rust/kernel/sync/
H A Darc.rs165 pub fn try_new(contents: T) -> Result<Self, AllocError> { in try_new()
184 pub fn pin_init<E>(init: impl PinInit<T, E>) -> error::Result<Self> in pin_init()
195 pub fn init<E>(init: impl Init<T, E>) -> error::Result<Self> in init()
519 pub fn try_new(value: T) -> Result<Self, AllocError> { in try_new()
527 pub fn try_new_uninit() -> Result<UniqueArc<MaybeUninit<T>>, AllocError> { in try_new_uninit()
566 pub fn init_with<E>(mut self, init: impl Init<T, E>) -> core::result::Result<UniqueArc<T>, E> { in init_with()
579 ) -> core::result::Result<Pin<UniqueArc<T>>, E> { in pin_init_with()
616 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
622 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
628 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
[all …]
/openbmc/linux/rust/alloc/
H A Draw_vec.rs138 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in()
212 … fn try_allocate_in(capacity: usize, init: AllocInit, alloc: A) -> Result<Self, TryReserveError> { in try_allocate_in()
339 pub fn try_reserve(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument
349 pub fn try_reserve_for_push(&mut self, len: usize) -> Result<(), TryReserveError> { in try_reserve_for_push() argument
380 ) -> Result<(), TryReserveError> { in try_reserve_exact() argument
422 fn grow_amortized(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_amortized() argument
451 fn grow_exact(&mut self, len: usize, additional: usize) -> Result<(), TryReserveError> { in grow_exact() argument
468 fn shrink(&mut self, cap: usize) -> Result<(), TryReserveError> { in shrink() argument
504 new_layout: Result<Layout, LayoutError>, in finish_grow()
507 ) -> Result<NonNull<[u8]>, TryReserveError> in finish_grow()
[all …]
H A Dalloc.rs178 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl()
198 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl()
242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate()
247 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed()
266 ) -> Result<NonNull<[u8]>, AllocError> { in grow()
277 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed()
288 ) -> Result<NonNull<[u8]>, AllocError> { in shrink()
H A Dboxed.rs306 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new()
333 pub fn try_new_uninit() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_uninit()
359 pub fn try_new_zeroed() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_zeroed()
410 pub fn try_new_in(x: T, alloc: A) -> Result<Self, AllocError> in try_new_in()
482 pub fn try_new_uninit_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_uninit_in()
556 pub fn try_new_zeroed_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_zeroed_in()
689 pub fn try_new_uninit_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_uninit_slice()
723 pub fn try_new_zeroed_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_zeroed_slice()
1678 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from()
1710 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { in try_from()
[all …]
/openbmc/linux/rust/alloc/vec/
H A Dspec_extend.rs18 fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError>; in try_spec_extend() argument
35 default fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError> { in try_spec_extend() argument
54 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend() argument
70 fn try_spec_extend(&mut self, mut iterator: IntoIter<T>) -> Result<(), TryReserveError> { in try_spec_extend() argument
95 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend() argument
115 fn try_spec_extend(&mut self, iterator: slice::Iter<'a, T>) -> Result<(), TryReserveError> { in try_spec_extend() argument
H A Dmod.rs536 pub fn try_with_capacity(capacity: usize) -> Result<Self, TryReserveError> { in try_with_capacity()
787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in()
1093 pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve() argument
1136 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve_exact() argument
1967 pub fn try_push(&mut self, value: T) -> Result<(), TryReserveError> { in try_push() argument
2012 pub fn push_within_capacity(&mut self, value: T) -> Result<(), T> { in push_within_capacity() argument
2090 unsafe fn try_append_elements(&mut self, other: *const [T]) -> Result<(), TryReserveError> { in try_append_elements() argument
2545 pub fn try_resize(&mut self, new_len: usize, value: T) -> Result<(), TryReserveError> { in try_resize() argument
2601 pub fn try_extend_from_slice(&mut self, other: &[T]) -> Result<(), TryReserveError> { in try_extend_from_slice() argument
2720 fn try_extend_with(&mut self, n: usize, value: T) -> Result<(), TryReserveError> { in try_extend_with() argument
[all …]
H A Dinto_iter.rs53 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument
219 fn advance_by(&mut self, n: usize) -> Result<(), NonZeroUsize> { in advance_by() argument
242 fn next_chunk<const N: usize>(&mut self) -> Result<[T; N], core::array::IntoIter<T, N>> { in next_chunk()
316 fn advance_back_by(&mut self, n: usize) -> Result<(), NonZeroUsize> { in advance_back_by() argument
/openbmc/linux/Documentation/firmware-guide/acpi/
H A Dchromeos-acpi-device.rst56 Result code:
87 Result code:
103 Result code:
117 Result code:
130 Result code:
192 Result code:
265 Result code:
315 Result code:
330 Result code:
343 Result code:
/openbmc/linux/tools/memory-model/scripts/
H 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.
34 Check the specified list of litmus tests against their "Result:"
55 against the .litmus file's "Result:" comment to judge whether
97 # Checks results against Result tags, runs in minutes:
H A Dcmplitmushist.sh91 echo ' !!!' Result changed: $2
128 echo "!!!" Result changed: $badcompare 1>&2
/openbmc/openbmc/poky/scripts/lib/resulttool/template/
H A Dtest_report_full_text.txt2 Test Result Status Summary (Counts/Percentages sorted by testseries, ID)
17 {{ machine }} PTest Result Summary
33 {{ machine }} Ltp Test Result Summary
49 {{ machine }} Ltp Posix Result Summary
/openbmc/qemu/rust/qemu-api-macros/src/
H A Dlib.rs22 fn is_c_repr(input: &DeriveInput, msg: &str) -> Result<(), CompileError> { in is_c_repr() argument
51 fn get_fields(input: &DeriveInput) -> Result<&Punctuated<Field, Comma>, CompileError> { in get_fields()
70 fn derive_offsets_or_error(input: DeriveInput) -> Result<proc_macro2::TokenStream, CompileError> { in derive_offsets_or_error()
/openbmc/linux/samples/rust/
H A Drust_print.rs18 fn arc_print() -> Result { in arc_print()
43 fn init(_module: &'static ThisModule) -> Result<Self> { in init()
/openbmc/linux/Documentation/driver-api/media/drivers/
H A 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 …]
/openbmc/openpower-host-ipmi-oem/
H A Dhost-interface.cpp58 auto value = status ? Result::Success : Result::Failure; in commandStatusHandler()
/openbmc/linux/scripts/
H 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
/openbmc/phosphor-host-ipmid/
H A Dhost-interface.cpp66 auto value = status ? Result::Success : Result::Failure; in commandStatusHandler()
/openbmc/openbmc-test-automation/lib/
H A Ddmtf_tools_utils.robot41 Redfish Service Validator Result
52 Redfish JsonSchema ResponseValidator Result
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp53 enum class Result enum
1250 static Result beginAggregation( in beginAggregation()
1265 return Result::LocalHandle; in beginAggregation()
1273 return Result::LocalHandle; in beginAggregation()
1309 return Result::NoLocalHandle; in beginAggregation()
1324 return Result::LocalHandle; in beginAggregation()
1336 return Result::LocalHandle; in beginAggregation()
1345 return Result::LocalHandle; in beginAggregation()
1349 return Result::LocalHandle; in beginAggregation()

123456