Searched refs:atomic_exchange (Results 1 – 6 of 6) sorted by relevance
97 TEST(stdatomic, atomic_exchange) { in TEST() argument100 ASSERT_EQ(123, atomic_exchange(&i, 456)); in TEST()
283 if (!atomic_exchange(&gGlobalsMutating, true)) { in EnableLimitDispatchTable()313 if (atomic_exchange(&limit_enabled, true)) { in LimitEnable()
341 return atomic_exchange(&GetFdTable().error_level, new_level); in android_fdsan_set_error_level()
126 if (!atomic_exchange(&gGlobalsMutating, true)) { in MaybeModifyGlobals()
63 using std::atomic_exchange;
242 #define atomic_exchange(object, desired) \ macro