Searched refs:atomic_store (Results 1 – 15 of 15) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_heapprofd.cpp | 129 atomic_store(&gGlobalsMutating, false); in MaybeModifyGlobals() 255 atomic_store(&gPreviousDefaultDispatchTable, default_dispatch); in HandleHeapprofdSignal() 273 atomic_store(&gPreviousDefaultDispatchTable, nullptr); in HandleHeapprofdSignal() 310 atomic_store(&globals->default_dispatch_table, &gEphemeralDispatch); in HandleHeapprofdSignal() 312 atomic_store(&globals->current_dispatch_table, &gEphemeralDispatch); in HandleHeapprofdSignal() 315 atomic_store(&gHeapprofdState, kEphemeralHookInstalled); in HandleHeapprofdSignal() 346 atomic_store(&gHeapprofdState, kIncompatibleHooks); in HeapprofdRememberHookConflict() 356 atomic_store(&gHeapprofdHandle, impl_handle); in CommonInstallHooks() 369 atomic_store(&gPreviousDefaultDispatchTable, GetDefaultDispatchTable()); in HeapprofdInstallHooksAtInit() 374 atomic_store(&gHeapprofdState, kHookInstalled); in HeapprofdInstallHooksAtInit() [all …]
|
D | heap_tagging.cpp | 66 atomic_store(&globals->memtag, true); in SetDefaultHeapTaggingLevel() 67 atomic_store(&__libc_memtag_stack, __libc_shared_globals()->initial_memtag_stack); in SetDefaultHeapTaggingLevel() 122 atomic_store(&__libc_memtag_stack, false); in SetHeapTaggingLevel() 123 atomic_store(&globals->memtag, false); in SetHeapTaggingLevel()
|
D | malloc_limit.cpp | 266 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable() 286 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable() 288 atomic_store(&gGlobalsMutating, false); in EnableLimitDispatchTable() 334 atomic_store(&gAllocated, current_allocated); in LimitEnable() 338 atomic_store(&limit_enabled, false); in LimitEnable()
|
D | pthread_internal.cpp | 232 atomic_store(&g_retval, false); in android_run_on_all_threads() 261 atomic_store(&g_retval, false); in android_run_on_all_threads() 267 atomic_store(&g_retval, false); in android_run_on_all_threads()
|
D | pthread_exit.cpp | 111 atomic_store(&thread->terminating, true); in pthread_exit()
|
D | malloc_common.cpp | 127 atomic_store(&globals->decay_time_enabled, false); in mallopt() 129 atomic_store(&globals->decay_time_enabled, true); in mallopt()
|
D | pthread_key.cpp | 129 atomic_store(&key_map[i].key_destructor, reinterpret_cast<uintptr_t>(key_destructor)); in pthread_key_create()
|
D | gwp_asan_wrappers.cpp | 458 atomic_store(&globals->default_dispatch_table, &gwp_asan_dispatch); in MaybeInitGwpAsan() 463 atomic_store(&globals->current_dispatch_table, &gwp_asan_dispatch); in MaybeInitGwpAsan()
|
D | malloc_common_dynamic.cpp | 340 atomic_store(&globals->default_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks() 342 atomic_store(&globals->current_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks()
|
D | posix_timers.cpp | 116 atomic_store(&timer->deleted, true); in __timer_thread_stop()
|
D | pthread_create.cpp | 468 atomic_store(&thread->join_state, THREAD_DETACHED); in pthread_create()
|
D | pthread_mutex.cpp | 1022 atomic_store(&mutex->state, 0xffff); in pthread_mutex_destroy()
|
/bionic/tests/ |
D | stdatomic_test.cpp | 89 TEST(stdatomic, atomic_store) { in TEST() argument 91 atomic_store(&i, 123); in TEST() 99 atomic_store(&i, 123); in TEST() 108 atomic_store(&i, 123); in TEST() 114 atomic_store(&i, 123); in TEST() 122 atomic_store(&i, 123); in TEST() 133 atomic_store(&i, 123); in TEST()
|
/bionic/libc/include/ |
D | stdatomic.h | 59 using std::atomic_store;
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 256 #define atomic_store(object, desired) \ macro
|