Searched refs:atomic_init (Results 1 – 12 of 12) 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/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_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 | 163 atomic_init(&thread->join_state, THREAD_NOT_JOINED); in __init_thread() 165 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()
|
D | pthread_cond.cpp | 142 atomic_init(&cond->state, init_state); in pthread_cond_init()
|
D | pthread_rwlock.cpp | 249 atomic_init(&rwlock->state, 0); in pthread_rwlock_init()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 41 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/ |
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; 189 #define atomic_init(obj, value) __c11_atomic_init(obj, value) macro
|