/external/clang/test/SemaObjC/ |
conflict-atomic-property.m | 5 @property (nonatomic, assign, atomic) float dummy; // expected-error {{property attributes 'atomic' and 'nonatomic' are mutually exclusive}} 7 @property (atomic, assign) float d2; 9 @property (atomic, nonatomic, assign) float d4; // expected-error {{property attributes 'atomic' and 'nonatomic' are mutually exclusive}}
|
warn-implicit-atomic-property.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wimplicit-atomic-properties -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s 6 @property (atomic, readwrite) int P1; // OK 11 @implementation Super // expected-warning {{property is assumed atomic when auto-synthesizing the property}} 12 @synthesize P,P1,P2; // expected-warning {{property is assumed atomic by default}}
|
custom-atomic-property.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wcustom-atomic-properties -verify -Wno-objc-root-class %s 8 -(Foo*)myProp {return 0;} // expected-warning {{atomic by default property 'myProp' has a user defined getter (property should be marked 'atomic' if this is intended)}} 9 -(void)setMyProp:(Foo*)e {} // expected-warning {{atomic by default property 'myProp' has a user defined setter (property should be marked 'atomic' if this is intended)}}
|
/ndk/tests/build/issue41297-atomic-64bit/jni/ |
Android.mk | 4 LOCAL_MODULE := issue41297-atomic-64bit-dynamic-executable 5 LOCAL_SRC_FILES := issue41297-atomic-64bit.c 9 LOCAL_MODULE := issue41297-atomic-64bit-static-executable 10 LOCAL_SRC_FILES := issue41297-atomic-64bit.c 15 LOCAL_MODULE := issue41297-atomic-64bit-shared-lib 16 LOCAL_SRC_FILES := issue41297-atomic-64bit.c
|
Application.mk | 1 # Note that MIPS doesn't support 64-bit atomic built-in yet
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 152 /// atomic 153 /// 29.4.3, Generic atomic type, primary class template. 155 struct atomic 161 atomic() = default; 162 ~atomic() = default; 163 atomic(const atomic&) = delete; 164 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 152 /// atomic 153 /// 29.4.3, Generic atomic type, primary class template. 155 struct atomic 161 atomic() = default; 162 ~atomic() = default; 163 atomic(const atomic&) = delete; 164 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 152 /// atomic 153 /// 29.4.3, Generic atomic type, primary class template. 155 struct atomic 161 atomic() = default; 162 ~atomic() = default; 163 atomic(const atomic&) = delete; 164 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 151 /// atomic 152 /// 29.4.3, Generic atomic type, primary class template. 154 struct atomic 160 atomic() noexcept = default; 161 ~atomic() noexcept = default; 162 atomic(const atomic&) = delete; 163 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 152 /// atomic 153 /// 29.4.3, Generic atomic type, primary class template. 155 struct atomic 161 atomic() = default; 162 ~atomic() = default; 163 atomic(const atomic&) = delete; 164 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 151 /// atomic 152 /// 29.4.3, Generic atomic type, primary class template. 154 struct atomic 160 atomic() noexcept = default; 161 ~atomic() noexcept = default; 162 atomic(const atomic&) = delete; 163 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ |
atomic | 25 /** @file include/atomic 29 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 156 * @brief Generic atomic type, primary class template. 158 * @tparam _Tp Type to be made atomic, must be trivally copyable. 161 struct atomic 167 atomic() noexcept = default; 168 ~atomic() noexcept = default; 169 atomic(const atomic&) = delete; 170 atomic& operator=(const atomic&) = delete [all...] |
/external/llvm/test/Transforms/Mem2Reg/ |
atomic.ll | 3 ; mem2reg is allowed with arbitrary atomic operations (although we only support 4 ; it for atomic load and store at the moment). 9 store atomic i32 %x, i32* %a seq_cst, align 4 10 %r = load atomic i32* %a seq_cst, align 4
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/ |
integral_typedefs.pass.cpp | 10 // <atomic> 12 // typedef atomic<char> atomic_char; 13 // typedef atomic<signed char> atomic_schar; 14 // typedef atomic<unsigned char> atomic_uchar; 15 // typedef atomic<short> atomic_short; 16 // typedef atomic<unsigned short> atomic_ushort; 17 // typedef atomic<int> atomic_int; 18 // typedef atomic<unsigned int> atomic_uint; 19 // typedef atomic<long> atomic_long; 20 // typedef atomic<unsigned long> atomic_ulong [all...] |
cstdint_typedefs.pass.cpp | 10 // <atomic> 12 // typedef atomic<int_least8_t> atomic_int_least8_t; 13 // typedef atomic<uint_least8_t> atomic_uint_least8_t; 14 // typedef atomic<int_least16_t> atomic_int_least16_t; 15 // typedef atomic<uint_least16_t> atomic_uint_least16_t; 16 // typedef atomic<int_least32_t> atomic_int_least32_t; 17 // typedef atomic<uint_least32_t> atomic_uint_least32_t; 18 // typedef atomic<int_least64_t> atomic_int_least64_t; 19 // typedef atomic<uint_least64_t> atomic_uint_least64_t; 21 // typedef atomic<int_fast8_t> atomic_int_fast8_t [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ |
cstdatomic | 36 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 78 // Three nested namespaces for atomic implementation details. 90 /// atomic 91 /// 29.4.3, Generic atomic type, primary class template. 93 struct atomic 99 atomic() = default; 100 ~atomic() = default; 101 atomic(const atomic&) = delete; 102 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ |
cstdatomic | 36 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 78 // Three nested namespaces for atomic implementation details. 90 /// atomic 91 /// 29.4.3, Generic atomic type, primary class template. 93 struct atomic 99 atomic() = default; 100 ~atomic() = default; 101 atomic(const atomic&) = delete; 102 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ |
cstdatomic | 36 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 78 // Three nested namespaces for atomic implementation details. 90 /// atomic 91 /// 29.4.3, Generic atomic type, primary class template. 93 struct atomic 99 atomic() = default; 100 ~atomic() = default; 101 atomic(const atomic&) = delete; 102 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ |
cstdatomic | 36 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 78 // Three nested namespaces for atomic implementation details. 90 /// atomic 91 /// 29.4.3, Generic atomic type, primary class template. 93 struct atomic 99 atomic() = default; 100 ~atomic() = default; 101 atomic(const atomic&) = delete; 102 atomic& operator=(const atomic&) = delete [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ |
cstdatomic | 36 // Based on "C++ Atomic Types and Operations" by Hans Boehm and Lawrence Crowl. 78 // Three nested namespaces for atomic implementation details. 90 /// atomic 91 /// 29.4.3, Generic atomic type, primary class template. 93 struct atomic 99 atomic() = default; 100 ~atomic() = default; 101 atomic(const atomic&) = delete; 102 atomic& operator=(const atomic&) = delete [all...] |
/external/llvm/test/Assembler/ |
atomic.ll | 2 ; Basic smoke test for atomic operations. 5 ; CHECK: load atomic i32* %x unordered, align 4 6 load atomic i32* %x unordered, align 4 7 ; CHECK: load atomic volatile i32* %x singlethread acquire, align 4 8 load atomic volatile i32* %x singlethread acquire, align 4 9 ; CHECK: store atomic i32 3, i32* %x release, align 4 10 store atomic i32 3, i32* %x release, align 4 11 ; CHECK: store atomic volatile i32 3, i32* %x singlethread monotonic, align 4 12 store atomic volatile i32 3, i32* %x singlethread monotonic, align 4
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
atomic.ll | 6 ; Sanity tests for atomic stores. 8 ; atomic ops, just some transformations are not allowed across them. 22 store atomic i32 0, i32* @y unordered, align 4 34 %x = load atomic i32* @y seq_cst, align 4 39 ; DSE across seq_cst store (store before atomic store must not be removed) 43 ; CHECK: store atomic i32 2 46 store atomic i32 2, i32* @y seq_cst, align 4 54 ; CHECK-NOT: store atomic 57 store atomic i32 0, i32* @x unordered, align 4 62 ; DSE unordered store overwriting non-atomic store (allowed [all...] |
/external/clang/test/CodeGenCXX/ |
atomicinit.cpp | 7 // Storing to atomic values should be atomic 8 // CHECK: store atomic i32 10 // Initialising atomic values should not be atomic 11 // CHECK-NOT: store atomic 23 // CHECK-NOT: atomic 31 // CHECK-NOT: atomic
|
/external/llvm/test/Transforms/SCCP/ |
atomic-load-store.ll | 3 ; This transformation is safe for atomic loads and stores; check that it works. 9 %V = load atomic i32* @G seq_cst, align 4 13 store atomic i32 17, i32* @G seq_cst, align 4 16 store atomic i32 123, i32* @G seq_cst, align 4 24 %V = load atomic i32* @C seq_cst, align 4
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
atomic | 2 //===--------------------------- atomic -----------------------------------===// 15 atomic synopsis 90 struct atomic 118 atomic() noexcept = default; 119 constexpr atomic(T desr) noexcept; 120 atomic(const atomic&) = delete; 121 atomic& operator=(const atomic&) = delete; 122 atomic& operator=(const atomic&) volatile = delete [all...] |