Home
last modified time | relevance | path

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

/linux/rust/zerocopy/src/
H A Dlayout.rs131 pub(crate) const CURRENT_MAX_ALIGN: NonZeroUsize = match NonZeroUsize::new(1 << 28) { constant
138 pub(crate) const CURRENT_MAX_ALIGN: NonZeroUsize = match NonZeroUsize::new(1 << 15) { constant
358 const_debug_assert!(self.align.get() <= DstLayout::CURRENT_MAX_ALIGN.get()); in extend()
359 const_debug_assert!(field.align.get() <= DstLayout::CURRENT_MAX_ALIGN.get()); in extend()
361 const_debug_assert!(repr_packed.get() <= DstLayout::CURRENT_MAX_ALIGN.get()); in extend()
1138 let max_align = pack.unwrap_or(DstLayout::CURRENT_MAX_ALIGN); in test_dst_layout_extend_sized_with_sized()
1209 let max_align = pack.unwrap_or(DstLayout::CURRENT_MAX_ALIGN).get(); in test_dst_layout_extend_sized_with_dst()
1286 let current_max_align = DstLayout::CURRENT_MAX_ALIGN.get(); in test_dst_layout_pad_to_align_with_sized()