/external/clang/test/Sema/ |
H A D | atomic-type.c | 3 // 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 D | atomic-compare.c | 3 void f(_Atomic(int) a, _Atomic(int) b) { 23 typedef _Atomic(int) Ty;
|
H A D | pointer-addition.c | 4 extern _Atomic(S*) e;
|
H A D | atomic-expr.c | 4 _Atomic(unsigned int) data1; 5 int _Atomic data2;
|
H A D | atomic-requires-library-error.c | 13 _Atomic(struct foo) bigAtomic;
|
/external/clang/test/Parser/ |
H A D | atomic.c | 3 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 D | asm.c | 15 // 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 D | atomic-type.cpp | 5 _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 D | return.cpp | 58 _Atomic(int) atomic(); 60 _Atomic // expected-warning {{'_Atomic' type qualifier on return type has no effect}}
|
/external/clang/test/CodeGen/ |
H A D | atomic_ops.c | 8 _Atomic(int) i = 0; 9 _Atomic(short) j = 0; 23 extern _Atomic _Bool b; 33 extern _Atomic(_Complex int) x;
|
H A D | x86-atomic-long_double.c | 4 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 D | c11atomics.c | 23 _Atomic(struct ptr) link; 36 _Atomic(_Bool) b; 37 _Atomic(int) i; 38 _Atomic(long long) l; 39 _Atomic(short) s; 40 _Atomic(char*) p; 41 _Atomic(float) f; 42 _Atomic(vector) v; 158 void testFloat(_Atomic(float) *fp) { 171 _Atomic(floa 248 void testStruct(_Atomic(S) *fp) { function 297 void testPromotedStruct(_Atomic(PS) *fp) { function 370 PS test_promoted_load(_Atomic(PS) *addr) { function 389 void test_promoted_store(_Atomic(PS) *addr, PS *val) { function 413 PS test_promoted_exchange(_Atomic(PS) *addr, PS *val) { function 444 _Bool test_promoted_cmpxchg(_Atomic(PS) *addr, PS *desired, PS *new) { function [all...] |
H A D | c11atomics-ios.c | 10 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 PS test_promoted_load(_Atomic(PS) *addr) { function 223 void test_promoted_store(_Atomic(P function 247 PS test_promoted_exchange(_Atomic(PS) *addr, PS *val) { function 277 _Bool test_promoted_cmpxchg(_Atomic(PS) *addr, PS *desired, PS *new) { function [all...] |
H A D | atomic-arm64.c | 18 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 D | vla-4.c | 7 _Atomic(typeof((int (*)[f()]) h())) v;
|
H A D | x86_64-atomic-128.c | 13 __int128 test_c11_call(_Atomic __int128 *addr, __int128 val) { 25 __int128 test_expression(_Atomic __int128 *addr) {
|
H A D | big-atomic-ops.c | 17 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 D | atomic-ops.c | 15 int fi1(_Atomic(int) *i) { 41 void fi2(_Atomic(int) *i) { 66 int fi3(_Atomic(int) *i) { 117 _Bool fi4(_Atomic(int) *i) { 158 float ff1(_Atomic(float) *d) { 164 void ff2(_Atomic(float) *d) { 170 float ff3(_Atomic(float) *d) { 251 int* fp1(_Atomic(int*) *p) { 257 int* fp2(_Atomic(int*) *p) { 272 _Complex float fc(_Atomic(_Comple 279 X fs(_Atomic(X) *c) { function [all...] |
H A D | atomic-ops-libcall.c | 8 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) {
|
/external/clang/test/CodeGenCXX/ |
H A D | atomicinit.cpp | 4 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 D | stdatomic.h | 88 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/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/ |
H A D | stdatomic.h | 88 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 D | refcount_c11.c | 29 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 D | types.h | 10 typedef _Atomic(int) AtomicInt;
|
/external/compiler-rt/test/tsan/ |
H A D | malloc_stack.cc | 4 _Atomic(int*) p;
|