Home
last modified time | relevance | path

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

/bionic/libc/system_properties/
Dprop_info.cpp41 atomic_init(&this->serial, valuelen << 24); in prop_info()
51 atomic_init(&this->serial, error_value_len << 24 | kLongFlag); in prop_info()
/bionic/libc/bionic/
Dpthread_barrier.cpp98 atomic_init(&barrier->state, WAIT); in pthread_barrier_init()
99 atomic_init(&barrier->wait_count, 0); in pthread_barrier_init()
Dpthread_mutex.cpp507 atomic_init(&mutex->state, MUTEX_TYPE_BITS_NORMAL); in pthread_mutex_init()
541 atomic_init(&mutex->state, PI_MUTEX_STATE); in pthread_mutex_init()
546 atomic_init(&mutex->state, state); in pthread_mutex_init()
547 atomic_init(&mutex->owner_tid, 0); in pthread_mutex_init()
Dposix_timers.cpp128 atomic_init(&timer->deleted, false); in timer_create()
Dsemaphore.cpp116 atomic_init(sem_count_ptr, count); in sem_init()
Dpthread_create.cpp163 atomic_init(&thread->join_state, THREAD_NOT_JOINED); in __init_thread()
165 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()
Dpthread_cond.cpp142 atomic_init(&cond->state, init_state); in pthread_cond_init()
Dpthread_rwlock.cpp249 atomic_init(&rwlock->state, 0); in pthread_rwlock_init()
/bionic/tests/
Dstdatomic_test.cpp41 atomic_init(&v, 456); in TEST()
248 atomic_init(&a.x, 0ul); in TEST()
249 atomic_init(&a.y, 0ul); in TEST()
250 atomic_init(&a.z, 0ul); in TEST()
/bionic/libc/private/
Dbionic_lock.h49 atomic_init(&state, Unlocked); in init()
/bionic/libc/system_properties/include/system_properties/
Dprop_area.h105 atomic_init(&serial_, 0u); in prop_area()
/bionic/libc/include/
Dstdatomic.h58 using std::atomic_init;
189 #define atomic_init(obj, value) __c11_atomic_init(obj, value) macro