Searched refs:atomic_store_explicit (Results 1 – 11 of 11) sorted by relevance
/bionic/tests/ |
D | stdatomic_test.cpp | 93 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/ |
D | system_properties.cpp | 258 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()
|
D | prop_area.cpp | 251 atomic_store_explicit(¤t->left, new_offset, memory_order_release); in find_prop_bt() 267 atomic_store_explicit(¤t->right, new_offset, memory_order_release); in find_prop_bt() 299 atomic_store_explicit(¤t->children, new_offset, memory_order_release); in find_property() 324 atomic_store_explicit(¤t->prop, new_offset, memory_order_release); in find_property()
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 229 #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/ |
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_once.cpp | 74 atomic_store_explicit(once_control_ptr, ONCE_INITIALIZATION_COMPLETE, memory_order_release); in pthread_once()
|
D | pthread_mutex.cpp | 742 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()
|
D | pthread_rwlock.cpp | 354 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()
|
D | pthread_cond.cpp | 149 atomic_store_explicit(&cond->state, 0xdeadc04d, memory_order_relaxed); in pthread_cond_destroy()
|
D | malloc_common_dynamic.cpp | 484 atomic_store_explicit(&gZygoteChildProfileable, true, memory_order_release); in android_mallopt()
|
/bionic/libc/include/ |
D | stdatomic.h | 60 using std::atomic_store_explicit;
|