Home
last modified time | relevance | path

Searched refs:test_and_set (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_flag.h37 …_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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DThreadSafeAllocator.h29 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSparseBitVector.h103 bool test_and_set(unsigned Idx) { in test_and_set() function
532 bool test_and_set(unsigned Idx) { in test_and_set() function
H A DCoalescingBitVector.h129 void test_and_set(IndexT Index) { in test_and_set() function
/freebsd-14.2/sys/contrib/zlib/
H A Dcrc32.c259 local int test_and_set(int volatile *flag) { in test_and_set() function
270 if (test_and_set(&state->begun)) in once()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Datomic532 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;
/freebsd-14.2/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp661 if (!g_interrupt_sent.test_and_set()) { in sigint_handler()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.cpp1939 if (m_dwo_warning_issued.test_and_set(std::memory_order_relaxed) == false) { in GetDwoSymbolFileForCompileUnit()