/external/clang/test/SemaCXX/ |
D | alignof.cpp | 7 …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/ |
D | attr-aligned.c | 11 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 …]
|
D | align-x86.c | 6 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 …]
|
D | align-systemz.c | 15 int chk1[__alignof__(c) == 1 ? 1 : -1]; 16 int chk2[__alignof__(s) == 1 ? 1 : -1];
|
D | align-arm-apcs.c | 5 char chk0[__alignof__(struct s0) == 4 ? 1 : -1];
|
/external/elfutils/libelf/ |
D | elf_getdata.c | 85 [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 …]
|
D | elf_getshdrstrndx.c | 114 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in elf_getshdrstrndx() 175 & (__alignof__ (Elf64_Shdr) - 1)) == 0)) in elf_getshdrstrndx()
|
D | elf_begin.c | 96 & ((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/ |
D | ebtables.h | 88 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/ |
D | exprs.c | 7 int y=__alignof__(zxcv); 28 int t2 = __alignof__(void); 31 t2 = __alignof__(void); in test4() 34 t2 = __alignof__(test4()); in test4()
|
D | 2009-02-13-zerosize-union-field.c | 11 printf("%ld\n", __alignof__(a)); in main() 15 printf("%ld\n", __alignof__(b)); in main()
|
D | 2009-02-13-zerosize-union-field-ppc.c | 11 printf("%ld\n", __alignof__(a)); in main() 13 printf("%ld\n", __alignof__(b)); in main()
|
D | alignof.c | 11 return __alignof__(t1_tmp); in f0()
|
/external/syslinux/com32/libutil/ |
D | sha256crypt.c | 240 # 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 …]
|
D | sha512crypt.c | 272 # 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.h | 37 __attribute__((__aligned__(__alignof__(long long)))); 39 __attribute__((__aligned__(__alignof__(long double))));
|
/external/syslinux/gpxe/src/core/ |
D | iobuf.c | 50 len = ( len + __alignof__( *iobuf ) - 1 ) & in alloc_iob() 51 ~( __alignof__( *iobuf ) - 1 ); in alloc_iob()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | tables.h | 216 #define __table_alignment( table ) __alignof__ ( __table_type ( table ) ) 412 ( ICC_ALIGN_HACK_FACTOR * __alignof__ ( __table_type ( table ) ) )
|
/external/elfutils/libebl/ |
D | eblwstrtab.c | 158 align = ((__alignof__ (struct Ebl_WStrent) in newstring() 160 & (__alignof__ (struct Ebl_WStrent) - 1))) in newstring() 161 & (__alignof__ (struct Ebl_WStrent) - 1)); in newstring()
|
D | eblstrtab.c | 158 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()
|
D | eblgstrtab.c | 158 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/ |
D | socket.h | 8 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
|
/external/iptables/include/libiptc/ |
D | libxtc.h | 16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
|
/external/iproute2/include/libiptc/ |
D | libxtc.h | 16 #define XT_MIN_ALIGN (__alignof__(struct xt_entry))
|
/external/clang/test/Parser/ |
D | cxx-attributes.cpp | 18 int check1[__alignof__(T1) == 1 ? 1 : -1];
|