Searched refs:atomic_store_explicit (Results 1 – 8 of 8) sorted by relevance
/bionic/tests/ |
D | stdatomic_test.cpp | 96 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/ |
D | pthread_once.cpp | 74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
|
D | pthread_barrier.cpp | 148 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()
|
D | pthread_mutex.cpp | 453 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()
|
D | system_properties.cpp | 397 atomic_store_explicit(¤t->left, new_offset, memory_order_release); in find_prop_bt() 413 atomic_store_explicit(¤t->right, new_offset, memory_order_release); in find_prop_bt() 445 atomic_store_explicit(¤t->children, new_offset, memory_order_release); in find_property() 470 atomic_store_explicit(¤t->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()
|
D | pthread_rwlock.cpp | 355 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()
|
D | pthread_cond.cpp | 149 atomic_store_explicit(&cond->state, 0xdeadc04d, memory_order_relaxed); in pthread_cond_destroy()
|
/bionic/libc/include/ |
D | stdatomic.h | 64 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()
|