/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_ppc_gcc.h | 45 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32 *ptr, in NoBarrier_CompareAndSwap() 46 Atomic32 old_value, in NoBarrier_CompareAndSwap() 47 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 48 Atomic32 prev; in NoBarrier_CompareAndSwap() 65 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32 *ptr, in NoBarrier_AtomicExchange() 66 Atomic32 new_value) { in NoBarrier_AtomicExchange() 67 Atomic32 old; in NoBarrier_AtomicExchange() 81 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, in NoBarrier_AtomicIncrement() 82 Atomic32 increment) { in NoBarrier_AtomicIncrement() 83 Atomic32 temp; in NoBarrier_AtomicIncrement() [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_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.h | 68 typedef int32 Atomic32; typedef 71 typedef intptr_t Atomic32; 75 typedef int32 Atomic32; 104 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, 105 Atomic32 old_value, 106 Atomic32 new_value); 110 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 114 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment); 116 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 117 Atomic32 increment); [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_power.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() 41 Atomic32 result; in NoBarrier_CompareAndSwap() 60 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 61 Atomic32 new_value) { in NoBarrier_AtomicExchange() 62 Atomic32 result; in NoBarrier_AtomicExchange() 77 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() 78 Atomic32 increment) { in NoBarrier_AtomicIncrement() 79 Atomic32 result; in NoBarrier_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_pnacl.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 …]
|
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_x86_msvc.cc | 52 Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() 53 Atomic32 old_value, in NoBarrier_CompareAndSwap() 54 Atomic32 new_value) { in NoBarrier_CompareAndSwap() 59 return static_cast<Atomic32>(result); in NoBarrier_CompareAndSwap() 62 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() 63 Atomic32 new_value) { in NoBarrier_AtomicExchange() 67 return static_cast<Atomic32>(result); in NoBarrier_AtomicExchange() 70 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 71 Atomic32 increment) { in Barrier_AtomicIncrement()
|
D | atomicops_internals_atomicword_compat.h | 57 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 63 reinterpret_cast<volatile Atomic32*>(ptr), new_value); in NoBarrier_AtomicExchange() 69 reinterpret_cast<volatile Atomic32*>(ptr), increment); in NoBarrier_AtomicIncrement() 75 reinterpret_cast<volatile Atomic32*>(ptr), increment); in Barrier_AtomicIncrement() 82 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 89 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap() 93 NoBarrier_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); in NoBarrier_Store() 97 return Acquire_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); in Acquire_Store() 101 return Release_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); in Release_Store() 105 return NoBarrier_Load(reinterpret_cast<volatile const Atomic32*>(ptr)); in NoBarrier_Load() [all …]
|
/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 …]
|
D | atomicops_internals_atomicword_compat.h | 34 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 40 reinterpret_cast<volatile Atomic32*>(ptr), new_value); in NoBarrier_AtomicExchange() 46 reinterpret_cast<volatile Atomic32*>(ptr), increment); in NoBarrier_AtomicIncrement() 52 reinterpret_cast<volatile Atomic32*>(ptr), increment); in Barrier_AtomicIncrement() 59 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 66 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap() 71 reinterpret_cast<volatile Atomic32*>(ptr), value); in NoBarrier_Store() 76 reinterpret_cast<volatile Atomic32*>(ptr), value); in Acquire_Store() 81 reinterpret_cast<volatile Atomic32*>(ptr), value); in Release_Store() 86 reinterpret_cast<volatile const Atomic32*>(ptr)); in NoBarrier_Load() [all …]
|
/external/v8/src/base/ |
D | atomicops.h | 43 typedef int32_t Atomic32; typedef 68 Atomic32 Relaxed_CompareAndSwap(volatile Atomic32* ptr, Atomic32 old_value, 69 Atomic32 new_value); 73 Atomic32 Relaxed_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 77 Atomic32 Relaxed_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment); 79 Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, 80 Atomic32 increment); 91 Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, 92 Atomic32 old_value, 93 Atomic32 new_value); [all …]
|
D | atomicops_internals_portable.h | 53 inline Atomic32 Relaxed_CompareAndSwap(volatile Atomic32* ptr, in Relaxed_CompareAndSwap() 54 Atomic32 old_value, Atomic32 new_value) { in Relaxed_CompareAndSwap() 60 inline Atomic32 Relaxed_AtomicExchange(volatile Atomic32* ptr, in Relaxed_AtomicExchange() 61 Atomic32 new_value) { in Relaxed_AtomicExchange() 65 inline Atomic32 Relaxed_AtomicIncrement(volatile Atomic32* ptr, in Relaxed_AtomicIncrement() 66 Atomic32 increment) { in Relaxed_AtomicIncrement() 70 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 71 Atomic32 increment) { in Barrier_AtomicIncrement() 75 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() 76 Atomic32 old_value, Atomic32 new_value) { in Acquire_CompareAndSwap() [all …]
|
D | atomicops_internals_std.h | 31 inline Atomic32 Relaxed_CompareAndSwap(volatile Atomic32* ptr, in Relaxed_CompareAndSwap() 32 Atomic32 old_value, Atomic32 new_value) { in Relaxed_CompareAndSwap() 39 inline Atomic32 Relaxed_AtomicExchange(volatile Atomic32* ptr, in Relaxed_AtomicExchange() 40 Atomic32 new_value) { in Relaxed_AtomicExchange() 45 inline Atomic32 Relaxed_AtomicIncrement(volatile Atomic32* ptr, in Relaxed_AtomicIncrement() 46 Atomic32 increment) { in Relaxed_AtomicIncrement() 52 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() 53 Atomic32 increment) { in Barrier_AtomicIncrement() 59 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() 60 Atomic32 old_value, Atomic32 new_value) { in Acquire_CompareAndSwap() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | atomic32_mac.cc | 21 Atomic32::Atomic32(int32_t initial_value) in Atomic32() function in webrtc::Atomic32 26 Atomic32::~Atomic32() { in ~Atomic32() 29 int32_t Atomic32::operator++() { in operator ++() 33 int32_t Atomic32::operator--() { in operator --() 37 int32_t Atomic32::operator+=(int32_t value) { in operator +=() 41 int32_t Atomic32::operator-=(int32_t value) { in operator -=() 45 bool Atomic32::CompareExchange(int32_t new_value, int32_t compare_value) { in CompareExchange()
|
D | atomic32_posix.cc | 21 Atomic32::Atomic32(int32_t initial_value) in Atomic32() function in webrtc::Atomic32 26 Atomic32::~Atomic32() { in ~Atomic32() 29 int32_t Atomic32::operator++() { in operator ++() 33 int32_t Atomic32::operator--() { in operator --() 37 int32_t Atomic32::operator+=(int32_t value) { in operator +=() 43 int32_t Atomic32::operator-=(int32_t value) { in operator -=() 49 bool Atomic32::CompareExchange(int32_t new_value, int32_t compare_value) { in CompareExchange()
|