Home
last modified time | relevance | path

Searched refs:atomic_store_explicit (Results 1 – 11 of 11) sorted by relevance

/bionic/tests/
Dstdatomic_test.cpp93 atomic_store_explicit(&i, 123, memory_order_relaxed); in TEST()
199 atomic_store_explicit(&a->x, i, memory_order_relaxed); in writer()
200 atomic_store_explicit(&a->z, i, memory_order_relaxed); in writer()
201 atomic_store_explicit(&a->y, i, memory_order_release); in writer()
202 atomic_store_explicit(&a->x, i+1, memory_order_relaxed); in writer()
203 atomic_store_explicit(&a->z, i+1, memory_order_relaxed); in writer()
204 atomic_store_explicit(&a->y, i+1, memory_order_release); in writer()
/bionic/libc/system_properties/
Dsystem_properties.cpp258 atomic_store_explicit(&pi->serial, serial, memory_order_relaxed); in Update()
263 atomic_store_explicit(&pi->serial, (len << 24) | ((serial + 1) & 0xffffff), memory_order_relaxed); in Update()
265 atomic_store_explicit(serial_pa->serial(), in Update()
305 atomic_store_explicit(serial_pa->serial(), in Add()
Dprop_area.cpp251 atomic_store_explicit(&current->left, new_offset, memory_order_release); in find_prop_bt()
267 atomic_store_explicit(&current->right, new_offset, memory_order_release); in find_prop_bt()
299 atomic_store_explicit(&current->children, new_offset, memory_order_release); in find_property()
324 atomic_store_explicit(&current->prop, new_offset, memory_order_release); in find_property()
/bionic/libc/include/bits/
Dstdatomic.h229 #define atomic_store_explicit(object, desired, order) \ macro
257 atomic_store_explicit(object, desired, memory_order_seq_cst)
277 atomic_store_explicit(&__object->__flag, 0, __order); in atomic_flag_clear_explicit()
/bionic/libc/bionic/
Dpthread_barrier.cpp148 atomic_store_explicit(&barrier->state, RELEASE, memory_order_release); in pthread_barrier_wait()
162 atomic_store_explicit(&barrier->state, WAIT, memory_order_release); in pthread_barrier_wait()
Dpthread_once.cpp74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
Dpthread_mutex.cpp742 atomic_store_explicit(&mutex->owner_tid, tid, memory_order_relaxed); in MutexLockWithTimeout()
761 atomic_store_explicit(&mutex->owner_tid, tid, memory_order_relaxed); in MutexLockWithTimeout()
890 atomic_store_explicit(&mutex->owner_tid, 0, memory_order_relaxed); in pthread_mutex_unlock()
941 atomic_store_explicit(&mutex->owner_tid, tid, memory_order_relaxed); in pthread_mutex_trylock()
Dpthread_rwlock.cpp354 atomic_store_explicit(&rwlock->writer_tid, __get_thread()->tid, memory_order_relaxed); in __pthread_rwlock_trywrlock()
494 atomic_store_explicit(&rwlock->writer_tid, 0, memory_order_relaxed); in pthread_rwlock_unlock()
Dpthread_cond.cpp149 atomic_store_explicit(&cond->state, 0xdeadc04d, memory_order_relaxed); in pthread_cond_destroy()
Dmalloc_common_dynamic.cpp484 atomic_store_explicit(&gZygoteChildProfileable, true, memory_order_release); in android_mallopt()
/bionic/libc/include/
Dstdatomic.h60 using std::atomic_store_explicit;