Home
last modified time | relevance | path

Searched refs:CompareAndSwap (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/rtc_base/
Datomic_ops.h39 static int CompareAndSwap(volatile int* i, int old_value, int new_value) { in CompareAndSwap() function
62 static int CompareAndSwap(volatile int* i, int old_value, int new_value) {
Devent_tracer.cc209 rtc::AtomicOps::CompareAndSwap(&g_event_logging_active, 0, 1)); in Start()
220 if (rtc::AtomicOps::CompareAndSwap(&g_event_logging_active, 1, 0) == 0) in Stop()
/external/webrtc/rtc_base/deprecated/
Drecursive_critical_section.cc86 if (AtomicOps::CompareAndSwap(&lock_queue_, 0, 1) == 0) { in Enter()
138 if (AtomicOps::CompareAndSwap(&lock_queue_, 0, 1) != 0) in TryEnter()
Drecursive_critical_section_unittest.cc199 static int AtomicOp(int* i) { return AtomicOps::CompareAndSwap(i, 0, 1); } in AtomicOp()
273 TEST(AtomicOpsTest, CompareAndSwap) { in TEST() argument
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DAtomic.h32 cas_flag CompareAndSwap(volatile cas_flag* ptr,
DThreading.h98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once()
/external/llvm/include/llvm/Support/
DAtomic.h32 cas_flag CompareAndSwap(volatile cas_flag* ptr,
DThreading.h98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once()
/external/llvm-project/llvm/include/llvm/Support/
DAtomic.h36 cas_flag CompareAndSwap(volatile cas_flag* ptr,
DThreading.h126 sys::cas_flag old_val = sys::CompareAndSwap(&flag.status, Wait, Uninitialized); in call_once()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAtomic.h36 cas_flag CompareAndSwap(volatile cas_flag* ptr,
DThreading.h125 sys::cas_flag old_val = sys::CompareAndSwap(&flag.status, Wait, Uninitialized); in call_once()
/external/llvm/lib/Support/
DAtomic.cpp43 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap() function in sys
/external/llvm-project/llvm/lib/Support/
DAtomic.cpp44 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap() function in sys
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAtomic.cpp45 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap() function in sys
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAtomic.cpp44 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap() function in sys
/external/libchrome/base/
Datomicops_unittest.cc225 TEST(AtomicOpsTest, CompareAndSwap) { in TEST() argument
/external/webrtc/modules/audio_processing/
Daudio_processing_performance_unittest.cc173 rtc::AtomicOps::CompareAndSwap(&flag_, 0, 1); in set_flag()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.td812 defm CAS : CompareAndSwap<0, 0, "">;
813 defm CASA : CompareAndSwap<1, 0, "a">;
814 defm CASL : CompareAndSwap<0, 1, "l">;
815 defm CASAL : CompareAndSwap<1, 1, "al">;
DAArch64InstrFormats.td9382 multiclass CompareAndSwap<bits<1> Acq, bits<1> Rel, string order> {
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.td1553 defm CAS : CompareAndSwap<0, 0, "">;
1554 defm CASA : CompareAndSwap<1, 0, "a">;
1555 defm CASL : CompareAndSwap<0, 1, "l">;
1556 defm CASAL : CompareAndSwap<1, 1, "al">;
DAArch64InstrFormats.td11039 multiclass CompareAndSwap<bits<1> Acq, bits<1> Rel, string order> {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.td1402 defm CAS : CompareAndSwap<0, 0, "">;
1403 defm CASA : CompareAndSwap<1, 0, "a">;
1404 defm CASL : CompareAndSwap<0, 1, "l">;
1405 defm CASAL : CompareAndSwap<1, 1, "al">;
DAArch64InstrFormats.td10641 multiclass CompareAndSwap<bits<1> Acq, bits<1> Rel, string order> {