Home
last modified time | relevance | path

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

12345678910>>...16

/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)));
/external/clang/test/Sema/
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;
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;
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/
Dvector-alignment.c19 double __attribute__((vector_size(16), aligned(16))) v5;
21 double __attribute__((vector_size(16), aligned(64))) v6;
23 double __attribute__((vector_size(32), aligned(16))) v7;
25 double __attribute__((vector_size(32), aligned(64))) v8;
35 double __attribute__((vector_size(24), aligned(64))) v11;
37 double __attribute__((vector_size(80), aligned(16))) v12;
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;
52 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)));
DPR5060-align.c5 static char p __attribute__((aligned(32))); in foo()
11 char p[n] __attribute__((aligned(32))); in bar()
Dalign-local.c3 typedef struct __attribute((aligned(16))) {int x[4];} ff;
7 struct {int x[4];} b __attribute((aligned(16))); in a()
Dalign-global-large.c7 volatile char x[4000] __attribute__((aligned(0x100000)));
14 volatile char y[4000] __attribute__((aligned(0x100000))); in main()
/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/qemu/distrib/jpeg-6b/
Djidctintelsse.c36 static const short __attribute__ ((aligned(16))) M128_one_corr[8] = {1,1,1,1,1,1,1,1};
37 static const short __attribute__ ((aligned(16))) M128_round_inv_row[8] = {2048,0,2048,0,2048,0,2048…
38 static const short __attribute__ ((aligned(16))) M128_round_inv_col[8] = {16,16,16,16,16,16,16,16};
39 static const short __attribute__ ((aligned(16))) M128_round_inv_corr[8] = {15,15,15,15,15,15,15,15};
41 static const short __attribute__ ((aligned(16))) M128_tg_1_16[8] = {13036, 13036, 13036, 13036, 130…
42 static const short __attribute__ ((aligned(16))) M128_tg_2_16[8] = {27146, 27146, 27146, 27146, 271…
43 static const short __attribute__ ((aligned(16))) M128_tg_3_16[8] = {-21746, -21746, -21746, -21746,…
44 static const short __attribute__ ((aligned(16))) M128_cos_4_16[8] = {-19195, -19195, -19195, -19195…
46 static const short __attribute__ ((aligned(16))) jpeg_adjust[8] = {128, 128, 128, 128, 128, 128, 12…
49 static const short __attribute__ ((aligned(16))) M128_tab_i_04[32] = {
[all …]
/external/jpeg/
Djidctintelsse.c36 static const short __attribute__ ((aligned(16))) M128_one_corr[8] = {1,1,1,1,1,1,1,1};
37 static const short __attribute__ ((aligned(16))) M128_round_inv_row[8] = {2048,0,2048,0,2048,0,2048…
38 static const short __attribute__ ((aligned(16))) M128_round_inv_col[8] = {16,16,16,16,16,16,16,16};
39 static const short __attribute__ ((aligned(16))) M128_round_inv_corr[8] = {15,15,15,15,15,15,15,15};
41 static const short __attribute__ ((aligned(16))) M128_tg_1_16[8] = {13036, 13036, 13036, 13036, 130…
42 static const short __attribute__ ((aligned(16))) M128_tg_2_16[8] = {27146, 27146, 27146, 27146, 271…
43 static const short __attribute__ ((aligned(16))) M128_tg_3_16[8] = {-21746, -21746, -21746, -21746,…
44 static const short __attribute__ ((aligned(16))) M128_cos_4_16[8] = {-19195, -19195, -19195, -19195…
46 static const short __attribute__ ((aligned(16))) jpeg_adjust[8] = {128, 128, 128, 128, 128, 128, 12…
49 static const short __attribute__ ((aligned(16))) M128_tab_i_04[32] = {
[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/SemaObjC/
Dmethod-attributes.m65 -(id)method2 __attribute__((aligned(16))); argument
66 - (id) method3: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((…
67 - (id) method4: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((…
71 -(id)method __attribute__((aligned(16))) __attribute__((aligned(16))) __attribute__((deprecated)) {
74 -(id)method1 __attribute__((aligned(16))) { argument
83 - (id) method4: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((u…
/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/eigen/doc/
DD09_StructHavingEigenMembers.dox17 …pes", you must overload its "operator new" so that it generates 16-bytes-aligned pointers. Fortuna…
57 This macro makes "new Foo" always return an aligned pointer.
81 …igen::Vector2d's array (of 2 doubles). With GCC, this is done with a __attribute__ ((aligned(16))).
82 \li Eigen overloads the "operator new" of Eigen::Vector2d so it will always return 128-bit aligned
86 …bove, then, since Foo doesn't have aligned "operator new", the returned pointer foo is not necessa…
88 …to the start of the class, foo. If the foo pointer wasn't aligned, then foo->v won't be aligned ei…
90 The solution is to let class Foo have an aligned "operator new", as we showed in the previous secti…
94 …ng 128-bit alignment, all members that need it are automatically 128-bit aligned relatively to the…
116 …macro EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign). It will generate aligned operators like EI…
134 Foo<4> *foo4 = new Foo<4>; // foo4 is guaranteed to be 128bit-aligned
[all …]
/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/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/
Dspu_common.h71 } __attribute__((aligned(128)));
86 } __attribute__((aligned(128)));
104 } __attribute__((aligned(128)));
/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)));

12345678910>>...16