Home
last modified time | relevance | path

Searched refs:Atomic64 (Results 1 – 20 of 20) sorted by relevance

/external/libchrome/base/
Datomicops.h61 typedef int64_t Atomic64; typedef
63 typedef intptr_t Atomic64; typedef
123 Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr,
124 Atomic64 old_value,
125 Atomic64 new_value);
126 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value);
127 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
128 Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
130 Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr,
131 Atomic64 old_value,
[all …]
Datomicops_internals_x86_msvc.h115 static_assert(sizeof(Atomic64) == sizeof(PVOID), "atomic word is atomic");
117 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
118 Atomic64 old_value, in NoBarrier_CompareAndSwap()
119 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
123 return reinterpret_cast<Atomic64>(result); in NoBarrier_CompareAndSwap()
126 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
127 Atomic64 new_value) { in NoBarrier_AtomicExchange()
131 return reinterpret_cast<Atomic64>(result); in NoBarrier_AtomicExchange()
134 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
135 Atomic64 increment) { in Barrier_AtomicIncrement()
[all …]
Datomicops_internals_portable.h144 typedef volatile std::atomic<Atomic64>* AtomicLocation64;
145 static_assert(sizeof(*(AtomicLocation64) nullptr) == sizeof(Atomic64),
148 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
149 Atomic64 old_value, in NoBarrier_CompareAndSwap()
150 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
159 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
160 Atomic64 new_value) { in NoBarrier_AtomicExchange()
165 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
166 Atomic64 increment) { in NoBarrier_AtomicIncrement()
172 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
[all …]
/external/protobuf/src/google/protobuf/stubs/
Datomicops.h69 typedef intptr_t Atomic64; typedef
72 typedef int64 Atomic64;
83 typedef int64 Atomic64;
85 typedef intptr_t Atomic64;
149 Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr,
150 Atomic64 old_value,
151 Atomic64 new_value);
152 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value);
153 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
154 Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
[all …]
Datomicops_internals_tsan.h129 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64 *ptr, in NoBarrier_CompareAndSwap()
130 Atomic64 old_value, in NoBarrier_CompareAndSwap()
131 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
132 Atomic64 cmp = old_value; in NoBarrier_CompareAndSwap()
138 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64 *ptr, in NoBarrier_AtomicExchange()
139 Atomic64 new_value) { in NoBarrier_AtomicExchange()
143 inline Atomic64 Acquire_AtomicExchange(volatile Atomic64 *ptr, in Acquire_AtomicExchange()
144 Atomic64 new_value) { in Acquire_AtomicExchange()
148 inline Atomic64 Release_AtomicExchange(volatile Atomic64 *ptr, in Release_AtomicExchange()
149 Atomic64 new_value) { in Release_AtomicExchange()
[all …]
Datomicops_internals_mips_gcc.h184 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
185 Atomic64 old_value, in NoBarrier_CompareAndSwap()
186 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
187 Atomic64 prev, tmp; in NoBarrier_CompareAndSwap()
207 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
208 Atomic64 new_value) { in NoBarrier_AtomicExchange()
209 Atomic64 temp, old; in NoBarrier_AtomicExchange()
228 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
229 Atomic64 increment) { in NoBarrier_AtomicIncrement()
230 Atomic64 temp, temp2; in NoBarrier_AtomicIncrement()
[all …]
Datomicops_internals_power.h239 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
240 Atomic64 old_value, in NoBarrier_CompareAndSwap()
241 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
242 Atomic64 result; in NoBarrier_CompareAndSwap()
262 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
263 Atomic64 new_value) { in NoBarrier_AtomicExchange()
264 Atomic64 result; in NoBarrier_AtomicExchange()
279 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
280 Atomic64 increment) { in NoBarrier_AtomicIncrement()
281 Atomic64 result; in NoBarrier_AtomicIncrement()
[all …]
Datomicops_internals_solaris.h117 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
118 Atomic64 old_value, in NoBarrier_CompareAndSwap()
119 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
123 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value) { in NoBarrier_AtomicExchange()
127 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment) { in NoBarrier_AtomicIncrement()
131 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment) { in Barrier_AtomicIncrement()
133 Atomic64 ret = atomic_add_64_nv((volatile uint64_t*)ptr, increment); in Barrier_AtomicIncrement()
138 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap()
139 Atomic64 old_value, in Acquire_CompareAndSwap()
140 Atomic64 new_value) { in Acquire_CompareAndSwap()
[all …]
Datomicops_internals_arm64_gcc.h188 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
189 Atomic64 old_value, in NoBarrier_CompareAndSwap()
190 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
191 Atomic64 prev; in NoBarrier_CompareAndSwap()
213 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
214 Atomic64 new_value) { in NoBarrier_AtomicExchange()
215 Atomic64 result; in NoBarrier_AtomicExchange()
233 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
234 Atomic64 increment) { in NoBarrier_AtomicIncrement()
235 Atomic64 result; in NoBarrier_AtomicIncrement()
[all …]
Datomicops_internals_macosx.h133 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
134 Atomic64 old_value, in NoBarrier_CompareAndSwap()
135 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
136 Atomic64 prev_value; in NoBarrier_CompareAndSwap()
147 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
148 Atomic64 new_value) { in NoBarrier_AtomicExchange()
149 Atomic64 old_value; in NoBarrier_AtomicExchange()
157 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
158 Atomic64 increment) { in NoBarrier_AtomicIncrement()
162 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
[all …]
Datomicops_internals_x86_gcc.h179 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
180 Atomic64 old_value, in NoBarrier_CompareAndSwap()
181 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
182 Atomic64 prev; in NoBarrier_CompareAndSwap()
190 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
191 Atomic64 new_value) { in NoBarrier_AtomicExchange()
199 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
200 Atomic64 increment) { in NoBarrier_AtomicIncrement()
201 Atomic64 temp = increment; in NoBarrier_AtomicIncrement()
209 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
[all …]
Datomicops_internals_pnacl.h144 typedef volatile std::atomic<Atomic64>* AtomicLocation64;
145 static_assert(sizeof(*(AtomicLocation64) nullptr) == sizeof(Atomic64),
148 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
149 Atomic64 old_value, in NoBarrier_CompareAndSwap()
150 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
159 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
160 Atomic64 new_value) { in NoBarrier_AtomicExchange()
165 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
166 Atomic64 increment) { in NoBarrier_AtomicIncrement()
172 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
[all …]
Datomicops_internals_x86_msvc.h93 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement()
94 Atomic64 increment) { in NoBarrier_AtomicIncrement()
98 inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) { in NoBarrier_Store()
102 inline void Acquire_Store(volatile Atomic64* ptr, Atomic64 value) { in Acquire_Store()
107 inline void Release_Store(volatile Atomic64* ptr, Atomic64 value) { in Release_Store()
118 inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) { in NoBarrier_Load()
122 inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) { in Acquire_Load()
123 Atomic64 value = *ptr; in Acquire_Load()
127 inline Atomic64 Release_Load(volatile const Atomic64* ptr) { in Release_Load()
132 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap()
[all …]
Datomicops_internals_x86_msvc.cc81 Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
82 Atomic64 old_value, in NoBarrier_CompareAndSwap()
83 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
87 return reinterpret_cast<Atomic64>(result); in NoBarrier_CompareAndSwap()
90 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange()
91 Atomic64 new_value) { in NoBarrier_AtomicExchange()
95 return reinterpret_cast<Atomic64>(result); in NoBarrier_AtomicExchange()
98 Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
99 Atomic64 increment) { in Barrier_AtomicIncrement()
Datomicops_internals_generic_gcc.h107 inline void Release_Store(volatile Atomic64* ptr, Atomic64 value) { in Release_Store()
111 inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) { in Acquire_Load()
115 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap()
116 Atomic64 old_value, in Acquire_CompareAndSwap()
117 Atomic64 new_value) { in Acquire_CompareAndSwap()
123 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap()
124 Atomic64 old_value, in NoBarrier_CompareAndSwap()
125 Atomic64 new_value) { in NoBarrier_CompareAndSwap()
/external/v8/src/base/
Datomicops.h48 typedef int64_t Atomic64; typedef
50 typedef intptr_t Atomic64; typedef
109 Atomic64 Relaxed_CompareAndSwap(volatile Atomic64* ptr, Atomic64 old_value,
110 Atomic64 new_value);
111 Atomic64 Relaxed_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value);
112 Atomic64 Relaxed_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
113 Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
115 Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr,
116 Atomic64 old_value,
117 Atomic64 new_value);
[all …]
Datomicops_internals_portable.h123 inline Atomic64 Relaxed_CompareAndSwap(volatile Atomic64* ptr, in Relaxed_CompareAndSwap()
124 Atomic64 old_value, Atomic64 new_value) { in Relaxed_CompareAndSwap()
130 inline Atomic64 Relaxed_AtomicExchange(volatile Atomic64* ptr, in Relaxed_AtomicExchange()
131 Atomic64 new_value) { in Relaxed_AtomicExchange()
135 inline Atomic64 Relaxed_AtomicIncrement(volatile Atomic64* ptr, in Relaxed_AtomicIncrement()
136 Atomic64 increment) { in Relaxed_AtomicIncrement()
140 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
141 Atomic64 increment) { in Barrier_AtomicIncrement()
145 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap()
146 Atomic64 old_value, Atomic64 new_value) { in Acquire_CompareAndSwap()
[all …]
Datomicops_internals_std.h116 inline Atomic64 Relaxed_CompareAndSwap(volatile Atomic64* ptr, in Relaxed_CompareAndSwap()
117 Atomic64 old_value, Atomic64 new_value) { in Relaxed_CompareAndSwap()
124 inline Atomic64 Relaxed_AtomicExchange(volatile Atomic64* ptr, in Relaxed_AtomicExchange()
125 Atomic64 new_value) { in Relaxed_AtomicExchange()
130 inline Atomic64 Relaxed_AtomicIncrement(volatile Atomic64* ptr, in Relaxed_AtomicIncrement()
131 Atomic64 increment) { in Relaxed_AtomicIncrement()
137 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement()
138 Atomic64 increment) { in Barrier_AtomicIncrement()
144 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap()
145 Atomic64 old_value, Atomic64 new_value) { in Acquire_CompareAndSwap()
[all …]
/external/libchrome/base/metrics/
Dhistogram_samples.h102 subtle::Atomic64 sum;
/external/v8/
DChangeLog45282 Fixed x32 handling of Atomic64. (Chromium issue chromium-os:36866)