Lines Matching refs:ty
137 ($ty:ty, $trailing_field_name:tt) => {{
161 zero_elems as *const $ty,
169 let ptr = ALIGNED_64K_ALLOCATION.as_ptr() as *const $ty;
235 ($ty:ty) => {{
259 _trailing: $ty,
334 ($t:ty, $_align:expr, $_packed:expr, [$($ts:ty),*]) => {{
350 ($t:ty, $align:expr, $packed:expr, [$($ts:tt),*]) => {{
358 (@field ([$t:ty])) => {
361 (@field ($t:ty)) => {
364 (@field [$t:ty]) => {
367 (@field $t:ty) => {
387 ($t:ty, $_align:expr, $_packed:expr, [$($ts:ty),*]) => {{
421 ($t:ty, $_align:expr, $packed:expr, $disc:ty, $([$($ts:ty),*]),*) => {{
968 (#[$cfg:meta] ($($ts:ty),* ; $trailing_field_ty:ty) => $expect:expr) => {{ in test_trailing_field_offset()
973 … (#[$cfg:meta] $(#[$cfgs:meta])* ($($ts:ty),* ; $trailing_field_ty:ty) => $expect:expr) => { in test_trailing_field_offset()
977 (@offset ; $_trailing:ty) => { trailing_field_offset!(Test, 0) }; in test_trailing_field_offset()
978 (@offset $_t:ty ; $_trailing:ty) => { trailing_field_offset!(Test, 1) }; in test_trailing_field_offset()
1147 (#[$cfg:meta] ($($ts:ty),*) => $expect:expr) => {{ in test_struct_padding()
1153 (#[$cfg:meta] $(#[$cfgs:meta])* ($($ts:ty),*) => $expect:expr) => { in test_struct_padding()
1214 (#[$cfg:meta] {$($fs:ident: $ts:ty),*} => $expect:expr) => {{ in test_union_padding()
1220 (#[$cfg:meta] $(#[$cfgs:meta])* {$($fs:ident: $ts:ty),*} => $expect:expr) => { in test_union_padding()
1242 … (#[repr($disc:ident $(, $c:ident)?)] { $($vs:ident ($($ts:ty),*),)* } => $expect:expr) => { in test_enum_padding()
1245 …ident $(, $c:ident)?)] #[$cfg:meta] $(#[$cfgs:meta])* { $($vs:ident ($($ts:ty),*),)* } => $expect:… in test_enum_padding()
1249 …(@case #[repr($disc:ident $(, $c:ident)?)] $(#[$cfg:meta])? { $($vs:ident ($($ts:ty),*),)* } => $e… in test_enum_padding()