HomeSort by relevance Sort by last modified time
    Searched full:atomic_load (Results 1 - 25 of 181) sorted by null

1 2 3 4 5 6 7 8

  /external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_load.pass.cpp 17 // atomic_load(const volatile atomic<T>* obj);
21 // atomic_load(const atomic<T>* obj);
34 assert(std::atomic_load(&t) == T(1));
37 assert(std::atomic_load(&vt) == T(2));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.operations/atomics.types.operations.req/
atomic_load.pass.cpp 14 // atomic_load(const volatile atomic<T>* obj);
18 // atomic_load(const atomic<T>* obj);
31 assert(std::atomic_load(&t) == T(1));
34 assert(std::atomic_load(&vt) == T(2));
  /bionic/tests/
stdatomic_test.cpp 39 ASSERT_EQ(123, atomic_load(&v));
42 ASSERT_EQ(456, atomic_load(&v));
98 ASSERT_EQ(123, atomic_load(&i));
143 ASSERT_EQ(125, atomic_load(&i));
150 ASSERT_EQ(121, atomic_load(&i));
157 ASSERT_EQ(0x123, atomic_load(&i));
164 ASSERT_EQ(0x123, atomic_load(&i));
171 ASSERT_EQ(0x002, atomic_load(&i));
249 EXPECT_EQ(atomic_load(&a.z), BIG + 1);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_addrhashmap.h 176 uptr addr1 = atomic_load(&c->addr, memory_order_acquire);
184 if (atomic_load(&b->add, memory_order_relaxed)) {
186 AddBucket *add = (AddBucket*)atomic_load(&b->add, memory_order_relaxed);
189 uptr addr1 = atomic_load(&c->addr, memory_order_relaxed);
205 uptr addr1 = atomic_load(&c->addr, memory_order_relaxed);
217 AddBucket *add = (AddBucket*)atomic_load(&b->add, memory_order_relaxed);
221 uptr addr1 = atomic_load(&c->addr, memory_order_relaxed);
245 uptr addr1 = atomic_load(&c->addr, memory_order_relaxed);
278 CHECK_EQ(atomic_load(&c->addr, memory_order_relaxed), 0);
289 uptr addr1 = atomic_load(&c->addr, memory_order_relaxed)
    [all...]
sanitizer_lfstack.h 33 return (atomic_load(&head_, memory_order_relaxed) & kPtrMask) == 0;
37 u64 cmp = atomic_load(&head_, memory_order_relaxed);
49 u64 cmp = atomic_load(&head_, memory_order_acquire);
sanitizer_mutex.h 44 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), 1);
56 if (atomic_load(&state_, memory_order_relaxed) == 0
100 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked);
132 CHECK_NE(atomic_load(&state_, memory_order_relaxed), kUnlocked);
150 u32 cmp = atomic_load(&state_, memory_order_relaxed);
164 u32 prev = atomic_load(&state_, memory_order_acquire);
sanitizer_persistent_allocator.h 38 uptr cmp = atomic_load(&region_pos, memory_order_acquire);
39 uptr end = atomic_load(&region_end, memory_order_acquire);
sanitizer_stackdepotbase.h 78 uptr cmp = atomic_load(p, memory_order_relaxed);
104 uptr v = atomic_load(p, memory_order_consume);
149 uptr v = atomic_load(p, memory_order_consume);
171 uptr s = atomic_load(p, memory_order_relaxed);
sanitizer_quarantine.h 58 uptr GetSize() const { return atomic_load(&max_size_, memory_order_acquire); }
89 uptr min_size = atomic_load(&min_size_, memory_order_acquire);
128 return atomic_load(&size_, memory_order_relaxed);
sanitizer_stackdepot.cc 40 atomic_load(&hash_and_use_count, memory_order_relaxed) & kHashMask;
92 return atomic_load(&node_->hash_and_use_count, memory_order_relaxed) &
142 uptr v = atomic_load(p, memory_order_consume);
sanitizer_coverage_libcdep.cc 275 uptr size = atomic_load(&pc_array_size, memory_order_relaxed);
286 CHECK_EQ(atomic_load(&pc_array_index, memory_order_relaxed), 0);
305 uptr size = atomic_load(&pc_array_size, memory_order_relaxed);
367 uptr range_end = atomic_load(&pc_array_index, memory_order_relaxed);
404 s32 guard_value = atomic_load(atomic_guard, memory_order_relaxed);
411 if (idx >= atomic_load(&pc_array_index, memory_order_acquire))
414 atomic_load(&pc_array_size, memory_order_acquire));
436 atomic_load(&cc_array_size, memory_order_acquire));
440 CHECK_EQ(atomic_load(&atomic_callee_cache[0], memory_order_relaxed), caller);
516 return atomic_load(&pc_array_index, memory_order_relaxed)
    [all...]
sanitizer_atomic.h 72 return atomic_load(a, memory_order_relaxed);
sanitizer_allocator.cc 60 if (atomic_load(&internal_allocator_initialized, memory_order_acquire) == 0) {
62 if (atomic_load(&internal_allocator_initialized, memory_order_relaxed) ==
sanitizer_atomic_clang_other.h 25 INLINE typename T::Type atomic_load( function in namespace:__sanitizer
sanitizer_libignore.cc 81 const uptr idx = atomic_load(&loaded_count_, memory_order_relaxed);
sanitizer_libignore.h 73 const uptr n = atomic_load(&loaded_count_, memory_order_acquire);
  /external/boringssl/src/crypto/
refcount_c11.c 39 uint32_t expected = atomic_load(count);
51 uint32_t expected = atomic_load(count);
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
atomic_load.pass.cpp 23 // atomic_load(const shared_ptr<T>* p)
33 std::shared_ptr<int> q = std::atomic_load(&p);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
atomic_load.pass.cpp 21 // atomic_load(const shared_ptr<T>* p)
31 std::shared_ptr<int> q = std::atomic_load(&p);
  /external/llvm/test/CodeGen/PowerPC/
atomic-2.ll 93 define i64 @atomic_load(i64* %mem) nounwind {
95 ; CHECK: @atomic_load
  /system/extras/memory_replay/
Pointers.cpp 80 if (atomic_load(&pointers_[index].key_pointer) == key_pointer) {
111 if (atomic_load(&pointers_[i].key_pointer) != 0) {
  /external/compiler-rt/lib/tsan/rtl/
tsan_mutex.cc 223 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked);
235 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) {
265 prev = atomic_load(&state_, memory_order_acquire);
286 CHECK_NE(atomic_load(&state_, memory_order_relaxed), 0);
tsan_fd.cc 58 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1)
64 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1) {
78 uptr l1 = atomic_load(pl1, memory_order_consume);
133 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed);
145 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed);
  /external/compiler-rt/lib/asan/
asan_stack.cc 27 return atomic_load(&malloc_context_size, memory_order_acquire);
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_mutex.cc 169 int *val = (int *)atomic_load(singleton, memory_order_acquire);
215 uptr v = atomic_load(&flag, memory_order_acquire);

Completed in 8444 milliseconds

1 2 3 4 5 6 7 8