Searched refs:atomic_init (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/private/ |
D | bionic_lock.h | 50 atomic_init(&state, Unlocked); in init()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 41 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/ |
D | pthread_create.cpp | 97 atomic_init(&thread->join_state, THREAD_NOT_JOINED); in __init_thread() 99 atomic_init(&thread->join_state, THREAD_DETACHED); in __init_thread()
|
D | pthread_mutex.cpp | 244 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()
|
D | posix_timers.cpp | 133 atomic_init(&timer->deleted, false); in timer_create()
|
D | semaphore.cpp | 116 atomic_init(sem_count_ptr, count); in sem_init()
|
D | pthread_cond.cpp | 142 atomic_init(&cond->state, init_state); in pthread_cond_init()
|
D | system_properties.cpp | 125 atomic_init(&serial, 0); in prop_area() 144 atomic_init(&this->serial, valuelen << 24); in prop_info()
|
D | pthread_rwlock.cpp | 249 atomic_init(&rwlock->state, 0); in pthread_rwlock_init()
|
/bionic/libc/include/ |
D | stdatomic.h | 71 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
|