Home
last modified time | relevance | path

Searched refs:atomic_exchange (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/
Dstdatomic_test.cpp97 TEST(stdatomic, atomic_exchange) { in TEST() argument
100 ASSERT_EQ(123, atomic_exchange(&i, 456)); in TEST()
/bionic/libc/bionic/
Dmalloc_limit.cpp283 if (!atomic_exchange(&gGlobalsMutating, true)) { in EnableLimitDispatchTable()
313 if (atomic_exchange(&limit_enabled, true)) { in LimitEnable()
Dfdsan.cpp341 return atomic_exchange(&GetFdTable().error_level, new_level); in android_fdsan_set_error_level()
Dmalloc_heapprofd.cpp126 if (!atomic_exchange(&gGlobalsMutating, true)) { in MaybeModifyGlobals()
/bionic/libc/include/
Dstdatomic.h63 using std::atomic_exchange;
/bionic/libc/include/bits/
Dstdatomic.h242 #define atomic_exchange(object, desired) \ macro