Home
last modified time | relevance | path

Searched refs:atomic_init (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/private/
Dbionic_lock.h50 atomic_init(&state, Unlocked); in init()
/bionic/tests/
Dstdatomic_test.cpp41 atomic_init(&v, 456); in TEST()
237 atomic_init(&a.x, 0ul); in TEST()
238 atomic_init(&a.y, 0ul); in TEST()
239 atomic_init(&a.z, 0ul); in TEST()
/bionic/libc/bionic/
Dpthread_create.cpp97 atomic_init(&thread->join_state, THREAD_NOT_JOINED); in __init_thread()
99 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()
Dpthread_mutex.cpp244 atomic_init(&mutex->state, MUTEX_TYPE_BITS_NORMAL); in pthread_mutex_init()
267 atomic_init(&mutex->state, state); in pthread_mutex_init()
268 atomic_init(&mutex->owner_tid, 0); in pthread_mutex_init()
Dposix_timers.cpp133 atomic_init(&timer->deleted, false); in timer_create()
Dsemaphore.cpp116 atomic_init(sem_count_ptr, count); in sem_init()
Dpthread_cond.cpp142 atomic_init(&cond->state, init_state); in pthread_cond_init()
Dsystem_properties.cpp125 atomic_init(&serial, 0); in prop_area()
144 atomic_init(&this->serial, valuelen << 24); in prop_info()
Dpthread_rwlock.cpp249 atomic_init(&rwlock->state, 0); in pthread_rwlock_init()
/bionic/libc/include/
Dstdatomic.h71 using std::atomic_init;
240 #define atomic_init(obj, value) __c11_atomic_init(obj, value) macro
247 #define atomic_init(obj, value) ((void)((obj)->__val = (value))) macro