/bionic/libc/bionic/ |
pthread_once.cpp | 42 static_assert(sizeof(atomic_int) == sizeof(pthread_once_t), 43 "pthread_once_t should actually be atomic_int in implementation."); 45 // We prefer casting to atomic_int instead of declaring pthread_once_t to be atomic_int directly. 47 atomic_int* once_control_ptr = reinterpret_cast<atomic_int*>(once_control);
|
__cxa_guard.cpp | 55 atomic_int state; 64 atomic_int state;
|
pthread_rwlock.cpp | 158 atomic_int state; 159 atomic_int writer_tid;
|
/external/clang/test/Parser/ |
atomic.c | 3 typedef _Atomic(int) atomic_int; typedef 4 typedef _Atomic int atomic_int; typedef 5 typedef _Atomic _Atomic _Atomic(int) atomic_int; // expected-warning {{duplicate '_Atomic' declaration specifier}} typedef 9 typedef const atomic_int const_atomic_int;
|
/frameworks/base/core/jni/ |
android_util_MemoryIntArray.cpp | 38 const int ashmemSize = sizeof(std::atomic_int) * size; 78 int size = ashmemSize / sizeof(std::atomic_int); 79 new (ashmemAddr) std::atomic_int[size]; 136 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; 153 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index; 169 return ashmemSize / sizeof(std::atomic_int);
|
/external/llvm/unittests/Support/ |
ThreadPool.cpp | 91 std::atomic_int checked_in{0}; 106 static void TestFunc(std::atomic_int &checked_in, int i) { checked_in += i; } 111 std::atomic_int checked_in{0}; 124 std::atomic_int i{0}; 139 std::atomic_int i{0}; 155 std::atomic_int checked_in{0};
|
/bionic/tests/ |
stdatomic_test.cpp | 38 atomic_int v = ATOMIC_VAR_INIT(123); 96 atomic_int i; 104 atomic_int i; 111 atomic_int i; 140 atomic_int i = ATOMIC_VAR_INIT(123); 147 atomic_int i = ATOMIC_VAR_INIT(123); 154 atomic_int i = ATOMIC_VAR_INIT(0x100); 161 atomic_int i = ATOMIC_VAR_INIT(0x100); 168 atomic_int i = ATOMIC_VAR_INIT(0x123);
|
/external/drm_hwcomposer/ |
platformnv.h | 44 atomic_int ref;
|
/external/clang/test/CodeGen/ |
atomic-ops.c | 35 int fi1c(atomic_int *i) { 60 void fi2c(atomic_int *i) { 102 int fi3e(atomic_int *i) { 151 _Bool fi4c(atomic_int *i) {
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
integral_typedefs.pass.cpp | 19 // typedef atomic<int> atomic_int; 39 static_assert((std::is_same<std::atomic<int>, std::atomic_int>::value), "");
|
integral.pass.cpp | 176 test<std::atomic_int, int>(); 193 test<volatile std::atomic_int, int>();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/ |
integral_typedefs.pass.cpp | 17 // typedef atomic<int> atomic_int; 37 static_assert((std::is_same<std::atomic<int>, std::atomic_int>::value), "");
|
integral.pass.cpp | 171 test<std::atomic_int, int>(); 188 test<volatile std::atomic_int, int>();
|
/bionic/benchmarks/ |
semaphore_benchmark.cpp | 70 static atomic_int BM_semaphore_sem_post_running;
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
stdatomic.h | 46 typedef _Atomic int atomic_int; typedef 115 __atomic_type_lock_free (atomic_int)
|
/external/clang/lib/Headers/ |
stdatomic.h | 97 typedef _Atomic(int) atomic_int; typedef
|
/prebuilts/sdk/renderscript/clang-include/ |
stdatomic.h | 97 typedef _Atomic(int) atomic_int; typedef
|
/bionic/libc/include/ |
stdatomic.h | 109 using std::atomic_int; 360 typedef _Atomic(int) atomic_int;
|