Searched refs:__alignof__ (Results 1 - 25 of 51) sorted by relevance

123

/external/clang/test/Sema/
H A Dalign-x86.c6 short chk1[__alignof__(g1) == 8 ? 1 : -1];
7 short chk2[__alignof__(double) == 8 ? 1 : -1];
10 short chk1[__alignof__(g2) == 8 ? 1 : -1];
11 short chk2[__alignof__(long long) == 8 ? 1 : -1];
14 short chk1[__alignof__(g5) == 8 ? 1 : -1];
15 short chk2[__alignof__(unsigned long long) == 8 ? 1 : -1];
18 short chk1[__alignof__(g3) == 8 ? 1 : -1];
19 short chk2[__alignof__(_Complex double) == 8 ? 1 : -1];
23 short chk1[__alignof__(g4) == 1 ? 1 : -1];
24 short chk2[__alignof__(g
[all...]
H A Dalign-systemz.c6 // retrieved via __alignof__.
15 int chk1[__alignof__(c) == 1 ? 1 : -1];
16 int chk2[__alignof__(s) == 1 ? 1 : -1];
H A Dattr-aligned.c8 short g0_chk[__alignof__(g0) == 16 ? 1 : -1];
19 char a0[__alignof__(ueber_aligned_char) == 8? 1 : -1] = { 0 };
20 char a1[__alignof__(struct struct_with_ueber_char) == 8? 1 : -1] = { 0 };
21 char a2[__alignof__(a) == 1? : -1] = { 0 };
25 char a4[__alignof__(underaligned_longlong) == 1 ?: -1] = {0};
28 char a5[__alignof__(underaligned_complex_longlong) == 1 ?: -1] = {0};
32 char b1[__alignof__(b) == 2 ?: -1] = {0};
35 char c1[__alignof__(c) == 4 ?: -1] = {0};
36 char c2[__alignof__(c.member) == 4 ?: -1] = {0};
39 char d1[__alignof__(
[all...]
H A Dalign-arm-apcs.c5 char chk0[__alignof__(struct s0) == 4 ? 1 : -1];
/external/clang/test/SemaCXX/
H A Dalignof.cpp7 static const int test0 = __alignof__(x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}}
8 static const int test1 = __alignof__(S0::x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}}
9 auto test2() -> char(&)[__alignof__(x)]; // expected-error {{invalid application of 'alignof' to a field of a class still being defined}}
14 const int test3 = __alignof__(s1); // expected-error {{invalid application of 'alignof' to an incomplete type 'S1'}}
21 int test4 = __alignof__(x); // ok
22 int test5 = __alignof__(s); // expected-error {{invalid application of 'alignof' to an incomplete type 'S1'}}
25 const int test6 = __alignof__(S2::x);
26 const int test7 = __alignof__(S2::s); // expected-error {{invalid application of 'alignof' to an incomplete type 'S1'}}
36 static const int test8 = __alignof__(s2.x);
37 static const int test9 = __alignof__(s
[all...]
H A Dtypo-correction-cxx11.cpp31 long Alignment = __alignof__(Functor);
/external/clang/lib/Headers/
H A D__stddef_max_align_t.h37 __attribute__((__aligned__(__alignof__(long long))));
39 __attribute__((__aligned__(__alignof__(long double))));
/external/clang/test/CodeGen/
H A D2009-02-13-zerosize-union-field-ppc.c11 printf("%ld\n", __alignof__(a));
13 printf("%ld\n", __alignof__(b));
H A D2009-02-13-zerosize-union-field.c11 printf("%ld\n", __alignof__(a));
15 printf("%ld\n", __alignof__(b));
H A Dalignof.c11 return __alignof__(t1_tmp);
H A Dexprs.c7 int y=__alignof__(zxcv);
28 int t2 = __alignof__(void);
31 t2 = __alignof__(void);
34 t2 = __alignof__(test4());
/external/kernel-headers/original/uapi/linux/
H A Dsocket.h8 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
/external/iproute2/include/libiptc/
H A Dlibxtc.h16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
/external/iptables/include/libiptc/
H A Dlibxtc.h16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
/external/elfutils/libelf/
H A Delf_getdata.c85 [ELF_T_ADDR] = __alignof__ (ElfW2(Bits,Addr)), \
86 [ELF_T_EHDR] = __alignof__ (ElfW2(Bits,Ehdr)), \
87 [ELF_T_HALF] = __alignof__ (ElfW2(Bits,Half)), \
88 [ELF_T_OFF] = __alignof__ (ElfW2(Bits,Off)), \
89 [ELF_T_PHDR] = __alignof__ (ElfW2(Bits,Phdr)), \
90 [ELF_T_SHDR] = __alignof__ (ElfW2(Bits,Shdr)), \
91 [ELF_T_SWORD] = __alignof__ (ElfW2(Bits,Sword)), \
92 [ELF_T_WORD] = __alignof__ (ElfW2(Bits,Word)), \
93 [ELF_T_XWORD] = __alignof__ (ElfW2(Bits,Xword)), \
94 [ELF_T_SXWORD] = __alignof__ (ElfW
[all...]
H A Dgelf_getverdaux.c66 || unlikely (offset % __alignof__ (GElf_Verdaux) != 0))
H A Dgelf_getverdef.c66 || unlikely (offset % __alignof__ (GElf_Verdef) != 0))
H A Delf_getshdrstrndx.c114 & (__alignof__ (Elf32_Shdr) - 1)) == 0))
175 & (__alignof__ (Elf64_Shdr) - 1)) == 0))
/external/clang/test/Parser/
H A Dcxx-attributes.cpp18 int check1[__alignof__(T1) == 1 ? 1 : -1];
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_ulog.h35 ((aligned (__alignof__(struct ebt_ulog_info))));
H A Debtables.h86 char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
125 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
135 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
145 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
178 unsigned char elems[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
/external/elfutils/lib/
H A Dmd5.h54 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));
H A Dsha1.h55 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (sha1_uint32))));
/external/libvncserver/common/
H A Dmd5.h91 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));
/external/libchrome/base/
H A Dcompiler_specific.h119 #define ALIGNOF(type) __alignof__(type)

Completed in 1300 milliseconds

123