Lines Matching defs:i32
52 // SAFETY: `i32` has the same size and alignment with itself, and is round-trip transmutable to
54 unsafe impl super::AtomicType for i32 {
55 type Repr = i32;
58 // SAFETY: The wrapping add result of two `i32`s is a valid `i32`.
59 unsafe impl super::AtomicAdd<i32> for i32 {
60 fn rhs_into_delta(rhs: i32) -> i32 {
84 type isize_atomic_repr = i32;
93 type isize_atomic_repr = i32;
118 // SAFETY: `u32` and `i32` has the same size and alignment, and `u32` is round-trip transmutable to
119 // `i32`.
121 type Repr = i32;
124 // SAFETY: The wrapping add result of two `i32`s is a valid `u32`.
126 fn rhs_into_delta(rhs: u32) -> i32 {
127 rhs as i32
176 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
182 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
193 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
200 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
214 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
224 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
239 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
251 for_each_type!(42 in [i8, i16, i32, i64, u32, u64, isize, usize] |v| {
269 for_each_type!(42 in [i32, i64, u32, u64, isize, usize] |v| {