Home
last modified time | relevance | path

Searched refs:__alignof__ (Results 1 – 25 of 66) 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.c11 short g0_chk[__alignof__(g0) == 16 ? 1 : -1];
22 char a0[__alignof__(ueber_aligned_char) == 8? 1 : -1] = { 0 };
23 char a1[__alignof__(struct struct_with_ueber_char) == 8? 1 : -1] = { 0 };
24 char a2[__alignof__(a) == 1? : -1] = { 0 };
28 char a4[__alignof__(underaligned_longlong) == 1 ?: -1] = {0};
31 char a5[__alignof__(underaligned_complex_longlong) == 1 ?: -1] = {0};
35 char b1[__alignof__(b) == 2 ?: -1] = {0};
38 char c1[__alignof__(c) == 4 ?: -1] = {0};
39 char c2[__alignof__(c.member) == 4 ?: -1] = {0};
42 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.h88 char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
127 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
137 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
147 unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
180 unsigned char elems[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
/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/syslinux/com32/libutil/
Dsha256crypt.c240 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
295 __attribute__ ((__aligned__(__alignof__(uint32_t)))); in sha256_crypt_r()
297 __attribute__ ((__aligned__(__alignof__(uint32_t)))); in sha256_crypt_r()
333 if ((key - (char *)0) % __alignof__(uint32_t) != 0) { in sha256_crypt_r()
334 char *tmp = (char *)alloca(key_len + __alignof__(uint32_t)); in sha256_crypt_r()
335 key = copied_key = memcpy(tmp + __alignof__(uint32_t) in sha256_crypt_r()
336 - (tmp - (char *)0) % __alignof__(uint32_t), in sha256_crypt_r()
340 if ((salt - (char *)0) % __alignof__(uint32_t) != 0) { in sha256_crypt_r()
341 char *tmp = (char *)alloca(salt_len + __alignof__(uint32_t)); in sha256_crypt_r()
342 salt = copied_salt = memcpy(tmp + __alignof__(uint32_t) in sha256_crypt_r()
[all …]
Dsha512crypt.c272 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes()
330 __attribute__ ((__aligned__(__alignof__(uint64_t)))); in sha512_crypt_r()
332 __attribute__ ((__aligned__(__alignof__(uint64_t)))); in sha512_crypt_r()
368 if ((key - (char *)0) % __alignof__(uint64_t) != 0) { in sha512_crypt_r()
369 char *tmp = (char *)alloca(key_len + __alignof__(uint64_t)); in sha512_crypt_r()
370 key = copied_key = memcpy(tmp + __alignof__(uint64_t) in sha512_crypt_r()
371 - (tmp - (char *)0) % __alignof__(uint64_t), in sha512_crypt_r()
375 if ((salt - (char *)0) % __alignof__(uint64_t) != 0) { in sha512_crypt_r()
376 char *tmp = (char *)alloca(salt_len + __alignof__(uint64_t)); in sha512_crypt_r()
377 salt = copied_salt = memcpy(tmp + __alignof__(uint64_t) in sha512_crypt_r()
[all …]
/external/clang/lib/Headers/
D__stddef_max_align_t.h37 __attribute__((__aligned__(__alignof__(long long))));
39 __attribute__((__aligned__(__alignof__(long double))));
/external/syslinux/gpxe/src/core/
Diobuf.c50 len = ( len + __alignof__( *iobuf ) - 1 ) & in alloc_iob()
51 ~( __alignof__( *iobuf ) - 1 ); in alloc_iob()
/external/syslinux/gpxe/src/include/gpxe/
Dtables.h216 #define __table_alignment( table ) __alignof__ ( __table_type ( table ) )
412 ( ICC_ALIGN_HACK_FACTOR * __alignof__ ( __table_type ( table ) ) )
/external/elfutils/libebl/
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()
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()
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];

123