Home
last modified time | relevance | path

Searched defs:Self (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/rust/qemu-api/src/
H A Dmemory.rs63 pub const fn read<F: for<'a> FnCall<(&'a T, hwaddr, u32), u64>>(mut self, _f: &F) -> Self { in read()
69 pub const fn write<F: for<'a> FnCall<(&'a T, hwaddr, u64, u32)>>(mut self, _f: &F) -> Self { in write()
75 pub const fn big_endian(mut self) -> Self { in big_endian()
81 pub const fn little_endian(mut self) -> Self { in little_endian()
87 pub const fn native_endian(mut self) -> Self { in native_endian()
93 pub const fn valid_sizes(mut self, min: u32, max: u32) -> Self { in valid_sizes()
100 pub const fn valid_unaligned(mut self) -> Self { in valid_unaligned()
106 pub const fn impl_sizes(mut self, min: u32, max: u32) -> Self { in impl_sizes()
113 pub const fn impl_unaligned(mut self) -> Self { in impl_unaligned()
170 this: &mut MaybeUninitField<'_, T, Self>, in init_io() argument
H A Derror.rs91 fn from(msg: String) -> Self { in from()
104 fn from(msg: &'static str) -> Self { in from()
117 fn from(error: anyhow::Error) -> Self { in from()
132 pub fn with_error(msg: impl Into<Cow<'static, str>>, cause: impl Into<anyhow::Error>) -> Self { in with_error()
269 fn clone_to_foreign(&self) -> OwnedPointer<Self> { in clone_to_foreign()
289 unsafe fn cloned_from_foreign(c_error: *const bindings::Error) -> Self { in cloned_from_foreign()
H A Dbitops.rs38 fn bit(start: u32) -> Self in bit()
47 fn mask(start: u32, length: u32) -> Self in mask()
69 fn extract(self, start: u32, length: u32) -> Self in extract()
H A Dqom.rs522 fn cast<U: ObjectType>(klass: &mut U::Class) -> &mut Self { in cast()
550 let ptr: *const Self::Target = self.deref(); in as_ptr() constant
815 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw()
837 pub unsafe fn from(obj: &T) -> Self { in from()
850 fn clone(&self) -> Self { in clone()
944 .field(&(self as *const Self)) in debug_fmt() constant
H A Dvmstate.rs244 pub const fn with_version_id(mut self, version_id: i32) -> Self { in with_version_id()
251 pub const fn with_array_flag(mut self, num: usize) -> Self { in with_array_flag()
270 pub const fn with_pointer_flag(mut self) -> Self { in with_pointer_flag()
H A Duninit.rs15 pub fn new(parent: &'a mut MaybeUninit<T>, child: *mut U) -> Self { in new()
H A Dtimer.rs49 self: Pin<&'timer mut Self>, in init_full()
H A Dcell.rs712 fn clone_from(&mut self, source: &Self) { in clone_from()
809 fn clone(&self) -> Self { in clone()
968 pub unsafe fn from_raw<'a>(ptr: *mut T) -> &'a Self { in from_raw()
/openbmc/sdbusplus/include/sdbusplus/async/
H A Dserver.hpp24 using Self = server<Instance, Types...>; typedef in sdbusplus::async::server::server
H A Dclient.hpp32 using Self = client<S, P, Preserved, Types...>; typedef in sdbusplus::async::client::client
/openbmc/qemu/rust/qemu-api-macros/src/
H A Dbits.rs88 &Self, in parse_binop()
/openbmc/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs234 fn init_timer_with_cell(cell: &BqlRefCell<Self>) { in init_timer_with_cell()
608 fn init_timers(this: &mut MaybeUninit<Self>) { in init_timers()
700 unsafe fn init(mut this: ParentInit<Self>) { in init()
/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs503 unsafe fn init(mut this: ParentInit<Self>) { in init()