Searched refs:atomic_init (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/system_properties/ |
D | prop_info.cpp | 41 atomic_init(&this->serial, valuelen << 24); in prop_info() 51 atomic_init(&this->serial, error_value_len << 24 | kLongFlag); in prop_info()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 43 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/ |
D | pthread_barrier.cpp | 98 atomic_init(&barrier->state, WAIT); in pthread_barrier_init() 99 atomic_init(&barrier->wait_count, 0); in pthread_barrier_init()
|
D | pthread_cond.cpp | 143 atomic_init(&cond->state, init_state); in pthread_cond_init() 146 atomic_init(&cond->waiters, 0); in pthread_cond_init()
|
D | pthread_internal.cpp | 145 atomic_init(&g_retval, true); in android_run_on_all_threads()
|
D | pthread_mutex.cpp | 507 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()
|
D | posix_timers.cpp | 128 atomic_init(&timer->deleted, false); in timer_create()
|
D | semaphore.cpp | 116 atomic_init(sem_count_ptr, count); in sem_init()
|
D | pthread_create.cpp | 146 atomic_init(&thread->join_state, THREAD_NOT_JOINED); in __init_thread() 148 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()
|
D | pthread_rwlock.cpp | 249 atomic_init(&rwlock->state, 0); in pthread_rwlock_init()
|
/bionic/libc/private/ |
D | bionic_lock.h | 49 atomic_init(&state, Unlocked); in init()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 105 atomic_init(&serial_, 0u); in prop_area()
|
/bionic/libc/include/ |
D | stdatomic.h | 58 using std::atomic_init;
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 92 #define atomic_init(obj, value) __c11_atomic_init(obj, value) macro
|