/external/v8/src/base/ |
D | atomicops_internals_arm_gcc.h | 69 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 88 : "r"(ptr), "r"(old_value), "r"(new_value) in NoBarrier_CompareAndSwap() 95 Atomic32 old_value, in Acquire_CompareAndSwap() argument 97 Atomic32 result = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 103 Atomic32 old_value, in Release_CompareAndSwap() argument 106 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 143 Atomic32 old_value; in NoBarrier_AtomicExchange() local 150 : "=&r"(old_value), "=&r"(reloop), "+m"(*ptr) in NoBarrier_AtomicExchange() 154 return old_value; in NoBarrier_AtomicExchange() 175 inline int LinuxKernelCmpxchg(Atomic32 old_value, in LinuxKernelCmpxchg() argument [all …]
|
D | atomicops_internals_mac.h | 16 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 20 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap() 22 return old_value; in NoBarrier_CompareAndSwap() 25 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 31 Atomic32 old_value; in NoBarrier_AtomicExchange() local 33 old_value = *ptr; in NoBarrier_AtomicExchange() 34 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange() 36 return old_value; in NoBarrier_AtomicExchange() 54 Atomic32 old_value, in Acquire_CompareAndSwap() argument 58 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_arm64_gcc.h | 26 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 42 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 103 Atomic32 old_value, in Acquire_CompareAndSwap() argument 107 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 114 Atomic32 old_value, in Release_CompareAndSwap() argument 119 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 176 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 192 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 253 Atomic64 old_value, in Acquire_CompareAndSwap() argument 257 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_msvc.h | 26 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 31 static_cast<LONG>(old_value)); in NoBarrier_CompareAndSwap() 69 Atomic32 old_value, in Acquire_CompareAndSwap() argument 71 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 75 Atomic32 old_value, in Release_CompareAndSwap() argument 77 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 123 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 127 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); in NoBarrier_CompareAndSwap() 186 Atomic64 old_value, in Acquire_CompareAndSwap() argument 188 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_mips64_gcc.h | 47 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 62 : "r" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 125 Atomic32 old_value, in Acquire_CompareAndSwap() argument 127 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 133 Atomic32 old_value, in Release_CompareAndSwap() argument 136 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 184 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 199 : "r" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 262 Atomic64 old_value, in Acquire_CompareAndSwap() argument 264 Atomic64 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_gcc.h | 31 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 36 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 74 Atomic32 old_value, in Acquire_CompareAndSwap() argument 76 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 84 Atomic32 old_value, in Release_CompareAndSwap() argument 86 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 163 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 168 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 253 Atomic64 old_value, in Acquire_CompareAndSwap() argument 255 Atomic64 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_atomicword_compat.h | 27 AtomicWord old_value, in NoBarrier_CompareAndSwap() argument 30 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 52 AtomicWord old_value, in Acquire_CompareAndSwap() argument 55 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 59 AtomicWord old_value, in Release_CompareAndSwap() argument 62 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
|
D | atomicops_internals_mips_gcc.h | 24 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 39 : "r" (old_value), "r" (new_value), "r" (ptr) in NoBarrier_CompareAndSwap() 103 Atomic32 old_value, in Acquire_CompareAndSwap() argument 105 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 111 Atomic32 old_value, in Release_CompareAndSwap() argument 114 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
|
D | atomicops.h | 70 Atomic32 old_value, 94 Atomic32 old_value, 97 Atomic32 old_value, 114 Atomic64 old_value, 121 Atomic64 old_value, 124 Atomic64 old_value,
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_macosx.h | 43 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 47 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap() 49 return old_value; in NoBarrier_CompareAndSwap() 52 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 58 Atomic32 old_value; in NoBarrier_AtomicExchange() local 60 old_value = *ptr; in NoBarrier_AtomicExchange() 61 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange() 63 return old_value; in NoBarrier_AtomicExchange() 81 Atomic32 old_value, in Acquire_CompareAndSwap() argument 85 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_arm_qnx.h | 43 inline Atomic32 QNXCmpxchg(Atomic32 old_value, in QNXCmpxchg() argument 48 (unsigned)old_value, in QNXCmpxchg() 54 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 58 if (!QNXCmpxchg(old_value, new_value, in NoBarrier_CompareAndSwap() 60 return old_value; in NoBarrier_CompareAndSwap() 63 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 69 Atomic32 old_value; in NoBarrier_AtomicExchange() local 71 old_value = *ptr; in NoBarrier_AtomicExchange() 72 } while (QNXCmpxchg(old_value, new_value, in NoBarrier_AtomicExchange() 74 return old_value; in NoBarrier_AtomicExchange() [all …]
|
D | atomicops_internals_arm_gcc.h | 47 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 59 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 63 if (!pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_CompareAndSwap() 65 return old_value; in NoBarrier_CompareAndSwap() 68 } while (prev_value == old_value); in NoBarrier_CompareAndSwap() 74 Atomic32 old_value; in NoBarrier_AtomicExchange() local 76 old_value = *ptr; in NoBarrier_AtomicExchange() 77 } while (pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_AtomicExchange() 79 return old_value; in NoBarrier_AtomicExchange() 91 Atomic32 old_value = *ptr; in Barrier_AtomicIncrement() local [all …]
|
D | atomicops_internals_generic_gcc.h | 39 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 41 __atomic_compare_exchange_n(ptr, &old_value, new_value, true, in NoBarrier_CompareAndSwap() 43 return old_value; in NoBarrier_CompareAndSwap() 62 Atomic32 old_value, in Acquire_CompareAndSwap() argument 64 __atomic_compare_exchange(ptr, &old_value, &new_value, true, in Acquire_CompareAndSwap() 66 return old_value; in Acquire_CompareAndSwap() 70 Atomic32 old_value, in Release_CompareAndSwap() argument 72 __atomic_compare_exchange_n(ptr, &old_value, new_value, true, in Release_CompareAndSwap() 74 return old_value; in Release_CompareAndSwap() 116 Atomic64 old_value, in Acquire_CompareAndSwap() argument [all …]
|
D | atomicops_internals_arm64_gcc.h | 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 69 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 128 Atomic32 old_value, in Acquire_CompareAndSwap() argument 130 Atomic32 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 137 Atomic32 old_value, in Release_CompareAndSwap() argument 140 Atomic32 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 189 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 205 : [old_value]"IJr" (old_value), in NoBarrier_CompareAndSwap() 264 Atomic64 old_value, in Acquire_CompareAndSwap() argument 266 Atomic64 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_solaris.h | 42 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 44 return (Atomic32)atomic_cas_32((volatile uint32_t*)ptr, (uint32_t)old_value, (uint32_t)new_value); in NoBarrier_CompareAndSwap() 72 Atomic32 old_value, in Acquire_CompareAndSwap() argument 74 Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 81 Atomic32 old_value, in Release_CompareAndSwap() argument 84 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 118 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 120 return atomic_cas_64((volatile uint64_t*)ptr, (uint64_t)old_value, (uint64_t)new_value); in NoBarrier_CompareAndSwap() 139 Atomic64 old_value, in Acquire_CompareAndSwap() argument 141 Atomic64 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_mips_gcc.h | 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 68 : "Ir" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 131 Atomic32 old_value, in Acquire_CompareAndSwap() argument 134 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 140 Atomic32 old_value, in Release_CompareAndSwap() argument 143 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 185 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 200 : "Ir" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap() 263 Atomic64 old_value, in Acquire_CompareAndSwap() argument 265 Atomic64 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_gcc.h | 56 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 61 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 99 Atomic32 old_value, in Acquire_CompareAndSwap() argument 101 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 109 Atomic32 old_value, in Release_CompareAndSwap() argument 111 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 180 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 185 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap() 270 Atomic64 old_value, in Acquire_CompareAndSwap() argument 272 Atomic64 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_tsan.h | 47 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 49 Atomic32 cmp = old_value; in NoBarrier_CompareAndSwap() 86 Atomic32 old_value, in Acquire_CompareAndSwap() argument 88 Atomic32 cmp = old_value; in Acquire_CompareAndSwap() 95 Atomic32 old_value, in Release_CompareAndSwap() argument 97 Atomic32 cmp = old_value; in Release_CompareAndSwap() 130 Atomic64 old_value, in NoBarrier_CompareAndSwap() argument 132 Atomic64 cmp = old_value; in NoBarrier_CompareAndSwap() 192 Atomic64 old_value, in Acquire_CompareAndSwap() argument 194 Atomic64 cmp = old_value; in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_msvc.h | 50 Atomic32 old_value, in Acquire_CompareAndSwap() argument 52 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 56 Atomic32 old_value, in Release_CompareAndSwap() argument 58 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap() 133 Atomic64 old_value, in Acquire_CompareAndSwap() argument 135 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 139 Atomic64 old_value, in Release_CompareAndSwap() argument 141 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
|
D | atomicops_internals_atomicword_compat.h | 54 AtomicWord old_value, in NoBarrier_CompareAndSwap() argument 57 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 79 AtomicWord old_value, in Acquire_CompareAndSwap() argument 82 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 86 AtomicWord old_value, in Release_CompareAndSwap() argument 89 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
|
D | atomicops.h | 94 Atomic32 old_value, 118 Atomic32 old_value, 121 Atomic32 old_value, 139 Atomic64 old_value, 146 Atomic64 old_value, 149 Atomic64 old_value,
|
D | atomicops_internals_pnacl.h | 41 Atomic32 old_value, in NoBarrier_CompareAndSwap() argument 43 return __sync_val_compare_and_swap(ptr, old_value, new_value); in NoBarrier_CompareAndSwap() 51 Atomic32 old_value, in Acquire_CompareAndSwap() argument 53 Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
|
/external/compiler-rt/lib/BlocksRuntime/ |
D | runtime.c | 105 unsigned long int old_value = *(volatile unsigned long int *)where; 106 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { 109 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) { 110 return old_value+1; 118 int old_value = *(volatile int *)where; in latching_incr_int() local 119 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { in latching_incr_int() 122 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { in latching_incr_int() 123 return old_value+1; in latching_incr_int() 131 unsigned long int old_value = *(volatile int *)where; 132 if ((old_value & BLOCK_REFCOUNT_MASK) == BLOCK_REFCOUNT_MASK) { [all …]
|
/external/lldb/include/lldb/Target/ |
D | ThreadPlanTracer.h | 57 bool old_value = m_enabled; in EnableTracing() local 59 if (old_value == false && value == true) in EnableTracing() 61 else if (old_value == true && value == false) in EnableTracing() 64 return old_value; in EnableTracing() 76 bool old_value = m_single_step; in EnableSingleStep() local 78 return old_value; in EnableSingleStep()
|
/external/lldb/include/lldb/Host/ |
D | Predicate.h | 127 const T old_value = m_value; in SetValue() local 130 Broadcast(old_value, broadcast_type); in SetValue() 155 const T old_value = m_value; in SetValueBits() local 158 Broadcast(old_value, broadcast_type); in SetValueBits() 183 const T old_value = m_value; in ResetValueBits() local 186 Broadcast(old_value, broadcast_type); in ResetValueBits() 492 Broadcast (T old_value, PredicateBroadcastType broadcast_type) in Broadcast() argument 494 …cast_type == eBroadcastAlways) || ((broadcast_type == eBroadcastOnChange) && old_value != m_value); in Broadcast() 496 …roadcast_type = %i) m_value = 0x%8.8x, broadcast = %u\n", __FUNCTION__, old_value, broadcast_type,… in Broadcast()
|