/external/v8/src/base/ |
D | atomicops_internals_arm_gcc.h | 69 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 70 Atomic32 old_value, in NoBarrier_CompareAndSwap() 71 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 72 Atomic32 prev_value; in NoBarrier_CompareAndSwap() 95 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() 96 Atomic32 old_value, in Acquire_CompareAndSwap() 97 Atomic32 new_value) { in Acquire_CompareAndSwap() 98 Atomic32 result = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 103 inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, in Release_CompareAndSwap() 104 Atomic32 old_value, in Release_CompareAndSwap() [all …]
|
D | atomicops_internals_mips_gcc.h | 23 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 24 Atomic32 old_value, in NoBarrier_CompareAndSwap() 25 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 26 Atomic32 prev, tmp; in NoBarrier_CompareAndSwap() 46 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 47 Atomic32 new_value) { in NoBarrier_AtomicExchange() 48 Atomic32 temp, old; in NoBarrier_AtomicExchange() 68 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 69 Atomic32 increment) { in NoBarrier_AtomicIncrement() 70 Atomic32 temp, temp2; in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_mac.h | 29 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 30 Atomic32 old_value, in NoBarrier_CompareAndSwap() 31 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 32 Atomic32 prev_value; in NoBarrier_CompareAndSwap() 35 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap() 43 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 44 Atomic32 new_value) { in NoBarrier_AtomicExchange() 45 Atomic32 old_value; in NoBarrier_AtomicExchange() 49 const_cast<Atomic32*>(ptr))); in NoBarrier_AtomicExchange() 53 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops.h | 44 typedef int32_t Atomic32; typedef 71 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 72 Atomic32 old_value, 73 Atomic32 new_value); 77 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 81 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment); 83 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 84 Atomic32 increment); 95 Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, 96 Atomic32 old_value, [all …]
|
D | atomicops_internals_mips64_gcc.h | 46 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 47 Atomic32 old_value, in NoBarrier_CompareAndSwap() 48 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 49 Atomic32 prev, tmp; in NoBarrier_CompareAndSwap() 69 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 70 Atomic32 new_value) { in NoBarrier_AtomicExchange() 71 Atomic32 temp, old; in NoBarrier_AtomicExchange() 90 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 91 Atomic32 increment) { in NoBarrier_AtomicIncrement() 92 Atomic32 temp, temp2; in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_x86_gcc.h | 30 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 31 Atomic32 old_value, in NoBarrier_CompareAndSwap() 32 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 33 Atomic32 prev; in NoBarrier_CompareAndSwap() 41 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 42 Atomic32 new_value) { in NoBarrier_AtomicExchange() 50 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 51 Atomic32 increment) { in NoBarrier_AtomicIncrement() 52 Atomic32 temp = increment; in NoBarrier_AtomicIncrement() 60 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() [all …]
|
D | atomicops_internals_ppc_gcc.h | 14 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 15 Atomic32 old_value, in NoBarrier_CompareAndSwap() 16 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 20 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 21 Atomic32 new_value) { in NoBarrier_AtomicExchange() 22 Atomic32 old_value; in NoBarrier_AtomicExchange() 29 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 30 Atomic32 increment) { in NoBarrier_AtomicIncrement() 34 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 35 Atomic32 increment) { in Barrier_AtomicIncrement() [all …]
|
D | atomicops_internals_portable.h | 15 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 16 Atomic32 old_value, in NoBarrier_CompareAndSwap() 17 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 21 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 22 Atomic32 new_value) { in NoBarrier_AtomicExchange() 26 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 27 Atomic32 increment) { in NoBarrier_AtomicIncrement() 31 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 32 Atomic32 increment) { in Barrier_AtomicIncrement() 36 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_x86_msvc.h | 25 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 26 Atomic32 old_value, in NoBarrier_CompareAndSwap() 27 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 32 return static_cast<Atomic32>(result); in NoBarrier_CompareAndSwap() 35 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 36 Atomic32 new_value) { in NoBarrier_AtomicExchange() 40 return static_cast<Atomic32>(result); in NoBarrier_AtomicExchange() 43 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 44 Atomic32 increment) { in Barrier_AtomicIncrement() 50 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_arm64_gcc.h | 25 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 26 Atomic32 old_value, in NoBarrier_CompareAndSwap() 27 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 28 Atomic32 prev; in NoBarrier_CompareAndSwap() 50 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 51 Atomic32 new_value) { in NoBarrier_AtomicExchange() 52 Atomic32 result; in NoBarrier_AtomicExchange() 70 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 71 Atomic32 increment) { in NoBarrier_AtomicIncrement() 72 Atomic32 result; in NoBarrier_AtomicIncrement() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_arm_qnx.h | 43 inline Atomic32 QNXCmpxchg(Atomic32 old_value, in QNXCmpxchg() 44 Atomic32 new_value, in QNXCmpxchg() 45 volatile Atomic32* ptr) { in QNXCmpxchg() 46 return static_cast<Atomic32>( in QNXCmpxchg() 53 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 54 Atomic32 old_value, in NoBarrier_CompareAndSwap() 55 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 56 Atomic32 prev_value = *ptr; in NoBarrier_CompareAndSwap() 59 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap() 67 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() [all …]
|
D | atomicops_internals_arm_gcc.h | 47 typedef Atomic32 (*LinuxKernelCmpxchgFunc)(Atomic32 old_value, 48 Atomic32 new_value, 49 volatile Atomic32* ptr); 58 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 59 Atomic32 old_value, in NoBarrier_CompareAndSwap() 60 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 61 Atomic32 prev_value = *ptr; in NoBarrier_CompareAndSwap() 64 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap() 72 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 73 Atomic32 new_value) { in NoBarrier_AtomicExchange() [all …]
|
D | atomicops_internals_generic_gcc.h | 38 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 39 Atomic32 old_value, in NoBarrier_CompareAndSwap() 40 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 46 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 47 Atomic32 new_value) { in NoBarrier_AtomicExchange() 51 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 52 Atomic32 increment) { in NoBarrier_AtomicIncrement() 56 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 57 Atomic32 increment) { in Barrier_AtomicIncrement() 61 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_macosx.h | 42 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 43 Atomic32 old_value, in NoBarrier_CompareAndSwap() 44 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 45 Atomic32 prev_value; in NoBarrier_CompareAndSwap() 48 const_cast<Atomic32*>(ptr))) { in NoBarrier_CompareAndSwap() 56 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 57 Atomic32 new_value) { in NoBarrier_AtomicExchange() 58 Atomic32 old_value; in NoBarrier_AtomicExchange() 62 const_cast<Atomic32*>(ptr))); in NoBarrier_AtomicExchange() 66 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_solaris.h | 41 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 42 Atomic32 old_value, in NoBarrier_CompareAndSwap() 43 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 44 return (Atomic32)atomic_cas_32((volatile uint32_t*)ptr, (uint32_t)old_value, (uint32_t)new_value); in NoBarrier_CompareAndSwap() 47 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 48 Atomic32 new_value) { in NoBarrier_AtomicExchange() 49 return (Atomic32)atomic_swap_32((volatile uint32_t*)ptr, (uint32_t)new_value); in NoBarrier_AtomicExchange() 52 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 53 Atomic32 increment) { in NoBarrier_AtomicIncrement() 54 return (Atomic32)atomic_add_32_nv((volatile uint32_t*)ptr, (uint32_t)increment); in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops.h | 65 typedef int32 Atomic32; typedef 93 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 94 Atomic32 old_value, 95 Atomic32 new_value); 99 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 103 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment); 105 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 106 Atomic32 increment); 117 Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, 118 Atomic32 old_value, [all …]
|
D | atomicops_internals_mips_gcc.h | 52 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() 54 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 55 Atomic32 prev, tmp; in NoBarrier_CompareAndSwap() 75 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 76 Atomic32 new_value) { in NoBarrier_AtomicExchange() 77 Atomic32 temp, old; in NoBarrier_AtomicExchange() 96 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 97 Atomic32 increment) { in NoBarrier_AtomicIncrement() 98 Atomic32 temp, temp2; in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_tsan.h | 46 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32 *ptr, in NoBarrier_CompareAndSwap() 47 Atomic32 old_value, in NoBarrier_CompareAndSwap() 48 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 49 Atomic32 cmp = old_value; in NoBarrier_CompareAndSwap() 55 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32 *ptr, in NoBarrier_AtomicExchange() 56 Atomic32 new_value) { in NoBarrier_AtomicExchange() 61 inline Atomic32 Acquire_AtomicExchange(volatile Atomic32 *ptr, in Acquire_AtomicExchange() 62 Atomic32 new_value) { in Acquire_AtomicExchange() 67 inline Atomic32 Release_AtomicExchange(volatile Atomic32 *ptr, in Release_AtomicExchange() 68 Atomic32 new_value) { in Release_AtomicExchange() [all …]
|
D | atomicops_internals_x86_gcc.h | 55 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 56 Atomic32 old_value, in NoBarrier_CompareAndSwap() 57 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 58 Atomic32 prev; in NoBarrier_CompareAndSwap() 66 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 67 Atomic32 new_value) { in NoBarrier_AtomicExchange() 75 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 76 Atomic32 increment) { in NoBarrier_AtomicIncrement() 77 Atomic32 temp = increment; in NoBarrier_AtomicIncrement() 85 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() [all …]
|
D | atomicops_internals_arm64_gcc.h | 52 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() 54 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 55 Atomic32 prev; in NoBarrier_CompareAndSwap() 77 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 78 Atomic32 new_value) { in NoBarrier_AtomicExchange() 79 Atomic32 result; in NoBarrier_AtomicExchange() 97 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 98 Atomic32 increment) { in NoBarrier_AtomicIncrement() 99 Atomic32 result; in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_x86_msvc.h | 40 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 41 Atomic32 increment) { in NoBarrier_AtomicIncrement() 49 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() 50 Atomic32 old_value, in Acquire_CompareAndSwap() 51 Atomic32 new_value) { in Acquire_CompareAndSwap() 55 inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, in Release_CompareAndSwap() 56 Atomic32 old_value, in Release_CompareAndSwap() 57 Atomic32 new_value) { in Release_CompareAndSwap() 61 inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) { in NoBarrier_Store() 65 inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) { in Acquire_Store() [all …]
|
D | atomicops_internals_pnacl.h | 40 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 41 Atomic32 old_value, in NoBarrier_CompareAndSwap() 42 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 50 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() 51 Atomic32 old_value, in Acquire_CompareAndSwap() 52 Atomic32 new_value) { in Acquire_CompareAndSwap() 53 Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap() 58 inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { in Release_Store() 63 inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) { in Acquire_Load() 64 Atomic32 value = *ptr; in Acquire_Load()
|
/external/libchrome/base/ |
D | atomicops.h | 54 typedef int32_t Atomic32; typedef 81 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 82 Atomic32 old_value, 83 Atomic32 new_value); 87 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 91 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment); 93 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 94 Atomic32 increment); 105 Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, 106 Atomic32 old_value, [all …]
|
D | atomicops_internals_x86_msvc.h | 29 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 30 Atomic32 old_value, in NoBarrier_CompareAndSwap() 31 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 36 return static_cast<Atomic32>(result); in NoBarrier_CompareAndSwap() 39 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 40 Atomic32 new_value) { in NoBarrier_AtomicExchange() 44 return static_cast<Atomic32>(result); in NoBarrier_AtomicExchange() 47 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 48 Atomic32 increment) { in Barrier_AtomicIncrement() 54 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() [all …]
|
D | atomicops_internals_portable.h | 51 typedef volatile std::atomic<Atomic32>* AtomicLocation32; 52 static_assert(sizeof(*(AtomicLocation32) nullptr) == sizeof(Atomic32), 65 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 66 Atomic32 old_value, in NoBarrier_CompareAndSwap() 67 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 76 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 77 Atomic32 new_value) { in NoBarrier_AtomicExchange() 82 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 83 Atomic32 increment) { in NoBarrier_AtomicIncrement() 89 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() [all …]
|