Home
last modified time | relevance | path

Searched refs:atomic_init (Results 1 – 14 of 14) 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/tests/
Dstdatomic_test.cpp43 atomic_init(&v, 456); in TEST()
245 atomic_init(&a.x, 0ul); in TEST()
246 atomic_init(&a.y, 0ul); in TEST()
247 atomic_init(&a.z, 0ul); in TEST()
/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_cond.cpp143 atomic_init(&cond->state, init_state); in pthread_cond_init()
146 atomic_init(&cond->waiters, 0); in pthread_cond_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()
Dpthread_internal.cpp145 atomic_init(&g_retval, true); in android_run_on_all_threads()
Dpthread_create.cpp157 atomic_init(&thread->join_state, THREAD_NOT_JOINED); in __init_thread()
159 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()
Dposix_timers.cpp128 atomic_init(&timer->deleted, false); in timer_create()
Dsemaphore.cpp116 atomic_init(sem_count_ptr, count); in sem_init()
Dpthread_rwlock.cpp249 atomic_init(&rwlock->state, 0); in pthread_rwlock_init()
/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;
/bionic/libc/include/bits/
Dstdatomic.h92 #define atomic_init(obj, value) __c11_atomic_init(obj, value) macro