Searched refs:offset_of (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/rust/qemu-api/src/ |
H A D | offset_of.rs | 10 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 D | vmstate.rs | 61 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 D | device_class.rs | 35 offset: $crate::offset_of!($state, $field) as isize, 46 offset: $crate::offset_of!($state, $field) as isize,
|
H A D | lib.rs | 35 pub mod offset_of; module 175 pub use core::mem::offset_of;
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | utils.py | 64 def offset_of(typeobj, field): function 71 offset_of(typeobj, member)).cast(typeobj)
|
/openbmc/qemu/rust/qemu-api/ |
H A D | meson.build | 15 'src/offset_of.rs',
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |