Home
last modified time | relevance | path

Searched refs:ObjectImpl (Results 1 – 6 of 6) sorted by relevance

/qemu/rust/qemu-api/src/
H A Dqom.rs209 unsafe extern "C" fn rust_instance_init<T: ObjectImpl>(obj: *mut bindings::Object) { in rust_instance_init()
219 unsafe extern "C" fn rust_instance_post_init<T: ObjectImpl>(obj: *mut bindings::Object) { in rust_instance_post_init()
227 unsafe extern "C" fn rust_class_init<T: ObjectType + ObjectImpl>( in rust_class_init()
237 <T as ObjectImpl>::CLASS_INIT(unsafe { klass.as_mut() }) in rust_class_init()
240 unsafe extern "C" fn drop_object<T: ObjectImpl>(obj: *mut bindings::Object) { in drop_object()
468 pub trait ObjectImpl: ObjectType + IsA<Object> { trait
549 unsafe extern "C" fn rust_unparent_fn<T: ObjectImpl>(dev: *mut bindings::Object) { in rust_unparent_fn()
557 pub fn class_init<T: ObjectImpl>(&mut self) { in class_init()
558 if <T as ObjectImpl>::UNPARENT.is_some() { in class_init()
H A Dqdev.rs22 qom::{ObjectClass, ObjectImpl, Owned},
105 pub trait DeviceImpl: ObjectImpl + ResettablePhasesImpl + IsA<DeviceState> {
/qemu/rust/qemu-api/tests/
H A Dtests.rs13 qom::{ObjectImpl, ParentField},
63 impl ObjectImpl for DummyState {
97 impl ObjectImpl for DummyChildState {
/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs14 qom::{ObjectImpl, Owned, ParentField},
163 impl ObjectImpl for PL011State {
696 impl ObjectImpl for PL011Luminary {
/qemu/rust/qemu-api-macros/src/
H A Dlib.rs93 ::qemu_api::qom::ParentField<<#name as ::qemu_api::qom::ObjectImpl>::ParentType>); in derive_object_or_error()
97 ::qemu_api::bindings::type_register_static(&<#name as ::qemu_api::qom::ObjectImpl>::TYPE_INFO); in derive_object_or_error()
/qemu/rust/hw/timer/hpet/src/
H A Ddevice.rs24 qom::{ObjectImpl, ObjectType, ParentField},
892 impl ObjectImpl for HPETState {