Home
last modified time | relevance | path

Searched refs:offset_of (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/rust/qemu-api/src/
H A Doffset_of.rs10 macro_rules! offset_of { macro
108 use crate::offset_of;
151 const OFFSET_TO_C: usize = offset_of!(Bar, c); in test_offset_of()
153 assert_eq!(offset_of!(Bar, a), 0); in test_offset_of()
154 assert_eq!(offset_of!(Bar, b), 8); in test_offset_of()
156 assert_eq!(offset_of!(Bar, d), 40); in test_offset_of()
158 assert_eq!(offset_of!(Baz, b), 0); in test_offset_of()
159 assert_eq!(offset_of!(Baz, a), 4); in test_offset_of()
H A Dvmstate.rs61 offset: $crate::offset_of!($struct_name, $field_name),
138 offset: $crate::offset_of!($struct_name, $field_name),
186 offset: $crate::offset_of!($struct_name, $field_name),
215 offset: $crate::offset_of!($struct_name, $field_name),
244 offset: $crate::offset_of!($struct_name, $field_name),
H A Ddevice_class.rs35 offset: $crate::offset_of!($state, $field) as isize,
46 offset: $crate::offset_of!($state, $field) as isize,
H A Dlib.rs35 pub mod offset_of; module
175 pub use core::mem::offset_of;
/openbmc/linux/scripts/gdb/linux/
H A Dutils.py64 def offset_of(typeobj, field): function
71 offset_of(typeobj, member)).cast(typeobj)
/openbmc/qemu/rust/qemu-api/
H A Dmeson.build15 'src/offset_of.rs',
/openbmc/linux/
H A Dopengrok1.0.log[all...]