Home
last modified time | relevance | path

Searched refs:atomic_store (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/bionic/
Dmalloc_heapprofd.cpp128 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 …]
Dmalloc_limit.cpp261 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()
Dpthread_key.cpp129 atomic_store(&key_map[i].key_destructor, reinterpret_cast<uintptr_t>(key_destructor)); in pthread_key_create()
Dposix_timers.cpp101 atomic_store(&timer->deleted, true); in __timer_thread_stop()
Dmalloc_common_dynamic.cpp343 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()
Dpthread_create.cpp418 atomic_store(&thread->join_state, THREAD_DETACHED); in pthread_create()
Dpthread_mutex.cpp993 atomic_store(&mutex->state, 0xffff); in pthread_mutex_destroy()
/bionic/tests/
Dstdatomic_test.cpp92 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/
Dstdatomic.h59 using std::atomic_store;
353 #define atomic_store(object, desired) \ macro