/external/llvm/include/llvm/Support/ |
Atomic.h | 32 cas_flag CompareAndSwap(volatile cas_flag* ptr,
|
Threading.h | 98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Atomic.h | 28 cas_flag CompareAndSwap(volatile cas_flag* ptr,
|
/external/webrtc/webrtc/base/ |
atomicops.h | 40 static int CompareAndSwap(volatile int* i, int old_value, int new_value) { 68 static int CompareAndSwap(volatile int* i, int old_value, int new_value) {
|
criticalsection.cc | 142 while (AtomicOps::CompareAndSwap(&lock_acquired, 0, 1)) { 152 int old_value = AtomicOps::CompareAndSwap(&lock_acquired, 1, 0);
|
event_tracer.cc | 157 rtc::AtomicOps::CompareAndSwap(&g_event_logging_active, 0, 1)); 165 if (rtc::AtomicOps::CompareAndSwap(&g_event_logging_active, 1, 0) == 0)
|
criticalsection_unittest.cc | 196 static int AtomicOp(int* i) { return AtomicOps::CompareAndSwap(i, 0, 1); } 270 TEST(AtomicOpsTest, CompareAndSwap) {
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
Atomic.cpp | 38 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, 99 } while (sys::CompareAndSwap(ptr, result, original) != original); 109 } while (sys::CompareAndSwap(ptr, result, original) != original);
|
/external/llvm/lib/Support/ |
Atomic.cpp | 43 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr,
|
/external/webrtc/webrtc/modules/pacing/ |
packet_router.cc | 82 // Note: CompareAndSwap returns the actual value of transport_seq at the 86 prev_seq = rtc::AtomicOps::CompareAndSwap(&transport_seq_, desired_prev_seq,
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
PassSupport.h | 134 sys::cas_flag old_val = sys::CompareAndSwap(&initialized, 1, 0); \
|
/external/libchrome/base/ |
atomicops_unittest.cc | 225 TEST(AtomicOpsTest, CompareAndSwap) {
|
/prebuilts/go/darwin-x86/src/sync/atomic/ |
atomic_test.go | 20 // Test that the CompareAndSwap functions actually [all...] |
/prebuilts/go/linux-x86/src/sync/atomic/ |
atomic_test.go | 20 // Test that the CompareAndSwap functions actually [all...] |