Lines Matching refs:AlignedCharArrayUnion
178 EXPECT_LE(1u, alignOf<AlignedCharArrayUnion<A1> >());
179 EXPECT_LE(2u, alignOf<AlignedCharArrayUnion<A2> >());
180 EXPECT_LE(4u, alignOf<AlignedCharArrayUnion<A4> >());
181 EXPECT_LE(8u, alignOf<AlignedCharArrayUnion<A8> >());
183 EXPECT_LE(1u, sizeof(AlignedCharArrayUnion<A1>));
184 EXPECT_LE(2u, sizeof(AlignedCharArrayUnion<A2>));
185 EXPECT_LE(4u, sizeof(AlignedCharArrayUnion<A4>));
186 EXPECT_LE(8u, sizeof(AlignedCharArrayUnion<A8>));
188 EXPECT_EQ(1u, (alignOf<AlignedCharArrayUnion<A1> >()));
189 EXPECT_EQ(2u, (alignOf<AlignedCharArrayUnion<A1, A2> >()));
190 EXPECT_EQ(4u, (alignOf<AlignedCharArrayUnion<A1, A2, A4> >()));
191 EXPECT_EQ(8u, (alignOf<AlignedCharArrayUnion<A1, A2, A4, A8> >()));
193 EXPECT_EQ(1u, sizeof(AlignedCharArrayUnion<A1>));
194 EXPECT_EQ(2u, sizeof(AlignedCharArrayUnion<A1, A2>));
195 EXPECT_EQ(4u, sizeof(AlignedCharArrayUnion<A1, A2, A4>));
196 EXPECT_EQ(8u, sizeof(AlignedCharArrayUnion<A1, A2, A4, A8>));
198 EXPECT_EQ(1u, (alignOf<AlignedCharArrayUnion<A1[1]> >()));
199 EXPECT_EQ(2u, (alignOf<AlignedCharArrayUnion<A1[2], A2[1]> >()));
200 EXPECT_EQ(4u, (alignOf<AlignedCharArrayUnion<A1[42], A2[55],
202 EXPECT_EQ(8u, (alignOf<AlignedCharArrayUnion<A1[2], A2[1],
205 EXPECT_EQ(1u, sizeof(AlignedCharArrayUnion<A1[1]>));
206 EXPECT_EQ(2u, sizeof(AlignedCharArrayUnion<A1[2], A2[1]>));
207 EXPECT_EQ(4u, sizeof(AlignedCharArrayUnion<A1[3], A2[2], A4>));
208 EXPECT_EQ(16u, sizeof(AlignedCharArrayUnion<A1, A2[3],
214 EXPECT_EQ(alignOf<char>(), alignOf<AlignedCharArrayUnion<char> >());
215 EXPECT_EQ(alignOf<short>(), alignOf<AlignedCharArrayUnion<short> >());
216 EXPECT_EQ(alignOf<int>(), alignOf<AlignedCharArrayUnion<int> >());
217 EXPECT_EQ(alignOf<long>(), alignOf<AlignedCharArrayUnion<long> >());
219 alignOf<AlignedCharArrayUnion<long long> >());
220 EXPECT_EQ(alignOf<float>(), alignOf<AlignedCharArrayUnion<float> >());
221 EXPECT_EQ(alignOf<double>(), alignOf<AlignedCharArrayUnion<double> >());
223 alignOf<AlignedCharArrayUnion<long double> >());
224 EXPECT_EQ(alignOf<void *>(), alignOf<AlignedCharArrayUnion<void *> >());
225 EXPECT_EQ(alignOf<int *>(), alignOf<AlignedCharArrayUnion<int *> >());
227 alignOf<AlignedCharArrayUnion<double (*)(double)> >());
229 alignOf<AlignedCharArrayUnion<double (S6::*)()> >());
230 EXPECT_EQ(alignOf<S1>(), alignOf<AlignedCharArrayUnion<S1> >());
231 EXPECT_EQ(alignOf<S2>(), alignOf<AlignedCharArrayUnion<S2> >());
232 EXPECT_EQ(alignOf<S3>(), alignOf<AlignedCharArrayUnion<S3> >());
233 EXPECT_EQ(alignOf<S4>(), alignOf<AlignedCharArrayUnion<S4> >());
234 EXPECT_EQ(alignOf<S5>(), alignOf<AlignedCharArrayUnion<S5> >());
235 EXPECT_EQ(alignOf<S6>(), alignOf<AlignedCharArrayUnion<S6> >());
236 EXPECT_EQ(alignOf<D1>(), alignOf<AlignedCharArrayUnion<D1> >());
237 EXPECT_EQ(alignOf<D2>(), alignOf<AlignedCharArrayUnion<D2> >());
238 EXPECT_EQ(alignOf<D3>(), alignOf<AlignedCharArrayUnion<D3> >());
239 EXPECT_EQ(alignOf<D4>(), alignOf<AlignedCharArrayUnion<D4> >());
240 EXPECT_EQ(alignOf<D5>(), alignOf<AlignedCharArrayUnion<D5> >());
241 EXPECT_EQ(alignOf<D6>(), alignOf<AlignedCharArrayUnion<D6> >());
242 EXPECT_EQ(alignOf<D7>(), alignOf<AlignedCharArrayUnion<D7> >());
243 EXPECT_EQ(alignOf<D8>(), alignOf<AlignedCharArrayUnion<D8> >());
244 EXPECT_EQ(alignOf<D9>(), alignOf<AlignedCharArrayUnion<D9> >());
245 EXPECT_EQ(alignOf<V1>(), alignOf<AlignedCharArrayUnion<V1> >());
246 EXPECT_EQ(alignOf<V2>(), alignOf<AlignedCharArrayUnion<V2> >());
247 EXPECT_EQ(alignOf<V3>(), alignOf<AlignedCharArrayUnion<V3> >());
248 EXPECT_EQ(alignOf<V4>(), alignOf<AlignedCharArrayUnion<V4> >());
249 EXPECT_EQ(alignOf<V5>(), alignOf<AlignedCharArrayUnion<V5> >());
250 EXPECT_EQ(alignOf<V6>(), alignOf<AlignedCharArrayUnion<V6> >());
251 EXPECT_EQ(alignOf<V7>(), alignOf<AlignedCharArrayUnion<V7> >());
256 EXPECT_EQ(alignOf<V8>(), alignOf<AlignedCharArrayUnion<V8> >());
259 EXPECT_EQ(sizeof(char), sizeof(AlignedCharArrayUnion<char>));
260 EXPECT_EQ(sizeof(char[1]), sizeof(AlignedCharArrayUnion<char[1]>));
261 EXPECT_EQ(sizeof(char[2]), sizeof(AlignedCharArrayUnion<char[2]>));
262 EXPECT_EQ(sizeof(char[3]), sizeof(AlignedCharArrayUnion<char[3]>));
263 EXPECT_EQ(sizeof(char[4]), sizeof(AlignedCharArrayUnion<char[4]>));
264 EXPECT_EQ(sizeof(char[5]), sizeof(AlignedCharArrayUnion<char[5]>));
265 EXPECT_EQ(sizeof(char[8]), sizeof(AlignedCharArrayUnion<char[8]>));
266 EXPECT_EQ(sizeof(char[13]), sizeof(AlignedCharArrayUnion<char[13]>));
267 EXPECT_EQ(sizeof(char[16]), sizeof(AlignedCharArrayUnion<char[16]>));
268 EXPECT_EQ(sizeof(char[21]), sizeof(AlignedCharArrayUnion<char[21]>));
269 EXPECT_EQ(sizeof(char[32]), sizeof(AlignedCharArrayUnion<char[32]>));
270 EXPECT_EQ(sizeof(short), sizeof(AlignedCharArrayUnion<short>));
271 EXPECT_EQ(sizeof(int), sizeof(AlignedCharArrayUnion<int>));
272 EXPECT_EQ(sizeof(long), sizeof(AlignedCharArrayUnion<long>));
274 sizeof(AlignedCharArrayUnion<long long>));
275 EXPECT_EQ(sizeof(float), sizeof(AlignedCharArrayUnion<float>));
276 EXPECT_EQ(sizeof(double), sizeof(AlignedCharArrayUnion<double>));
278 sizeof(AlignedCharArrayUnion<long double>));
279 EXPECT_EQ(sizeof(void *), sizeof(AlignedCharArrayUnion<void *>));
280 EXPECT_EQ(sizeof(int *), sizeof(AlignedCharArrayUnion<int *>));
282 sizeof(AlignedCharArrayUnion<double (*)(double)>));
284 sizeof(AlignedCharArrayUnion<double (S6::*)()>));
285 EXPECT_EQ(sizeof(S1), sizeof(AlignedCharArrayUnion<S1>));
286 EXPECT_EQ(sizeof(S2), sizeof(AlignedCharArrayUnion<S2>));
287 EXPECT_EQ(sizeof(S3), sizeof(AlignedCharArrayUnion<S3>));
288 EXPECT_EQ(sizeof(S4), sizeof(AlignedCharArrayUnion<S4>));
289 EXPECT_EQ(sizeof(S5), sizeof(AlignedCharArrayUnion<S5>));
290 EXPECT_EQ(sizeof(S6), sizeof(AlignedCharArrayUnion<S6>));
291 EXPECT_EQ(sizeof(D1), sizeof(AlignedCharArrayUnion<D1>));
292 EXPECT_EQ(sizeof(D2), sizeof(AlignedCharArrayUnion<D2>));
293 EXPECT_EQ(sizeof(D3), sizeof(AlignedCharArrayUnion<D3>));
294 EXPECT_EQ(sizeof(D4), sizeof(AlignedCharArrayUnion<D4>));
295 EXPECT_EQ(sizeof(D5), sizeof(AlignedCharArrayUnion<D5>));
296 EXPECT_EQ(sizeof(D6), sizeof(AlignedCharArrayUnion<D6>));
297 EXPECT_EQ(sizeof(D7), sizeof(AlignedCharArrayUnion<D7>));
298 EXPECT_EQ(sizeof(D8), sizeof(AlignedCharArrayUnion<D8>));
299 EXPECT_EQ(sizeof(D9), sizeof(AlignedCharArrayUnion<D9>));
300 EXPECT_EQ(sizeof(D9[1]), sizeof(AlignedCharArrayUnion<D9[1]>));
301 EXPECT_EQ(sizeof(D9[2]), sizeof(AlignedCharArrayUnion<D9[2]>));
302 EXPECT_EQ(sizeof(D9[3]), sizeof(AlignedCharArrayUnion<D9[3]>));
303 EXPECT_EQ(sizeof(D9[4]), sizeof(AlignedCharArrayUnion<D9[4]>));
304 EXPECT_EQ(sizeof(D9[5]), sizeof(AlignedCharArrayUnion<D9[5]>));
305 EXPECT_EQ(sizeof(D9[8]), sizeof(AlignedCharArrayUnion<D9[8]>));
306 EXPECT_EQ(sizeof(D9[13]), sizeof(AlignedCharArrayUnion<D9[13]>));
307 EXPECT_EQ(sizeof(D9[16]), sizeof(AlignedCharArrayUnion<D9[16]>));
308 EXPECT_EQ(sizeof(D9[21]), sizeof(AlignedCharArrayUnion<D9[21]>));
309 EXPECT_EQ(sizeof(D9[32]), sizeof(AlignedCharArrayUnion<D9[32]>));
310 EXPECT_EQ(sizeof(V1), sizeof(AlignedCharArrayUnion<V1>));
311 EXPECT_EQ(sizeof(V2), sizeof(AlignedCharArrayUnion<V2>));
312 EXPECT_EQ(sizeof(V3), sizeof(AlignedCharArrayUnion<V3>));
313 EXPECT_EQ(sizeof(V4), sizeof(AlignedCharArrayUnion<V4>));
314 EXPECT_EQ(sizeof(V5), sizeof(AlignedCharArrayUnion<V5>));
315 EXPECT_EQ(sizeof(V6), sizeof(AlignedCharArrayUnion<V6>));
316 EXPECT_EQ(sizeof(V7), sizeof(AlignedCharArrayUnion<V7>));
321 EXPECT_EQ(sizeof(V8), sizeof(AlignedCharArrayUnion<V8>));