/external/clang/test/Sema/ |
D | atomic-ops.c | 120 __atomic_load(s1, s2, memory_order_acquire); in f() 203 …__c11_atomic_load(ci, memory_order_acquire); // expected-error {{address argument to atomic operat… in f() 233 atomic_compare_exchange_weak_explicit(&n, &k, k, memory_order_seq_cst, memory_order_acquire); in f() 241 k = atomic_fetch_add_explicit(&n, k, memory_order_acquire); in f() 273 (void)__c11_atomic_load(Ap, memory_order_acquire); in memory_checks() 283 …(void)__c11_atomic_store(Ap, val, memory_order_acquire); // expected-warning {{memory order argume… in memory_checks() 290 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acquire); in memory_checks() 308 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acquire); in memory_checks() 315 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acquire); in memory_checks() 322 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acquire); in memory_checks() [all …]
|
/external/clang/test/CodeGen/ |
D | big-atomic-ops.c | 13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator 96 …eturn __c11_atomic_compare_exchange_strong(i, &cmp, 1, memory_order_acquire, memory_order_acquire); in fi4() 104 …return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire); in fi4a() 111 return __atomic_compare_exchange_n(i, &cmp, 1, 1, memory_order_acquire, memory_order_acquire); in fi4b() 184 __atomic_test_and_set(&flag2, memory_order_acquire); in test_and_set()
|
D | atomic-ops.c | 125 …eturn __c11_atomic_compare_exchange_strong(i, &cmp, 1, memory_order_acquire, memory_order_acquire); in fi4() 137 …return __atomic_compare_exchange(i, &cmp, &desired, 0, memory_order_acquire, memory_order_acquire); in fi4a() 148 return __atomic_compare_exchange_n(i, &cmp, 1, 1, memory_order_acquire, memory_order_acquire); in fi4b() 305 __atomic_test_and_set(&flag2, memory_order_acquire); in test_and_set() 443 __c11_atomic_compare_exchange_strong(ptr, ptr2, 43, memory_order_acquire, memory_order_relaxed); in failureOrder() 446 __c11_atomic_compare_exchange_weak(ptr, ptr2, 43, memory_order_seq_cst, memory_order_acquire); in failureOrder()
|
D | arm-atomics-m.c | 7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | arm-atomics-m0.c | 7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | arm-atomics.c | 9 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | atomic-arm64.c | 7 memory_order_acquire = 2, enumerator
|
D | atomics-inlining.c | 16 memory_order_acquire, enumerator
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0; in TryLock() 57 && atomic_exchange(&state_, 1, memory_order_acquire) == 0) in LockSlow() 106 memory_order_acquire)) in Lock() 118 u32 prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock() 153 memory_order_acquire)) in LockSlow() 164 u32 prev = atomic_load(&state_, memory_order_acquire); in ReadLockSlow()
|
D | sanitizer_persistent_allocator.h | 38 uptr cmp = atomic_load(®ion_pos, memory_order_acquire); in tryAlloc() 39 uptr end = atomic_load(®ion_end, memory_order_acquire); in tryAlloc() 42 memory_order_acquire)) in tryAlloc()
|
D | sanitizer_lfstack.h | 49 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop() 58 memory_order_acquire)) in Pop()
|
D | sanitizer_atomic_clang_x86.h | 31 | memory_order_acquire | memory_order_seq_cst)); in atomic_load() 45 } else if (mo == memory_order_acquire) { in atomic_load()
|
D | sanitizer_atomic_clang_other.h | 28 | memory_order_acquire | memory_order_seq_cst)); in atomic_load() 42 } else if (mo == memory_order_acquire) { in atomic_load()
|
D | sanitizer_quarantine.h | 58 uptr GetSize() const { return atomic_load(&max_size_, memory_order_acquire); } in GetSize() 89 uptr min_size = atomic_load(&min_size_, memory_order_acquire); in Recycle()
|
D | sanitizer_libignore.h | 73 const uptr n = atomic_load(&loaded_count_, memory_order_acquire); in IsIgnored()
|
D | sanitizer_atomic.h | 24 memory_order_acquire = 1 << 2, enumerator
|
/external/libchrome/base/ |
D | atomicops_internals_portable.h | 100 std::memory_order_acquire, in Acquire_CompareAndSwap() 101 std::memory_order_acquire); in Acquire_CompareAndSwap() 134 return ((AtomicLocation32)ptr)->load(std::memory_order_acquire); in Acquire_Load() 183 std::memory_order_acquire, in Acquire_CompareAndSwap() 184 std::memory_order_acquire); in Acquire_CompareAndSwap() 217 return ((AtomicLocation64)ptr)->load(std::memory_order_acquire); in Acquire_Load()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 57 CheckStoreLoad<atomic_uint8_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 63 CheckStoreLoad<atomic_uint16_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 69 CheckStoreLoad<atomic_uint32_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 75 CheckStoreLoad<atomic_uint64_t, memory_order_acquire, memory_order_relaxed>(); in TEST() 83 CheckStoreLoad<atomic_uintptr_t, memory_order_acquire, memory_order_relaxed> in TEST()
|
/external/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 45 assert(f.test_and_set(std::memory_order_acquire) == 0); in main() 46 assert(f.test_and_set(std::memory_order_acquire) == 1); in main() 87 assert(f.test_and_set(std::memory_order_acquire) == 0); in main() 88 assert(f.test_and_set(std::memory_order_acquire) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 39 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main() 75 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acquire) == 0); in main()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 232 memory_order_acquire)) in Lock() 238 memory_order_acquire)) { in Lock() 261 uptr prev = atomic_fetch_add(&state_, kReadLock, memory_order_acquire); in ReadLock() 265 prev = atomic_load(&state_, memory_order_acquire); in ReadLock()
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | bool.pass.cpp | 76 assert(obj.load(std::memory_order_acquire) == true); in main() 131 assert(obj.load(std::memory_order_acquire) == true); in main() 186 assert(obj.load(std::memory_order_acquire) == true); in main()
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.cc | 27 return atomic_load(&malloc_context_size, memory_order_acquire); in GetMallocContextSize()
|
D | asan_allocator.cc | 276 options->min_redzone = atomic_load(&min_redzone, memory_order_acquire); in GetOptions() 277 options->max_redzone = atomic_load(&max_redzone, memory_order_acquire); in GetOptions() 280 atomic_load(&alloc_dealloc_mismatch, memory_order_acquire); in GetOptions() 293 u32 min_rz = atomic_load(&min_redzone, memory_order_acquire); in ComputeRZLog() 294 u32 max_rz = atomic_load(&max_redzone, memory_order_acquire); in ComputeRZLog() 465 CHUNK_QUARANTINE, memory_order_acquire)) in AtomicallySetQuarantineFlag() 477 if (atomic_load(&alloc_dealloc_mismatch, memory_order_acquire)) { in QuarantineChunk()
|
/external/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 27 assert(std::memory_order_acquire == 2); in main()
|