Home
last modified time | relevance | path

Searched refs:repr_align (Results 1 – 4 of 4) sorted by relevance

/linux/rust/zerocopy-derive/derive/
H A Dknown_layout.rs23 let repr_align = repr in derive_known_layout_for_repr_c_struct() localVariable
113 #repr_align, in derive_known_layout_for_repr_c_struct()
/linux/rust/zerocopy/src/
H A Dlayout.rs185 pub const fn new_zst(repr_align: Option<NonZeroUsize>) -> DstLayout { in new_zst()
186 let align = match repr_align { in new_zst()
281 repr_align: Option<NonZeroUsize>, in for_repr_c_struct()
285 let mut layout = DstLayout::new_zst(repr_align); in for_repr_c_struct()
H A Dlib.rs6730 let repr_align = NonZeroUsize::new(64); in test_known_layout_derive() localVariable
6732 let expected = DstLayout::new_zst(repr_align) in test_known_layout_derive()
6793 let repr_align = NonZeroUsize::new(64); in test_known_layout_derive() localVariable
6795 let expected = DstLayout::new_zst(repr_align) in test_known_layout_derive()
/linux/rust/zerocopy-derive/
H A Dutil.rs586 let repr_align = in build() localVariable
608 … #zerocopy_crate::#validator_macro!(Self, #repr_align, #repr_packed, #(#t,)* #(#variant_types),*) in build()