/external/clang/test/Sema/ |
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(int (*)(int(*)[10], int(*)[10])) mergetest [all...] |
atomic-compare.c | 3 void f(_Atomic(int) a, _Atomic(int) b) { 23 typedef _Atomic(int) Ty;
|
/external/clang/test/Parser/ |
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(_Atomic int) const_atomic_int; // expected-error {{_Atomic cannot be applied to atomic type '_Atom (…) [all...] |
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/ |
atomic-type.cpp | 5 _Atomic(T) value; 7 void f() _Atomic; // expected-error {{expected ';' at end of declaration list}} 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(int) ai, _Atomic(float) af [all...] |
/external/clang/test/CodeGen/ |
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) { [all...] |
atomic_ops.c | 8 _Atomic(int) i = 0; 9 _Atomic(short) j = 0; 23 extern _Atomic _Bool b; 33 extern _Atomic(_Complex int) x;
|
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(float) x = 2.0f [all...] |
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) { 123 _Atomic(S) x = (S){1,2,3,4}; 147 void testPromotedStruct(_Atomic(PS) *fp) { 176 _Atomic(PS) x = (PS){1,2,3}; 205 PS test_promoted_load(_Atomic(PS) *addr) { 223 void test_promoted_store(_Atomic(PS) *addr, PS *val) [all...] |
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;
|
vla-4.c | 7 _Atomic(typeof((int (*)[f()]) h())) v;
|
x86_64-atomic-128.c | 13 __int128 test_c11_call(_Atomic __int128 *addr, __int128 val) { 25 __int128 test_expression(_Atomic __int128 *addr) {
|
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(_Complex float) *c) [all...] |
/external/clang/test/CodeGenCXX/ |
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(int) b [all...] |
/external/clang/lib/Headers/ |
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(long) atomic_long [all...] |
/prebuilts/sdk/renderscript/clang-include/ |
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(long) atomic_long [all...] |
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdatomic.h | 40 typedef _Atomic _Bool atomic_bool; 41 typedef _Atomic char atomic_char; 42 typedef _Atomic signed char atomic_schar; 43 typedef _Atomic unsigned char atomic_uchar; 44 typedef _Atomic short atomic_short; 45 typedef _Atomic unsigned short atomic_ushort; 46 typedef _Atomic int atomic_int; 47 typedef _Atomic unsigned int atomic_uint; 48 typedef _Atomic long atomic_long; 49 typedef _Atomic unsigned long atomic_ulong [all...] |
/external/boringssl/src/crypto/ |
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;
|