Lines Matching +full:bi +full:- +full:directional
1 // SPDX-License-Identifier: GPL-2.0
3 //! Pre-defined atomic types
8 // SAFETY: `i32` has the same size and alignment with itself, and is round-trip transmutable to
16 fn rhs_into_delta(rhs: i32) -> i32 { in rhs_into_delta()
21 // SAFETY: `i64` has the same size and alignment with itself, and is round-trip transmutable to
29 fn rhs_into_delta(rhs: i64) -> i64 { in rhs_into_delta()
35 // as `isize` and `usize`, and `isize` and `usize` are always bi-directional transmutable to
50 // SAFETY: `isize` has the same size and alignment with `isize_atomic_repr`, and is round-trip
58 fn rhs_into_delta(rhs: isize) -> isize_atomic_repr { in rhs_into_delta()
63 // SAFETY: `u32` and `i32` has the same size and alignment, and `u32` is round-trip transmutable to
71 fn rhs_into_delta(rhs: u32) -> i32 { in rhs_into_delta()
76 // SAFETY: `u64` and `i64` has the same size and alignment, and `u64` is round-trip transmutable to
84 fn rhs_into_delta(rhs: u64) -> i64 { in rhs_into_delta()
89 // SAFETY: `usize` has the same size and alignment with `isize_atomic_repr`, and is round-trip
97 fn rhs_into_delta(rhs: usize) -> isize_atomic_repr { in rhs_into_delta()