HomeSort by relevance Sort by last modified time
    Searched full:__alignof (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/clang/test/Misc/
languageOptsOpenCL.cl 8 int v1[(__alignof(int)== 4) - 1];
10 int v3[(__alignof(long)== 8) - 1];
12 int v5[(__alignof(long long)== 16) - 1];
14 int v7[(__alignof(float)== 4) - 1];
17 int v9[(__alignof(double)== 8) - 1];
20 int v11[(__alignof(half) == 2) - 1];
  /external/clang/test/SemaCXX/
alignment-of-derived-class.cpp 10 static_assert(__alignof(A) == 16, "A should be aligned to 16 bytes");
15 static_assert(__alignof(B1) == 16, "B1 should be aligned to 16 bytes");
20 static_assert(__alignof(B2) == 16, "B2 should be aligned to 16 bytes");
25 static_assert(__alignof(B3) == 16, "B3 should be aligned to 16 bytes");
30 static_assert(__alignof(B4) == 16, "B4 should be aligned to 16 bytes");
35 static_assert(__alignof(B5) == 16, "B5 should be aligned to 16 bytes");
40 static_assert(__alignof(B6) == 32, "B6 should be aligned to 32 bytes");
pragma-pack.cpp 55 int check1[__alignof(X<int, true>) == 1 ? 1 : -1];
56 int check2[__alignof(X<long double, true>) == 2 ? 1 : -1];
member-pointer-ms.cpp 96 static_assert(__alignof(int IncSingle::*) == __alignof(void *), ""); variable
97 static_assert(__alignof(int IncMultiple::*) == __alignof(void *), ""); variable
98 static_assert(__alignof(int IncVirtual::*) == __alignof(void *), ""); variable
99 static_assert(__alignof(void (IncSingle::*)()) == __alignof(void *), ""); variable
100 static_assert(__alignof(void (IncMultiple::*)()) == __alignof(void *), "") variable
101 static_assert(__alignof(void (IncVirtual::*)()) == __alignof(void *), ""); variable
    [all...]
microsoft-varargs.cpp 14 return (*(int *)((ap += ( (sizeof(int) + 4 - 1) & ~(4 - 1) ) + ( ((va_list)0 - (ap)) & (__alignof(int) - 1) )) - ( (sizeof(int) + 4 - 1) & ~(4 - 1) )));
bitfield-layout.cpp 4 #define CHECK_ALIGN(name, size) extern int name##2[__alignof(name) == size ? 1 : -1];
  /external/clang/test/Sema/
pragma-pack-6.c 15 extern int check[__alignof(struct X) == 2 ? 1 : -1];
16 extern int check[__alignof(struct Y) == 4 ? 1 : -1];
pragma-align-mac68k.c 11 extern int a0_0[__alignof(v2f_t) == 8 ? 1 : -1];
12 extern int a0_1[__alignof(v4f_t) == 16 ? 1 : -1];
21 extern int a1_3[__alignof(struct s1) == 2 ? 1 : -1];
30 extern int a2_3[__alignof(struct s2) == 2 ? 1 : -1];
39 extern int a3_3[__alignof(struct s3) == 2 ? 1 : -1];
48 extern int a4_3[__alignof(struct s4) == 2 ? 1 : -1];
55 extern int a5_1[__alignof(struct s5) == 2 ? 1 : -1];
62 extern int a6_1[__alignof(struct s6) == 2 ? 1 : -1];
69 extern int a7_1[__alignof(struct s7) == 2 ? 1 : -1];
76 extern int a8_1[__alignof(struct s8) == 2 ? 1 : -1]
    [all...]
struct-packed-align.c 13 extern int a2[__alignof(struct s) == 4 ? 1 : -1];
23 extern int b2[__alignof(struct packed_s) == 1 ? 1 : -1];
31 extern int c2[__alignof(struct fas) == 4 ? 1 : -1];
39 extern int d2[__alignof(struct packed_fas) == 1 ? 1 : -1];
47 extern int d2_2[__alignof(struct packed_after_fas) == 1 ? 1 : -1];
56 extern int e2[__alignof(struct as1) == 8 ? 1 : -1];
63 extern int e2_2[__alignof(struct as1_2) == 8 ? 1 : -1];
66 extern int e2_2[__alignof(struct as1_2) == 16 ? 1 : -1];
75 extern int f2[__alignof(struct as2) == 8 ? 1 : -1];
84 extern int g2[__alignof(struct as3) == 8 ? 1 : -1]
    [all...]
i386-linux-android.c 5 extern int a1_i[__alignof(long double) == 4 ? 1 : -1];
x86_64-linux-android.c 5 extern int a1_i[__alignof(long double) == 16 ? 1 : -1];
arm-layout.c 50 check(s4_align, __alignof(struct s4) == 4);
53 check(s4_align, __alignof(struct s4) == 1);
  /external/clang/test/Driver/
le64-unknown-unknown.cpp 13 int align_c = __alignof(char);
16 int align_s = __alignof(short);
19 int align_i = __alignof(int);
22 int align_l = __alignof(long);
25 int align_ll = __alignof(long long);
28 int align_p = __alignof(void*);
31 int align_f = __alignof(float);
34 int align_d = __alignof(double);
37 int align_ld = __alignof(long double);
40 int align_vl = __alignof(va_list)
    [all...]
wasm32-unknown-unknown.cpp 17 int align_c = __alignof(char);
20 int align_s = __alignof(short);
23 int align_i = __alignof(int);
26 int align_l = __alignof(long);
29 int align_ll = __alignof(long long);
32 int align_p = __alignof(void*);
35 int align_f = __alignof(float);
38 int align_d = __alignof(double);
41 int align_ld = __alignof(long double);
44 int align_vl = __alignof(va_list)
    [all...]
wasm64-unknown-unknown.cpp 17 int align_c = __alignof(char);
20 int align_s = __alignof(short);
23 int align_i = __alignof(int);
26 int align_l = __alignof(long);
29 int align_ll = __alignof(long long);
32 int align_p = __alignof(void*);
35 int align_f = __alignof(float);
38 int align_d = __alignof(double);
41 int align_ld = __alignof(long double);
44 int align_vl = __alignof(va_list)
    [all...]
le32-unknown-nacl.cpp 14 int align_c = __alignof(char);
17 int align_s = __alignof(short);
20 int align_i = __alignof(int);
23 int align_l = __alignof(long);
26 int align_ll = __alignof(long long);
29 int align_p = __alignof(void*);
32 int align_f = __alignof(float);
35 int align_d = __alignof(double);
38 int align_ld = __alignof(long double);
41 int align_vl = __alignof(va_list)
    [all...]
  /external/clang/test/CodeGen/
malign-double-x86-nacl.c 6 int checkalign[__alignof(long double) == 8 ? 1 : -1];
16 int checkalign2[__alignof(struct st_ld) == 8 ? 1 : -1];
19 int checkalign3[__alignof(double) == 8 ? 1 : -1];
29 int checkalign4[__alignof(struct st_d) == 8 ? 1 : -1];
33 int checkalign5[__alignof(long long) == 8 ? 1 : -1];
43 int checkalign6[__alignof(struct st_ll) == 8 ? 1 : -1];
packed-arrays.c 27 int align0 = __alignof(struct s0);
29 int align1 = __alignof(struct s1);
31 int align2 = __alignof(struct s2);
33 int align3 = __alignof(struct s3);
36 int align0_x = __alignof(((struct s0*) 0)->x);
39 int align1_x = __alignof(((struct s1*) 0)->x);
41 int align2_x = __alignof(((struct s2*) 0)->x);
43 int align3_x = __alignof(((struct s3*) 0)->x);
46 int align0_x0 = __alignof(((struct s0*) 0)->x[0]);
48 int align1_x0 = __alignof(((struct s1*) 0)->x[0])
    [all...]
packed-structure.c 15 int s0_align_x = __alignof(((struct s0*)0)->x);
16 int s0_align_y = __alignof(((struct s0*)0)->y);
17 int s0_align = __alignof(struct s0);
45 int s1_align_x = __alignof(((struct s1*)0)->x);
46 int s1_align_y = __alignof(((struct s1*)0)->y);
47 int s1_align = __alignof(struct s1);
73 int s2_align_x = __alignof(((struct s2*)0)->x);
74 int s2_align_y = __alignof(((struct s2*)0)->y);
75 int s2_align = __alignof(struct s2);
94 int s3_1 = __alignof(((struct s3*) 0)->anInt)
    [all...]
ext-vector-member-alignment.c 8 int x = __alignof(struct struct1);
  /external/clang/test/Parser/
expressions.c 67 int x3 = __alignof int; // expected-error {{expected parentheses around type name in __alignof expression}}
MicrosoftExtensions.c 103 _Static_assert(__alignof(struct align_before_key1) == 16, "");
104 _Static_assert(__alignof(struct align_before_key2) == 16, "");
105 _Static_assert(__alignof(struct align_before_key3) == 16, "");
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/
alignment_of.hpp 61 // With MSVC both the native __alignof operator
68 __alignof(T)
79 // alignment_of below, because MSVC's __alignof doesn't
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
vadefs.h 59 #define _APALIGN(t,ap) (__alignof(t) > 8 ? _ALIGNOF((uintptr_t) ap) : 0)
62 #define _APALIGN(t,ap) (__alignof(t))
  /external/clang/test/Headers/
c11.c 22 _Static_assert(__alignof(c) == 4, "");

Completed in 624 milliseconds

1 2 3