Home
last modified time | relevance | path

Searched refs:aligned (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/external/llvm/include/llvm/Support/
DEndian.h25 enum alignment {unaligned, aligned}; enumerator
33 struct alignment_access_helper<value_type, aligned>
122 class packed_endian_specific_integral<value_type, little, aligned> {
125 return endian::read_le<value_type, aligned>(&Value);
128 endian::write_le<value_type, aligned>((void *)&Value, newValue);
135 class packed_endian_specific_integral<value_type, big, aligned> {
138 return endian::read_be<value_type, aligned>(&Value);
141 endian::write_be<value_type, aligned>((void *)&Value, newValue);
168 <uint8_t, little, aligned> aligned_ulittle8_t;
170 <uint16_t, little, aligned> aligned_ulittle16_t;
[all …]
/external/clang/test/SemaCXX/
Dattr-declspec-ignored.cpp4 …__attribute__((visibility("hidden"))) __attribute__((aligned)) class A; // expected-warning{{attr…
6 …__attribute__((visibility("hidden"))) __attribute__((aligned)) struct B; // expected-warning{{att…
8 …__attribute__((visibility("hidden"))) __attribute__((aligned)) union C; // expected-warning{{attr…
10 …__attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D}; // expected-warning{{a…
15 __attribute__((visibility("hidden"))) __attribute__((aligned)) class A {} a;
16 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct B {} b;
17 __attribute__((visibility("hidden"))) __attribute__((aligned)) union C {} c;
18 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D} d;
Dwarn-new-overaligned.cpp8 } __attribute__((aligned(256)));
22 typedef int __attribute__((aligned(256))) aligned_int;
38 } __attribute__((aligned(256)));
59 } __attribute__((aligned(256)));
Dwarn-new-overaligned-3.cpp12 } __attribute__((aligned(256)));
25 struct helper { int i __attribute__((aligned(256))); };
/external/clang/test/Sema/
Dattr-aligned.c3 int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}}
6 short g0[3] __attribute__((aligned));
10 typedef char ueber_aligned_char __attribute__((aligned(8)));
24 int b __attribute__((aligned(2)));
27 struct C { int member __attribute__((aligned(2))); } c;
31 struct D { int member __attribute__((aligned(2))) __attribute__((packed)); } d;
35 struct E { int member __attribute__((aligned(2))); } __attribute__((packed));
Dattr-declspec-ignored.c3 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct A; // expected-warning{{attr…
5 __attribute__((visibility("hidden"))) __attribute__((aligned)) union B; // expected-warning{{attri…
7 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum C {C}; // expected-warning{{at…
10 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct D {} d;
11 __attribute__((visibility("hidden"))) __attribute__((aligned)) union E {} e;
12 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum F {F} f;
Dstruct-packed-align.c50 struct __attribute__((aligned(8))) as1 {
59 struct __attribute__((aligned)) as1_2 {
67 int __attribute__((aligned(8))) a;
76 int __attribute__((aligned(8))) b;
95 union au5 {__attribute__((aligned(4))) char c;};
100 struct as6 {char c; __attribute__((packed, aligned(2))) int x;};
104 union au6 {char c; __attribute__((packed, aligned(2))) int x;};
122 typedef long long __attribute__((aligned(1))) nt;
Dpragma-pack-4.c8 long long a __attribute__((aligned(8)));
9 long long b __attribute__((aligned(8)));
10 unsigned int c __attribute__((aligned(8)));
Dpragma-align-packed.c6 int f1 __attribute__((aligned(4)));
13 int f1 __attribute__((aligned(4)));
20 int f1 __attribute__((aligned(4)));
/external/clang/test/CodeGen/
Dalignment.c3 __attribute((aligned(16))) float a[128];
4 union {int a[4]; __attribute((aligned(16))) float b[4];} b;
12 typedef int myint __attribute__((aligned(1)));
30 typedef float __attribute__((vector_size(16), aligned(4))) packedfloat4;
41 typedef float __attribute__((ext_vector_type(3), aligned(4))) packedfloat3;
51 typedef float __attribute__((vector_size(16), aligned(64))) float4align64;
Dpragma-pack-2.c13 long long a __attribute__((aligned(8)));
14 long long b __attribute__((aligned(8)));
15 unsigned int c __attribute__((aligned(8)));
Dalign-local.c3 typedef struct __attribute((aligned(16))) {int x[4];} ff;
7 struct {int x[4];} b __attribute((aligned(16))); in a()
DPR5060-align.c5 static char p __attribute__((aligned(32))); in foo()
11 char p[n] __attribute__((aligned(32))); in bar()
D2008-01-25-ZeroSizedAggregate.c6 __attribute__((aligned)) Tlong:0;
16 typedef unsigned long long int Tal2ullong __attribute__((aligned(2)));
/external/v8/src/
Dunicode-inl.h170 unsigned aligned = (offset + 0x3) & ~0x3; in EncodeNonAsciiCharacter() local
171 if ((aligned + sizeof(uchar)) > capacity) in EncodeNonAsciiCharacter()
173 if (offset == aligned) { in EncodeNonAsciiCharacter()
174 IF_LITTLE(*reinterpret_cast<uchar*>(buffer + aligned) = (c << 8) | 0x80); in EncodeNonAsciiCharacter()
175 IF_BIG(*reinterpret_cast<uchar*>(buffer + aligned) = c | (1 << 31)); in EncodeNonAsciiCharacter()
178 IF_LITTLE(*reinterpret_cast<uchar*>(buffer + aligned) = c << 8); in EncodeNonAsciiCharacter()
179 IF_BIG(*reinterpret_cast<uchar*>(buffer + aligned) = c); in EncodeNonAsciiCharacter()
181 offset = aligned + sizeof(uchar); in EncodeNonAsciiCharacter()
200 unsigned aligned = (*offset + 0x3) & ~0x3; in DecodeCharacter() local
201 *offset = aligned + sizeof(uchar); in DecodeCharacter()
[all …]
/external/clang/test/CodeGenCXX/
Dattr.cpp6 int foo() __attribute__((aligned(1024)));
10 virtual void bar1() __attribute__((aligned(1)));
11 virtual void bar2() __attribute__((aligned(2)));
12 virtual void bar3() __attribute__((aligned(1024)));
/external/kernel-headers/original/asm-x86/
Dvsyscall.h19 #define __section_vgetcpu_mode __attribute__ ((unused, __section__ (".vgetcpu_mode"), aligned(16)))
20 #define __section_jiffies __attribute__ ((unused, __section__ (".jiffies"), aligned(16)))
24 ((unused, __section__ (".vsyscall_gtod_data"),aligned(16)))
26 ((unused, __section__ (".vsyscall_clock"),aligned(16)))
/external/clang/test/CodeGenObjC/
Dblocks-3.m12 typedef id aid __attribute__((aligned(1)));
14 __block id a2 __attribute__((aligned(2)));
15 __block id a3 __attribute__((aligned(4)));
16 __block id a4 __attribute__((aligned(8)));
/external/clang/test/Parser/
Dattributes.c60 int aligned(int);
61 int __attribute__((vec_type_hint(char, aligned(16) )) missing_rparen_1; // expected-error {{expecte…
62 int __attribute__((mode(x aligned(16) )) missing_rparen_2; // expected-error {{expected ')'}}
63 int __attribute__((format(printf, 0 aligned(16) )) missing_rparen_3; // expected-error {{expected '…
/external/kernel-headers/original/video/
Ddsscomp.h100 } __attribute__ ((aligned(4)));
204 } __attribute__ ((aligned(4)));
212 } __attribute__ ((aligned(4)));
220 } __attribute__ ((aligned(4)));
342 } __attribute__ ((aligned(4)));
430 } __attribute__ ((aligned(4)));
/external/llvm/test/CodeGen/XCore/
Dunaligned_load.ll10 ; Byte aligned load. Expands to call to __misaligned_load.
17 ; Half word aligned load. Expands to two 16bit loads.
26 ; Constant offset from word aligned base. Expands to two 32bit loads.
/external/astl/src/
Dios_globals.cpp49 __attribute__ ((aligned(__alignof__(android::stdio_filebuf))));
54 __attribute__ ((aligned(__alignof__(ostream))));
/external/valgrind/main/coregrind/
Dpub_core_threadstate.h110 VexGuestArchState vex __attribute__((aligned(16)));
113 VexGuestArchState vex_shadow1 __attribute__((aligned(16)));
114 VexGuestArchState vex_shadow2 __attribute__((aligned(16)));
117 UChar vex_spill[LibVEX_N_SPILL_BYTES] __attribute__((aligned(16)));
/external/clang/test/SemaTemplate/
Dinstantiate-attr.cpp4 char a __attribute__((aligned(16)));
7 typedef T __attribute__((aligned(16))) i16;
/external/iptables/include/linux/netfilter/
Dxt_rateest.h33 struct xt_rateest *est1 __attribute__((aligned(8)));
34 struct xt_rateest *est2 __attribute__((aligned(8)));

12345678910>>...14