HomeSort by relevance Sort by last modified time
    Searched refs:memory_order_relaxed (Results 1 - 25 of 61) sorted by null

1 2 3

  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
memory_order.hpp 43 memory_order_relaxed = 0, enumerator in enum:boost::memory_order
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_atomic_test.cc 29 memory_order_relaxed));
31 memory_order_relaxed));
39 memory_order_relaxed));
41 memory_order_relaxed));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
atomic_load_explicit.pass.cpp 31 std::shared_ptr<int> q = std::atomic_load_explicit(&p, std::memory_order_relaxed);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.order/
memory_order.pass.cpp 14 // memory_order_relaxed, memory_order_consume, memory_order_acquire,
23 assert(std::memory_order_relaxed == 0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.flag/
atomic_flag_clear_explicit.pass.cpp 25 atomic_flag_clear_explicit(&f, std::memory_order_relaxed);
43 atomic_flag_clear_explicit(&f, std::memory_order_relaxed);
test_and_set.pass.cpp 31 assert(f.test_and_set(std::memory_order_relaxed) == 0);
32 assert(f.test_and_set(std::memory_order_relaxed) == 1);
73 assert(f.test_and_set(std::memory_order_relaxed) == 0);
74 assert(f.test_and_set(std::memory_order_relaxed) == 1);
clear.pass.cpp 31 f.clear(std::memory_order_relaxed);
55 f.clear(std::memory_order_relaxed);
atomic_flag_test_and_set_explicit.pass.cpp 25 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_relaxed) == 0);
61 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_relaxed) == 0);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_atomic.h 22 memory_order_relaxed = 1 << 0, enumerator in enum:__sanitizer::memory_order
sanitizer_lfstack.h 29 atomic_store(&head_, 0, memory_order_relaxed);
33 return (atomic_load(&head_, memory_order_relaxed) & kPtrMask) == 0;
37 u64 cmp = atomic_load(&head_, memory_order_relaxed);
sanitizer_mutex.h 26 atomic_store(&state_, 0, memory_order_relaxed);
52 if (atomic_load(&state_, memory_order_relaxed) == 0
sanitizer_atomic_clang.h 40 DCHECK(mo & (memory_order_relaxed | memory_order_consume
45 if (mo == memory_order_relaxed) {
57 DCHECK(mo & (memory_order_relaxed | memory_order_release
61 if (mo == memory_order_relaxed) {
sanitizer_atomic_msvc.h 71 DCHECK(mo & (memory_order_relaxed | memory_order_consume
76 if (mo == memory_order_relaxed) {
88 DCHECK(mo & (memory_order_relaxed | memory_order_release
92 if (mo == memory_order_relaxed) {
sanitizer_quarantine.h 122 return atomic_load(&size_, memory_order_relaxed);
137 atomic_store(&c->size_, 0, memory_order_relaxed);
161 atomic_store(&size_, Size() + add, memory_order_relaxed);
  /external/clang/test/Sema/
atomic-ops.c 7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator in enum:memory_order
96 int load_n_1 = __atomic_load_n(I, memory_order_relaxed);
97 int *load_n_2 = __atomic_load_n(P, memory_order_relaxed);
98 float load_n_3 = __atomic_load_n(D, memory_order_relaxed); // expected-error {{must be a pointer to integer or pointer}}
99 __atomic_load_n(s1, memory_order_relaxed); // expected-error {{must be a pointer to integer or pointer}}
101 __atomic_load(i, I, memory_order_relaxed); // expected-error {{must be a pointer to a trivially-copyable type}}
102 __atomic_load(I, i, memory_order_relaxed); // expected-warning {{passing '_Atomic(int) *' to parameter of type 'int *'}}
103 __atomic_load(I, *P, memory_order_relaxed);
104 __atomic_load(I, *P, memory_order_relaxed, 42); // expected-error {{too many arguments}}
  /external/clang/test/CodeGen/
atomic-ops.c 13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator in enum:memory_order
117 return __c11_atomic_load(d, memory_order_relaxed);
140 return __c11_atomic_fetch_add(p, 1, memory_order_relaxed);
148 return __atomic_fetch_sub(p, 4, memory_order_relaxed);
atomics-inlining.c 14 memory_order_relaxed, enumerator in enum:memory_order
  /external/compiler-rt/lib/tsan/rtl/
tsan_fd.cc 47 atomic_store(&s->rc, 1, memory_order_relaxed);
52 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1)
53 atomic_fetch_add(&s->rc, 1, memory_order_relaxed);
58 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1) {
113 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed);
114 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed);
115 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed);
123 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed);
135 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed);
tsan_mman.cc 36 uptr v = atomic_load(a, memory_order_relaxed);
43 v = atomic_load(a, memory_order_relaxed);
53 uptr v = atomic_load(a, memory_order_relaxed);
55 atomic_store(a, v & ~1, memory_order_relaxed);
tsan_mutex.cc 204 atomic_store(&state_, kUnlocked, memory_order_relaxed);
208 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked);
220 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) {
271 CHECK_NE(atomic_load(&state_, memory_order_relaxed), 0);
  /external/chromium_org/third_party/leveldatabase/src/port/
atomic_pointer.h 143 return rep_.load(std::memory_order_relaxed);
146 rep_.store(v, std::memory_order_relaxed);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
atomic_base.h 53 memory_order_relaxed, enumerator in enum:memory_order
66 memory_order __mo1(__cond1 ? memory_order_relaxed : __m);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
atomic_base.h 53 memory_order_relaxed, enumerator in enum:memory_order
66 memory_order __mo1(__cond1 ? memory_order_relaxed : __m);
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
atomic_base.h 53 memory_order_relaxed, enumerator in enum:memory_order
66 memory_order __mo1(__cond1 ? memory_order_relaxed : __m);
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
atomic_base.h 53 memory_order_relaxed, enumerator in enum:memory_order
66 memory_order __mo1(__cond1 ? memory_order_relaxed : __m);

Completed in 2116 milliseconds

1 2 3