/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...] |
/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/CodeGen/ |
atomic_ops.c | 5 _Atomic(int) i = 0; 6 _Atomic(short) j = 0;
|
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) {
|
c11atomics.c | 17 _Atomic(_Bool) b; 18 _Atomic(int) i; 19 _Atomic(long long) l; 20 _Atomic(short) s; 21 _Atomic(char*) p; 22 _Atomic(float) f; 23 _Atomic(vector) v; 139 void testFloat(_Atomic(float) *fp) { 152 _Atomic(float) x = 2.0f; 174 void testComplexFloat(_Atomic(_Complex float) *fp) [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;
|
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 void testPromotedStructOps(_Atomic(PS) *p) {
|
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/SemaCXX/ |
atomic-type.cxx | 4 _Atomic(T) value; 6 void f() _Atomic; // expected-error {{expected ';' at end of declaration list}} 19 int &ovl1(_Atomic(int)); 20 int &ovl1(_Atomic int); // ok, redeclaration 21 long &ovl1(_Atomic(long)); 22 float &ovl1(_Atomic(float)); 23 double &ovl1(_Atomic(A const *const *)); 24 double &ovl1(A const *const *_Atomic); 25 short &ovl1(_Atomic(A **)); 27 void test_overloading(int i, float f, _Atomic(int) ai, _Atomic(float) af [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/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/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/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/clang/test/CodeGenCXX/ |
atomicinit.cpp | 3 _Atomic(int) i; 19 _Atomic(B) b; 30 void atomic_init_bool(_Atomic(bool) *ab, bool b) { 39 _Atomic(bool) ab;
|
/bionic/libc/include/ |
stdatomic.h | 54 #undef _Atomic 62 #define _Atomic(t) std::atomic<t> 142 * with the C++ one, i.e. an _Atomic(T) needs to contain the same 341 * No native support for _Atomic(). Place object in structure to prevent 344 #define _Atomic(T) struct { T volatile __val; } 347 typedef _Atomic(bool) atomic_bool; 348 typedef _Atomic(char) atomic_char; 349 typedef _Atomic(signed char) atomic_schar; 350 typedef _Atomic(unsigned char) atomic_uchar; 351 typedef _Atomic(short) atomic_short [all...] |
/prebuilts/clang/darwin-x86/host/3.5/lib/clang/3.5/include/ |
stdatomic.h | 54 #undef _Atomic 62 #define _Atomic(t) std::atomic<t> 143 * with the C++ one, i.e. an _Atomic(T) needs to contain the same 342 * No native support for _Atomic(). Place object in structure to prevent 345 #define _Atomic(T) struct { T volatile __val; } 348 typedef _Atomic(bool) atomic_bool; 349 typedef _Atomic(char) atomic_char; 350 typedef _Atomic(signed char) atomic_schar; 351 typedef _Atomic(unsigned char) atomic_uchar; 352 typedef _Atomic(short) atomic_short [all...] |
/prebuilts/clang/linux-x86/host/3.5/lib/clang/3.5/include/ |
stdatomic.h | 54 #undef _Atomic 62 #define _Atomic(t) std::atomic<t> 142 * with the C++ one, i.e. an _Atomic(T) needs to contain the same 341 * No native support for _Atomic(). Place object in structure to prevent 344 #define _Atomic(T) struct { T volatile __val; } 347 typedef _Atomic(bool) atomic_bool; 348 typedef _Atomic(char) atomic_char; 349 typedef _Atomic(signed char) atomic_schar; 350 typedef _Atomic(unsigned char) atomic_uchar; 351 typedef _Atomic(short) atomic_short [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/ |
stdatomic.h | 54 #undef _Atomic 62 #define _Atomic(t) std::atomic<t> 142 * with the C++ one, i.e. an _Atomic(T) needs to contain the same 341 * No native support for _Atomic(). Place object in structure to prevent 344 #define _Atomic(T) struct { T volatile __val; } 347 typedef _Atomic(bool) atomic_bool; 348 typedef _Atomic(char) atomic_char; 349 typedef _Atomic(signed char) atomic_schar; 350 typedef _Atomic(unsigned char) atomic_uchar; 351 typedef _Atomic(short) atomic_short [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/ |
stdatomic.h | 54 #undef _Atomic 62 #define _Atomic(t) std::atomic<t> 142 * with the C++ one, i.e. an _Atomic(T) needs to contain the same 341 * No native support for _Atomic(). Place object in structure to prevent 344 #define _Atomic(T) struct { T volatile __val; } 347 typedef _Atomic(bool) atomic_bool; 348 typedef _Atomic(char) atomic_char; 349 typedef _Atomic(signed char) atomic_schar; 350 typedef _Atomic(unsigned char) atomic_uchar; 351 typedef _Atomic(short) atomic_short [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/ |
stdatomic.h | 54 #undef _Atomic 62 #define _Atomic(t) std::atomic<t> 142 * with the C++ one, i.e. an _Atomic(T) needs to contain the same 341 * No native support for _Atomic(). Place object in structure to prevent 344 #define _Atomic(T) struct { T volatile __val; } 347 typedef _Atomic(bool) atomic_bool; 348 typedef _Atomic(char) atomic_char; 349 typedef _Atomic(signed char) atomic_schar; 350 typedef _Atomic(unsigned char) atomic_uchar; 351 typedef _Atomic(short) atomic_short [all...] |
/development/ndk/platforms/android-L/include/ |
stdatomic.h | 190 * No native support for _Atomic(). Place object in structure to prevent 193 #define _Atomic(T) struct { T volatile __val; } 196 typedef _Atomic(bool) atomic_bool; 197 typedef _Atomic(char) atomic_char; 198 typedef _Atomic(signed char) atomic_schar; 199 typedef _Atomic(unsigned char) atomic_uchar; 200 typedef _Atomic(short) atomic_short; 201 typedef _Atomic(unsigned short) atomic_ushort; 202 typedef _Atomic(int) atomic_int; 203 typedef _Atomic(unsigned int) atomic_uint [all...] |