Searched refs:_Atomic (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/Sema/
H A Datomic-type.c3 // Basic parsing/Sema tests for _Atomic
6 _Atomic(int) t1;
7 _Atomic(int) *t2 = &t1;
10 _Atomic(_Atomic(int)*) t3;
11 _Atomic(_Atomic(int)*) *t4[2] = { &t3, 0 };
14 extern _Atomic(int (*)(int(*)[], int(*)[10])) mergetest;
15 extern _Atomic(int (*)(int(*)[10], int(*)[])) mergetest;
16 extern _Atomic(in
[all...]
H A Datomic-compare.c3 void f(_Atomic(int) a, _Atomic(int) b) {
H A Dpointer-addition.c4 extern _Atomic(S*) e;
H A Datomic-expr.c4 _Atomic(unsigned int) data1;
5 int _Atomic data2;
H A Datomic-requires-library-error.c13 _Atomic(struct foo) bigAtomic;
/external/clang/test/Parser/
H A Datomic.c3 typedef _Atomic(int) atomic_int;
4 typedef _Atomic int atomic_int;
5 typedef _Atomic _Atomic _Atomic(int) atomic_int; // expected-warning {{duplicate '_Atomic' declaration specifier}}
10 typedef _Atomic const int const_atomic_int;
11 typedef const _Atomic int const_atomic_int;
12 typedef const _Atomic(int) const_atomic_int;
13 typedef const _Atomic(_Atomi
[all...]
H A Dasm.c15 // FIXME: Once GCC supports _Atomic, check whether it allows this.
16 asm _Atomic (""); // expected-warning {{ignored _Atomic qualifier on asm}}
/external/clang/test/SemaCXX/
H A Datomic-type.cpp5 _Atomic(T) value;
7 void f() _Atomic; // expected-error {{expected ';' at end of declaration list}} member in struct:atomic
20 int &ovl1(_Atomic(int));
21 int &ovl1(_Atomic int); // ok, redeclaration
22 long &ovl1(_Atomic(long));
23 float &ovl1(_Atomic(float));
24 double &ovl1(_Atomic(A const *const *));
25 double &ovl1(A const *const *_Atomic);
26 short &ovl1(_Atomic(A **));
28 void test_overloading(int i, float f, _Atomic(in
42 typedef int (A::*fp)() _Atomic; // expected-error {{expected ';' after top level declarator}} expected-warning {{does not declare anything}} typedef
[all...]
H A Dreturn.cpp58 _Atomic(int) atomic();
60 _Atomic // expected-warning {{'_Atomic' type qualifier on return type has no effect}}
/external/clang/test/CodeGen/
H A Datomic_ops.c7 _Atomic(int) i = 0;
8 _Atomic(short) j = 0;
22 extern _Atomic _Bool b;
32 extern _Atomic(_Complex int) x;
H A Dx86-atomic-long_double.c4 long double testinc(_Atomic long double *addr) {
66 long double testdec(_Atomic long double *addr) {
128 long double testcompassign(_Atomic long double *addr) {
201 long double testassign(_Atomic long double *addr) {
239 long double test_volatile_inc(volatile _Atomic long double *addr) {
300 long double test_volatile_dec(volatile _Atomic long double *addr) {
361 long double test_volatile_compassign(volatile _Atomic long double *addr) {
433 long double test_volatile_assign(volatile _Atomic long double *addr) {
H A Dc11atomics.c20 _Atomic(_Bool) b;
21 _Atomic(int) i;
22 _Atomic(long long) l;
23 _Atomic(short) s;
24 _Atomic(char*) p;
25 _Atomic(float) f;
26 _Atomic(vector) v;
142 void testFloat(_Atomic(float) *fp) {
155 _Atomic(float) x = 2.0f;
177 void testComplexFloat(_Atomic(_Comple
232 void testStruct(_Atomic(S) *fp) { function
281 void testPromotedStruct(_Atomic(PS) *fp) { function
358 void testPromotedStructOps(_Atomic(PS) *p) { function
[all...]
H A Datomic-ops-libcall.c8 int *test_c11_atomic_fetch_add_int_ptr(_Atomic(int *) *p) {
14 int *test_c11_atomic_fetch_sub_int_ptr(_Atomic(int *) *p) {
20 int test_c11_atomic_fetch_add_int(_Atomic(int) *p) {
26 int test_c11_atomic_fetch_sub_int(_Atomic(int) *p) {
H A Datomic-arm64.c18 extern _Atomic(_Bool) a_bool;
19 extern _Atomic(float) a_float;
20 extern _Atomic(void*) a_pointer;
21 extern _Atomic(pointer_pair_t) a_pointer_pair;
22 extern _Atomic(pointer_quad_t) a_pointer_quad;
H A Dc11atomics-ios.c10 void testFloat(_Atomic(float) *fp) {
21 _Atomic(float) x = 2.0f;
41 void testComplexFloat(_Atomic(_Complex float) *fp) {
60 _Atomic(_Complex float) x = 2.0f;
97 void testStruct(_Atomic(S) *fp) { function
123 _Atomic(S) x = (S){1,2,3,4};
147 void testPromotedStruct(_Atomic(PS) *fp) { function
176 _Atomic(PS) x = (PS){1,2,3};
205 void testPromotedStructOps(_Atomic(PS) *p) { function
H A Dvla-4.c7 _Atomic(typeof((int (*)[f()]) h())) v;
H A Dx86_64-atomic-128.c13 __int128 test_c11_call(_Atomic __int128 *addr, __int128 val) {
25 __int128 test_expression(_Atomic __int128 *addr) {
H A Dbig-atomic-ops.c17 int fi1(_Atomic(int) *i) {
37 void fi2(_Atomic(int) *i) {
56 int fi3(_Atomic(int) *i) {
92 _Bool fi4(_Atomic(int) *i) {
114 float ff1(_Atomic(float) *d) {
120 void ff2(_Atomic(float) *d) {
126 float ff3(_Atomic(float) *d) {
130 int* fp1(_Atomic(int*) *p) {
136 int* fp2(_Atomic(int*) *p) {
151 _Complex float fc(_Atomic(_Comple
158 X fs(_Atomic(X) *c) { function
[all...]
H A Datomic-ops.c14 int fi1(_Atomic(int) *i) {
40 void fi2(_Atomic(int) *i) {
65 int fi3(_Atomic(int) *i) {
108 _Bool fi4(_Atomic(int) *i) {
149 float ff1(_Atomic(float) *d) {
155 void ff2(_Atomic(float) *d) {
161 float ff3(_Atomic(float) *d) {
238 int* fp1(_Atomic(int*) *p) {
244 int* fp2(_Atomic(int*) *p) {
259 _Complex float fc(_Atomic(_Comple
266 X fs(_Atomic(X) *c) { function
[all...]
/external/clang/test/CodeGenCXX/
H A Datomicinit.cpp4 typedef _Atomic(int) AtomicInt;
13 _Atomic(int) i;
29 _Atomic(B) b;
40 void atomic_init_bool(_Atomic(bool) *ab, bool b) {
49 _Atomic(bool) ab;
69 _Atomic(X) a = X(1);
73 _Atomic(X) b(X(2));
77 _Atomic(X) c{X(3)};
80 _Atomic(X) a;
81 _Atomic(in
[all...]
/external/clang/lib/Headers/
H A Dstdatomic.h88 typedef _Atomic(bool) atomic_bool;
90 typedef _Atomic(_Bool) atomic_bool;
92 typedef _Atomic(char) atomic_char;
93 typedef _Atomic(signed char) atomic_schar;
94 typedef _Atomic(unsigned char) atomic_uchar;
95 typedef _Atomic(short) atomic_short;
96 typedef _Atomic(unsigned short) atomic_ushort;
97 typedef _Atomic(int) atomic_int;
98 typedef _Atomic(unsigned int) atomic_uint;
99 typedef _Atomic(lon
[all...]
/external/boringssl/src/crypto/
H A Drefcount_c11.c29 static_assert(alignof(CRYPTO_refcount_t) == alignof(_Atomic CRYPTO_refcount_t),
30 "_Atomic alters the needed alignment of a reference count");
31 static_assert(sizeof(CRYPTO_refcount_t) == sizeof(_Atomic CRYPTO_refcount_t),
32 "_Atomic alters the size of a reference count");
38 _Atomic CRYPTO_refcount_t *count = (_Atomic CRYPTO_refcount_t *) in_count;
50 _Atomic CRYPTO_refcount_t *count = (_Atomic CRYPTO_refcount_t *)in_count;
/external/clang/test/PCH/
H A Dtypes.h10 typedef _Atomic(int) AtomicInt;
/external/compiler-rt/test/tsan/
H A Dmalloc_stack.cc4 _Atomic(int*) p;
/external/compiler-rt/lib/builtins/
H A Datomic.c60 __c11_atomic_store((_Atomic(uint32_t)*)&l->_count, 1, __ATOMIC_RELEASE);
67 while (!__c11_atomic_compare_exchange_weak((_Atomic(uint32_t)*)&l->_count, &old,
90 typedef _Atomic(uintptr_t) Lock;
164 *((type*)dest) = __c11_atomic_load((_Atomic(type)*)src, model);\
178 __c11_atomic_store((_Atomic(type)*)dest, *(type*)dest, model);\
196 return __c11_atomic_compare_exchange_strong((_Atomic(type)*)ptr, (type*)expected,\
216 *(type*)old = __c11_atomic_exchange((_Atomic(type)*)ptr, *(type*)val,\
243 return __c11_atomic_load((_Atomic(type)*)src, model);\
256 __c11_atomic_store((_Atomic(type)*)dest, val, model);\
271 return __c11_atomic_exchange((_Atomic(typ
[all...]

Completed in 1088 milliseconds

12