Lines Matching refs:field
1026 // Check that the field of a struct has the same offset as the
1027 // corresponding field in the `sys` bindings.
1029 ($struct:ident, $field:ident) => {
1031 offset_of!($struct, $field),
1032 offset_of!(sys::$struct, $field)
1034 assert_eq!(span_of!($struct, $field), span_of!(sys::$struct, $field));
1049 ($name:ident, $($field:ident),*) => {
1056 $($field: unsafe { core::mem::zeroed() }),*
1060 $(check_struct_field!($name, $field));*