Lines Matching refs:usize
58 // as `isize` and `usize`, and `isize` and `usize` are always bi-directional transmutable to
81 static_assert!(size_of::<usize>() == size_of::<isize_atomic_repr>());
82 static_assert!(align_of::<usize>() == align_of::<isize_atomic_repr>());
90 // SAFETY: The wrapping add result of two `isize_atomic_repr`s is a valid `usize`.
123 // SAFETY: `usize` has the same size and alignment with `isize_atomic_repr`, and is round-trip
125 unsafe impl super::AtomicType for usize {
129 // SAFETY: The wrapping add result of two `isize_atomic_repr`s is a valid `usize`.
130 unsafe impl super::AtomicAdd<usize> for usize {
131 fn rhs_into_delta(rhs: usize) -> isize_atomic_repr {
155 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
164 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
174 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
187 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
202 for_each_type!(42 in [i32, i64, u32, u64, isize, usize] |v| {