Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DAtomic.cpp39 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap() function in sys
100 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicMul()
110 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicDiv()
/external/webrtc/webrtc/base/
Datomicops.h40 static int CompareAndSwap(volatile int* i, int old_value, int new_value) { in CompareAndSwap() function
68 static int CompareAndSwap(volatile int* i, int old_value, int new_value) {
Dcriticalsection.cc142 while (AtomicOps::CompareAndSwap(&lock_acquired, 0, 1)) { in Lock()
152 int old_value = AtomicOps::CompareAndSwap(&lock_acquired, 1, 0); in Unlock()
Devent_tracer.cc157 rtc::AtomicOps::CompareAndSwap(&g_event_logging_active, 0, 1)); in Start()
165 if (rtc::AtomicOps::CompareAndSwap(&g_event_logging_active, 1, 0) == 0) in Stop()
Dcriticalsection_unittest.cc196 static int AtomicOp(int* i) { return AtomicOps::CompareAndSwap(i, 0, 1); } in AtomicOp()
270 TEST(AtomicOpsTest, CompareAndSwap) { in TEST() argument
/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/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/swiftshader/third_party/LLVM/include/llvm/Support/
DAtomic.h28 cas_flag CompareAndSwap(volatile cas_flag* ptr,
/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/llvm/lib/Support/
DAtomic.cpp43 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap() function in sys
/external/webrtc/webrtc/modules/pacing/
Dpacket_router.cc86 prev_seq = rtc::AtomicOps::CompareAndSwap(&transport_seq_, desired_prev_seq, in AllocateSequenceNumber()
/external/swiftshader/third_party/LLVM/include/llvm/
DPassSupport.h134 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \
/external/libchrome/base/
Datomicops_unittest.cc225 TEST(AtomicOpsTest, CompareAndSwap) { in TEST() argument
/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> {