Home
last modified time | relevance | path

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

/bionic/tests/
Dstdatomic_test.cpp96 atomic_store_explicit(&i, 123, memory_order_relaxed); in TEST()
202 atomic_store_explicit(&a->x, i, memory_order_relaxed); in writer()
203 atomic_store_explicit(&a->z, i, memory_order_relaxed); in writer()
204 atomic_store_explicit(&a->y, i, memory_order_release); in writer()
205 atomic_store_explicit(&a->x, i+1, memory_order_relaxed); in writer()
206 atomic_store_explicit(&a->z, i+1, memory_order_relaxed); in writer()
207 atomic_store_explicit(&a->y, i+1, memory_order_release); in writer()
/bionic/libc/bionic/
Dpthread_once.cpp74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
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_mutex.cpp453 atomic_store_explicit(&mutex->owner_tid, tid, memory_order_relaxed); in __pthread_mutex_lock_with_timeout()
472 atomic_store_explicit(&mutex->owner_tid, tid, memory_order_relaxed); in __pthread_mutex_lock_with_timeout()
570 atomic_store_explicit(&mutex->owner_tid, 0, memory_order_relaxed); in pthread_mutex_unlock()
614 atomic_store_explicit(&mutex->owner_tid, tid, memory_order_relaxed); in pthread_mutex_trylock()
Dsystem_properties.cpp397 atomic_store_explicit(&current->left, new_offset, memory_order_release); in find_prop_bt()
413 atomic_store_explicit(&current->right, new_offset, memory_order_release); in find_prop_bt()
445 atomic_store_explicit(&current->children, new_offset, memory_order_release); in find_property()
470 atomic_store_explicit(&current->prop, new_offset, memory_order_release); in find_property()
1349 atomic_store_explicit(&pi->serial, serial, memory_order_relaxed); in __system_property_update()
1356 atomic_store_explicit(&pi->serial, (len << 24) | ((serial + 1) & 0xffffff), memory_order_release); in __system_property_update()
1359 atomic_store_explicit(pa->serial(), atomic_load_explicit(pa->serial(), memory_order_relaxed) + 1, in __system_property_update()
1394 atomic_store_explicit( in __system_property_add()
Dpthread_rwlock.cpp355 atomic_store_explicit(&rwlock->writer_tid, __get_thread()->tid, memory_order_relaxed); in __pthread_rwlock_trywrlock()
458 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()
/bionic/libc/include/
Dstdatomic.h64 using std::atomic_store_explicit;
389 #define atomic_store_explicit(object, desired, order) \ macro
414 #define atomic_store_explicit(object, desired, order) \ macro
464 #define atomic_store_explicit(object, desired, order) \ macro
497 atomic_store_explicit(object, desired, memory_order_seq_cst)
524 atomic_store_explicit(&__object->__flag, 0, __order); in atomic_flag_clear_explicit()