Searched refs:atomic_store (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_heapprofd.cpp | 128 atomic_store(&globals->default_dispatch_table, &__heapprofd_init_dispatch); in MaybeInstallInitHeapprofdHook() 131 atomic_store(&globals->current_dispatch_table, &__heapprofd_init_dispatch); in MaybeInstallInitHeapprofdHook() 135 atomic_store(&gGlobalsMutating, false); in MaybeInstallInitHeapprofdHook() 275 atomic_store(&gHeapprofdHandle, impl_handle); in CommonInstallHooks() 280 atomic_store(&gHeapprofdInitInProgress, false); in CommonInstallHooks() 299 atomic_store(&gHeapprofdInitHookInstalled, false); in InitHeapprofd() 308 atomic_store(&globals->default_dispatch_table, nullptr); in MallocInitHeapprofdHook() 310 atomic_store(&globals->current_dispatch_table, nullptr); in MallocInitHeapprofdHook() 346 atomic_store(&globals->default_dispatch_table, nullptr); in DispatchReset() 348 atomic_store(&globals->current_dispatch_table, nullptr); in DispatchReset() [all …]
|
D | malloc_limit.cpp | 261 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable() 282 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable() 284 atomic_store(&gGlobalsMutating, false); in EnableLimitDispatchTable() 329 atomic_store(&gAllocated, current_allocated); in LimitEnable()
|
D | pthread_key.cpp | 129 atomic_store(&key_map[i].key_destructor, reinterpret_cast<uintptr_t>(key_destructor)); in pthread_key_create()
|
D | posix_timers.cpp | 101 atomic_store(&timer->deleted, true); in __timer_thread_stop()
|
D | malloc_common_dynamic.cpp | 343 atomic_store(&globals->default_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks() 345 atomic_store(&globals->current_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks()
|
D | pthread_create.cpp | 418 atomic_store(&thread->join_state, THREAD_DETACHED); in pthread_create()
|
D | pthread_mutex.cpp | 993 atomic_store(&mutex->state, 0xffff); in pthread_mutex_destroy()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 92 TEST(stdatomic, atomic_store) { in TEST() argument 94 atomic_store(&i, 123); in TEST() 102 atomic_store(&i, 123); in TEST() 111 atomic_store(&i, 123); in TEST() 117 atomic_store(&i, 123); in TEST() 125 atomic_store(&i, 123); in TEST() 136 atomic_store(&i, 123); in TEST()
|
/bionic/libc/include/ |
D | stdatomic.h | 59 using std::atomic_store; 353 #define atomic_store(object, desired) \ macro
|