/external/chromium_org/base/ |
atomicops_internals_gcc.h | 16 Atomic32 old_value, 20 if (__sync_bool_compare_and_swap(ptr, old_value, new_value)) 21 return old_value; 23 } while (prev_value == old_value); 29 Atomic32 old_value; local 31 old_value = *ptr; 32 } while (!__sync_bool_compare_and_swap(ptr, old_value, new_value)); 33 return old_value; 45 Atomic32 old_value = *ptr; local 46 Atomic32 new_value = old_value + increment [all...] |
atomicops_internals_mac.h | 16 Atomic32 old_value, 20 if (OSAtomicCompareAndSwap32(old_value, new_value, 22 return old_value; 25 } while (prev_value == old_value); 31 Atomic32 old_value; local 33 old_value = *ptr; 34 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 36 return old_value; 54 Atomic32 old_value, 58 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 122 Atomic64 old_value; local [all...] |
atomicops_internals_arm_gcc.h | 60 Atomic32 old_value, 69 // if (prev_value != old_value) 79 : "r"(ptr), "r"(old_value), "r"(new_value) 86 Atomic32 old_value, 88 Atomic32 result = NoBarrier_CompareAndSwap(ptr, old_value, new_value); 94 Atomic32 old_value, 97 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 134 Atomic32 old_value; local 137 // old_value = LDREX(ptr) 141 : "=&r"(old_value), "=&r"(reloop), "+m"(*ptr 190 Atomic32 old_value; local 206 Atomic32 old_value = *ptr; local [all...] |
/external/chromium/base/ |
atomicops_internals_x86_macosx.h | 17 Atomic32 old_value, 21 if (OSAtomicCompareAndSwap32(old_value, new_value, 23 return old_value; 26 } while (prev_value == old_value); 32 Atomic32 old_value; local 34 old_value = *ptr; 35 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 37 return old_value; 55 Atomic32 old_value, 59 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 123 Atomic64 old_value; local [all...] |
atomicops_internals_arm_gcc.h | 21 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 33 Atomic32 old_value, 37 if (!pLinuxKernelCmpxchg(old_value, new_value, 39 return old_value; 42 } while (prev_value == old_value); 48 Atomic32 old_value; local 50 old_value = *ptr; 51 } while (pLinuxKernelCmpxchg(old_value, new_value, 53 return old_value; 65 Atomic32 old_value = *ptr local [all...] |
atomicops_internals_x86_msvc.h | 17 Atomic32 old_value, 22 static_cast<LONG>(old_value)); 55 Atomic32 old_value, 57 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 61 Atomic32 old_value, 63 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 101 Atomic64 old_value, 105 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); 164 Atomic64 old_value, 166 return NoBarrier_CompareAndSwap(ptr, old_value, new_value) [all...] |
/external/chromium_org/v8/src/ |
atomicops_internals_x86_macosx.h | 39 Atomic32 old_value, 43 if (OSAtomicCompareAndSwap32(old_value, new_value, 45 return old_value; 48 } while (prev_value == old_value); 54 Atomic32 old_value; local 56 old_value = *ptr; 57 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 59 return old_value; 77 Atomic32 old_value, 81 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 145 Atomic64 old_value; local [all...] |
atomicops_internals_arm_gcc.h | 43 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 55 Atomic32 old_value, 59 if (!pLinuxKernelCmpxchg(old_value, new_value, 61 return old_value; 64 } while (prev_value == old_value); 70 Atomic32 old_value; local 72 old_value = *ptr; 73 } while (pLinuxKernelCmpxchg(old_value, new_value, 75 return old_value; 87 Atomic32 old_value = *ptr local [all...] |
/external/v8/src/ |
atomicops_internals_x86_macosx.h | 39 Atomic32 old_value, 43 if (OSAtomicCompareAndSwap32(old_value, new_value, 45 return old_value; 48 } while (prev_value == old_value); 54 Atomic32 old_value; local 56 old_value = *ptr; 57 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 59 return old_value; 77 Atomic32 old_value, 81 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 145 Atomic64 old_value; local [all...] |
atomicops_internals_arm_gcc.h | 43 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 55 Atomic32 old_value, 59 if (!pLinuxKernelCmpxchg(old_value, new_value, 61 return old_value; 64 } while (prev_value == old_value); 70 Atomic32 old_value; local 72 old_value = *ptr; 73 } while (pLinuxKernelCmpxchg(old_value, new_value, 75 return old_value; 87 Atomic32 old_value = *ptr local [all...] |
/bionic/libc/private/ |
bionic_atomic_gcc_builtin.h | 31 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) 34 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 40 int32_t old_value; local 42 old_value = *ptr; 43 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value); 44 return old_value;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
atomicops_internals_macosx.h | 43 Atomic32 old_value, 47 if (OSAtomicCompareAndSwap32(old_value, new_value, 49 return old_value; 52 } while (prev_value == old_value); 58 Atomic32 old_value; local 60 old_value = *ptr; 61 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 63 return old_value; 81 Atomic32 old_value, 85 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 149 Atomic64 old_value; local [all...] |
atomicops_internals_arm_qnx.h | 43 inline Atomic32 QNXCmpxchg(Atomic32 old_value, 48 (unsigned)old_value, 54 Atomic32 old_value, 58 if (!QNXCmpxchg(old_value, new_value, 60 return old_value; 63 } while (prev_value == old_value); 69 Atomic32 old_value; local 71 old_value = *ptr; 72 } while (QNXCmpxchg(old_value, new_value, 74 return old_value; 86 Atomic32 old_value = *ptr; local [all...] |
atomicops_internals_arm_gcc.h | 47 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 59 Atomic32 old_value, 63 if (!pLinuxKernelCmpxchg(old_value, new_value, 65 return old_value; 68 } while (prev_value == old_value); 74 Atomic32 old_value; local 76 old_value = *ptr; 77 } while (pLinuxKernelCmpxchg(old_value, new_value, 79 return old_value; 91 Atomic32 old_value = *ptr local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
atomicops-internals-linuxppc.h | 93 static inline bool OSAtomicCompareAndSwap32(Atomic32 old_value, 105 : "r" (value), "r" (old_value), "r" (new_value) 107 return prev == old_value; 110 static inline Atomic32 OSAtomicCompareAndSwap32Acquire(Atomic32 old_value, 114 t = OSAtomicCompareAndSwap32(old_value, new_value, value); 124 static inline Atomic32 OSAtomicCompareAndSwap32Release(Atomic32 old_value, 128 return OSAtomicCompareAndSwap32(old_value, new_value, value); 143 Atomic32 old_value, 147 if (OSAtomicCompareAndSwap32(old_value, new_value, 149 return old_value; 158 Atomic32 old_value; local 289 Atomic64 old_value; local [all...] |
atomicops-internals-macosx.h | 112 Atomic32 old_value, 116 if (OSAtomicCompareAndSwap32(old_value, new_value, 118 return old_value; 121 } while (prev_value == old_value); 127 Atomic32 old_value; local 129 old_value = *ptr; 130 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 132 return old_value; 146 Atomic32 old_value, 150 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 212 Atomic64 old_value; local [all...] |
atomicops-internals-arm-generic.h | 57 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 69 Atomic32 old_value, 73 if (!pLinuxKernelCmpxchg(old_value, new_value, 75 return old_value; 78 } while (prev_value == old_value); 84 Atomic32 old_value; local 86 old_value = *ptr; 87 } while (pLinuxKernelCmpxchg(old_value, new_value, 89 return old_value; 96 Atomic32 old_value = *ptr local [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
atomicops-internals-linuxppc.h | 93 static inline bool OSAtomicCompareAndSwap32(Atomic32 old_value, 105 : "r" (value), "r" (old_value), "r" (new_value) 107 return prev == old_value; 110 static inline Atomic32 OSAtomicCompareAndSwap32Acquire(Atomic32 old_value, 114 t = OSAtomicCompareAndSwap32(old_value, new_value, value); 124 static inline Atomic32 OSAtomicCompareAndSwap32Release(Atomic32 old_value, 128 return OSAtomicCompareAndSwap32(old_value, new_value, value); 143 Atomic32 old_value, 147 if (OSAtomicCompareAndSwap32(old_value, new_value, 149 return old_value; 158 Atomic32 old_value; local 289 Atomic64 old_value; local [all...] |
atomicops-internals-macosx.h | 112 Atomic32 old_value, 116 if (OSAtomicCompareAndSwap32(old_value, new_value, 118 return old_value; 121 } while (prev_value == old_value); 127 Atomic32 old_value; local 129 old_value = *ptr; 130 } while (!OSAtomicCompareAndSwap32(old_value, new_value, 132 return old_value; 146 Atomic32 old_value, 150 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value 212 Atomic64 old_value; local [all...] |
atomicops-internals-arm-generic.h | 57 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 69 Atomic32 old_value, 73 if (!pLinuxKernelCmpxchg(old_value, new_value, 75 return old_value; 78 } while (prev_value == old_value); 84 Atomic32 old_value; local 86 old_value = *ptr; 87 } while (pLinuxKernelCmpxchg(old_value, new_value, 89 return old_value; 96 Atomic32 old_value = *ptr local [all...] |
/external/chromium_org/chrome/browser/value_store/ |
value_store_change.cc | 17 if (it->old_value()) { 18 change_value->Set("oldValue", it->old_value()->DeepCopy()); 31 const std::string& key, Value* old_value, Value* new_value) 32 : inner_(new Inner(key, old_value, new_value)) {} 41 const Value* ValueStoreChange::old_value() const { function in class:ValueStoreChange 52 const std::string& key, base::Value* old_value, base::Value* new_value) 53 : key_(key), old_value_(old_value), new_value_(new_value) {}
|
testing_value_store.cc | 82 Value* old_value = NULL; local 83 if (!storage_.GetWithoutPathExpansion(it.key(), &old_value) || 84 !old_value->Equals(&it.value())) { 88 old_value ? old_value->DeepCopy() : old_value, 109 scoped_ptr<Value> old_value; local 110 if (storage_.RemoveWithoutPathExpansion(*it, &old_value)) { 111 changes->push_back(ValueStoreChange(*it, old_value.release(), NULL));
|
/bionic/libc/include/sys/ |
atomics.h | 50 __atomic_cmpxchg(int old_value, int new_value, volatile int* ptr) 53 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 59 int old_value; local 61 old_value = *ptr; 62 } while (__sync_val_compare_and_swap(ptr, old_value, new_value) != old_value); 63 return old_value;
|
/external/llvm/include/llvm/Support/ |
SaveAndRestore.h | 24 SaveAndRestore(T& x) : X(x), old_value(x) {} 25 SaveAndRestore(T& x, const T &new_value) : X(x), old_value(x) { 28 ~SaveAndRestore() { X = old_value; } 29 T get() { return old_value; } 32 T old_value; member in struct:llvm::SaveAndRestore 39 SaveOr(bool& x) : X(x), old_value(x) { x = false; } 40 ~SaveOr() { X |= old_value; } 43 const bool old_value; member in struct:llvm::SaveOr
|
/system/core/include/cutils/ |
atomic-x86.h | 81 android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) 86 : "q" (new_value), "m" (*ptr), "0" (old_value) 88 return prev != old_value; 92 android_atomic_acquire_cas(int32_t old_value, 97 return android_atomic_cas(old_value, new_value, ptr); 101 android_atomic_release_cas(int32_t old_value, 106 return android_atomic_cas(old_value, new_value, ptr);
|