Lines Matching refs:STRUCT1
76 } STRUCT1, STRUCT2;
78 AssertCompileMemberSize(STRUCT1, u8, 1);
79 AssertCompileMemberSize(STRUCT1, u16, 2);
80 AssertCompileMemberSize(STRUCT1, u32, 4);
81 AssertCompileMemberSize(STRUCT1, u64, 8);
83 AssertCompileMemberSizeAlignment(STRUCT1, u8, 1);
84 AssertCompileMemberSizeAlignment(STRUCT1, u16, 1);
85 AssertCompileMemberSizeAlignment(STRUCT1, u16, 2);
86 AssertCompileMemberSizeAlignment(STRUCT1, u32, 1);
87 AssertCompileMemberSizeAlignment(STRUCT1, u32, 2);
88 AssertCompileMemberSizeAlignment(STRUCT1, u32, 4);
89 AssertCompileMemberSizeAlignment(STRUCT1, u64, 1);
90 AssertCompileMemberSizeAlignment(STRUCT1, u64, 2);
91 AssertCompileMemberSizeAlignment(STRUCT1, u64, 4);
92 AssertCompileMemberSizeAlignment(STRUCT1, u64, 8);
93 AssertCompileMemberSizeAlignment(STRUCT1, psz, sizeof(void *));
95 AssertCompileMemberAlignment(STRUCT1, u8, 1);
96 AssertCompileMemberAlignment(STRUCT1, u16, 1);
97 AssertCompileMemberAlignment(STRUCT1, u16, 2);
98 AssertCompileMemberAlignment(STRUCT1, u32, 1);
99 AssertCompileMemberAlignment(STRUCT1, u32, 2);
100 AssertCompileMemberAlignment(STRUCT1, u32, 4);
101 AssertCompileMemberAlignment(STRUCT1, u64, 1);
102 AssertCompileMemberAlignment(STRUCT1, u64, 2);
103 AssertCompileMemberAlignment(STRUCT1, u64, 4);
105 AssertCompileMemberAlignment(STRUCT1, u64, 8);
107 AssertCompileMemberAlignment(STRUCT1, psz, sizeof(void *));
109 AssertCompileMemberOffset(STRUCT1, u8, 0);
110 AssertCompileMemberOffset(STRUCT1, au8, 1);
112 AssertCompileMemberOffset(STRUCT1, au8[0], 1);
113 AssertCompileMemberOffset(STRUCT1, au8[8], 9);
118 STRUCT1 s1;
128 AssertCompileAdjacentMembers(STRUCT1, u32A, u32B);
129 AssertCompileAdjacentMembers(STRUCT1, u8, au8);
131 AssertCompileAdjacentMembers(STRUCT1, u8, au8[0]);
132 AssertCompileAdjacentMembers(STRUCT1, au8[0], au8[1]);
135 AssertCompileMembersAtSameOffset(STRUCT1, u8, STRUCT2, u8);
136 AssertCompileMembersAtSameOffset(STRUCT1, au8, STRUCT2, au8);
137 AssertCompileMembersAtSameOffset(STRUCT1, u16, STRUCT2, u16);
138 AssertCompileMembersAtSameOffset(STRUCT1, u32, STRUCT2, u32);
139 AssertCompileMembersAtSameOffset(STRUCT1, u64, STRUCT2, u64);
141 AssertCompileMembersSameSize(STRUCT1, u8, STRUCT2, u8);
142 AssertCompileMembersSameSize(STRUCT1, au8, STRUCT2, au8);
143 AssertCompileMembersSameSize(STRUCT1, u16, STRUCT2, u16);
144 AssertCompileMembersSameSize(STRUCT1, u32, STRUCT2, u32);
145 AssertCompileMembersSameSize(STRUCT1, u64, STRUCT2, u64);
147 AssertCompileMembersSameSizeAndOffset(STRUCT1, u8, STRUCT2, u8);
148 AssertCompileMembersSameSizeAndOffset(STRUCT1, au8, STRUCT2, au8);
149 AssertCompileMembersSameSizeAndOffset(STRUCT1, u16, STRUCT2, u16);
150 AssertCompileMembersSameSizeAndOffset(STRUCT1, u32, STRUCT2, u32);
151 AssertCompileMembersSameSizeAndOffset(STRUCT1, u64, STRUCT2, u64);