Home
last modified time | relevance | path

Searched refs:__alignof__ (Results 1 – 25 of 56) sorted by relevance

123

/external/clang/test/SemaCXX/
Dalignof.cpp7 …static const int test0 = __alignof__(x); // expected-error {{invalid application of 'alignof' to a…
8 …static const int test1 = __alignof__(S0::x); // expected-error {{invalid application of 'alignof' …
9 …auto test2() -> char(&)[__alignof__(x)]; // expected-error {{invalid application of 'alignof' to a…
14 const int test3 = __alignof__(s1); // expected-error {{invalid application of 'alignof' to an incom…
21 int test4 = __alignof__(x); // ok
22 …int test5 = __alignof__(s); // expected-error {{invalid application of 'alignof' to an incomplete …
25 const int test6 = __alignof__(S2::x);
26 const int test7 = __alignof__(S2::s); // expected-error {{invalid application of 'alignof' to an in…
36 static const int test8 = __alignof__(s2.x);
37 …static const int test9 = __alignof__(s2.s); // expected-error {{invalid application of 'alignof' t…
[all …]
/external/clang/test/Sema/
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__(d) == 2 ?: -1] = {0};
[all …]
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__(g4.a) == 1 ? 1 : -1];
[all …]
Dalign-systemz.c15 int chk1[__alignof__(c) == 1 ? 1 : -1];
16 int chk2[__alignof__(s) == 1 ? 1 : -1];
Dalign-arm-apcs.c5 char chk0[__alignof__(struct s0) == 4 ? 1 : -1];
/external/elfutils/libelf/
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__ (ElfW2(Bits,Sxword)), \
[all …]
Delf_getshdrstrndx.c114 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in elf_getshdrstrndx()
175 & (__alignof__ (Elf64_Shdr) - 1)) == 0)) in elf_getshdrstrndx()
Delf_begin.c96 & ((is32 ? __alignof__ (Elf32_Ehdr) : __alignof__ (Elf64_Ehdr)) in get_shnum()
155 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in get_shnum()
205 & (__alignof__ (Elf64_Shdr) - 1)) == 0)) in get_shnum()
309 || (((uintptr_t) ehdr) & (__alignof__ (Elf32_Ehdr) - 1)) == 0)) in file_read_elf()
346 & (__alignof__ (Elf32_Shdr) - 1)) == 0))) in file_read_elf()
411 || (((uintptr_t) ehdr) & (__alignof__ (Elf64_Ehdr) - 1)) == 0)) in file_read_elf()
448 & (__alignof__ (Elf64_Shdr) - 1)) == 0))) in file_read_elf()
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
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))));
Debt_ulog.h35 ((aligned (__alignof__(struct ebt_ulog_info))));
/external/clang/test/CodeGen/
Dexprs.c7 int y=__alignof__(zxcv);
28 int t2 = __alignof__(void);
31 t2 = __alignof__(void); in test4()
34 t2 = __alignof__(test4()); in test4()
D2009-02-13-zerosize-union-field.c11 printf("%ld\n", __alignof__(a)); in main()
15 printf("%ld\n", __alignof__(b)); in main()
D2009-02-13-zerosize-union-field-ppc.c11 printf("%ld\n", __alignof__(a)); in main()
13 printf("%ld\n", __alignof__(b)); in main()
Dalignof.c11 return __alignof__(t1_tmp); in f0()
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
D__stddef_max_align_t.h37 __attribute__((__aligned__(__alignof__(long long))));
39 __attribute__((__aligned__(__alignof__(long double))));
/external/clang/lib/Headers/
D__stddef_max_align_t.h37 __attribute__((__aligned__(__alignof__(long long))));
39 __attribute__((__aligned__(__alignof__(long double))));
/external/elfutils/libebl/
Deblstrtab.c158 size_t align = ((__alignof__ (struct Ebl_Strent) in newstring()
160 & (__alignof__ (struct Ebl_Strent) - 1))) in newstring()
161 & (__alignof__ (struct Ebl_Strent) - 1)); in newstring()
Deblwstrtab.c158 align = ((__alignof__ (struct Ebl_WStrent) in newstring()
160 & (__alignof__ (struct Ebl_WStrent) - 1))) in newstring()
161 & (__alignof__ (struct Ebl_WStrent) - 1)); in newstring()
Deblgstrtab.c158 size_t align = ((__alignof__ (struct Ebl_GStrent) in newstring()
160 & (__alignof__ (struct Ebl_GStrent) - 1))) in newstring()
161 & (__alignof__ (struct Ebl_GStrent) - 1)); in newstring()
/external/kernel-headers/original/uapi/linux/
Dsocket.h8 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
/external/iptables/include/libiptc/
Dlibxtc.h16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
/external/iproute2/include/libiptc/
Dlibxtc.h16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
/external/clang/test/Parser/
Dcxx-attributes.cpp18 int check1[__alignof__(T1) == 1 ? 1 : -1];
/external/elfutils/lib/
Dsha1.h55 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (sha1_uint32))));
Dmd5.h54 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));

123