Searched refs:test_and_set (Results 1 – 8 of 8) sorted by relevance
37 …_LIBCPP_HIDE_FROM_ABI bool test_and_set(memory_order __m = memory_order_seq_cst) volatile _NOEXCEP…40 _LIBCPP_HIDE_FROM_ABI bool test_and_set(memory_order __m = memory_order_seq_cst) _NOEXCEPT {94 return __o->test_and_set(); in atomic_flag_test_and_set()97 …_FROM_ABI bool atomic_flag_test_and_set(atomic_flag* __o) _NOEXCEPT { return __o->test_and_set(); } in atomic_flag_test_and_set()101 return __o->test_and_set(__m); in atomic_flag_test_and_set_explicit()105 return __o->test_and_set(__m); in atomic_flag_test_and_set_explicit()
29 if (LLVM_UNLIKELY(Flag.test_and_set(std::memory_order_acquire))) in LockGuard()30 while (Flag.test_and_set(std::memory_order_acquire)) { in LockGuard()
103 bool test_and_set(unsigned Idx) { in test_and_set() function532 bool test_and_set(unsigned Idx) { in test_and_set() function
129 void test_and_set(IndexT Index) { in test_and_set() function
259 local int test_and_set(int volatile *flag) { in test_and_set() function270 if (test_and_set(&state->begun)) in once()
532 bool test_and_set(memory_order m = memory_order_seq_cst) volatile noexcept;533 bool test_and_set(memory_order m = memory_order_seq_cst) noexcept;
661 if (!g_interrupt_sent.test_and_set()) { in sigint_handler()
1939 if (m_dwo_warning_issued.test_and_set(std::memory_order_relaxed) == false) { in GetDwoSymbolFileForCompileUnit()