Home
last modified time | relevance | path

Searched refs:atomic_load (Results 1 – 9 of 9) sorted by relevance

/bionic/tests/
Dstdatomic_test.cpp41 ASSERT_EQ(123, atomic_load(&v)); in TEST()
44 ASSERT_EQ(456, atomic_load(&v)); in TEST()
92 ASSERT_EQ(123, atomic_load(&i)); in TEST()
151 ASSERT_EQ(125, atomic_load(&i)); in TEST()
158 ASSERT_EQ(121, atomic_load(&i)); in TEST()
165 ASSERT_EQ(0x123, atomic_load(&i)); in TEST()
172 ASSERT_EQ(0x123, atomic_load(&i)); in TEST()
179 ASSERT_EQ(0x002, atomic_load(&i)); in TEST()
257 EXPECT_EQ(atomic_load(&a.z), BIG + 1); in TEST()
/bionic/libc/bionic/
Dmalloc_heapprofd.cpp228 if (atomic_load(&gHeapprofdState) == kIncompatibleHooks) { in HandleHeapprofdSignal()
327 void* impl_handle = atomic_load(&gHeapprofdHandle); in CommonInstallHooks()
385 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
413 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in MallocInitHeapprofdHook()
431 if (atomic_load(&gHeapprofdState) == kInitialState) { in DispatchReset()
441 const MallocDispatch* previous_dispatch = atomic_load(&gPreviousDefaultDispatchTable); in DispatchReset()
Dbionic_elf_tls.cpp233 if (__get_tcb_dtv(tcb)->generation == atomic_load(&modules.generation)) { in update_tls_dtv()
276 dtv->generation = atomic_load(&modules.generation); in update_tls_dtv()
318 size_t generation = atomic_load(&__libc_tls_generation_copy); in TLS_GET_ADDR()
Dfdsan.cpp63 FdTableOverflow* local_overflow = atomic_load(&overflow); in at()
135 auto error_level = atomic_load(&fd_table.error_level); in fdsan_error()
Dposix_timers.cpp88 if (atomic_load(&timer->deleted) == true) { in __timer_thread_start()
Dsemaphore.cpp322 int val = SEMCOUNT_TO_VALUE(atomic_load(sem_count_ptr)); in sem_getvalue()
Dpthread_attr.cpp249 if (atomic_load(&thread->join_state) == THREAD_DETACHED) { in pthread_getattr_np()
/bionic/libc/include/
Dstdatomic.h61 using std::atomic_load;
/bionic/libc/include/bits/
Dstdatomic.h254 #define atomic_load(object) \ macro