Home
last modified time | relevance | path

Searched refs:AtomicWord (Results 1 – 25 of 38) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Datomicops_internals_atomicword_compat.h53 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, in NoBarrier_CompareAndSwap()
54 AtomicWord old_value, in NoBarrier_CompareAndSwap()
55 AtomicWord new_value) { in NoBarrier_CompareAndSwap()
60 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, in NoBarrier_AtomicExchange()
61 AtomicWord new_value) { in NoBarrier_AtomicExchange()
66 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement()
67 AtomicWord increment) { in NoBarrier_AtomicIncrement()
72 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, in Barrier_AtomicIncrement()
73 AtomicWord increment) { in Barrier_AtomicIncrement()
78 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr, in Acquire_CompareAndSwap()
[all …]
Donce.cc66 internal::AtomicWord state = internal::Acquire_Load(once); in GoogleOnceInitImpl()
/external/libchrome/base/
Datomicops_internals_atomicword_compat.h30 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, in NoBarrier_CompareAndSwap()
31 AtomicWord old_value, in NoBarrier_CompareAndSwap()
32 AtomicWord new_value) { in NoBarrier_CompareAndSwap()
37 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, in NoBarrier_AtomicExchange()
38 AtomicWord new_value) { in NoBarrier_AtomicExchange()
43 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement()
44 AtomicWord increment) { in NoBarrier_AtomicIncrement()
49 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, in Barrier_AtomicIncrement()
50 AtomicWord increment) { in Barrier_AtomicIncrement()
55 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr, in Acquire_CompareAndSwap()
[all …]
Dlazy_instance.h108 static const subtle::AtomicWord kLazyInstanceStateCreating = 1;
113 BASE_EXPORT bool NeedsLazyInstance(subtle::AtomicWord* state);
117 BASE_EXPORT void CompleteLazyInstance(subtle::AtomicWord* state,
118 subtle::AtomicWord new_instance,
150 static const subtle::AtomicWord kLazyInstanceCreatedMask = in Pointer()
160 subtle::AtomicWord value = subtle::Acquire_Load(&private_instance_); in Pointer()
164 value = reinterpret_cast<subtle::AtomicWord>( in Pointer()
187 subtle::AtomicWord private_instance_;
Dlazy_instance.cc16 bool NeedsLazyInstance(subtle::AtomicWord* state) { in NeedsLazyInstance()
39 void CompleteLazyInstance(subtle::AtomicWord* state, in CompleteLazyInstance()
40 subtle::AtomicWord new_instance, in CompleteLazyInstance()
Datomicops_unittest.cc222 TestAtomicIncrement<base::subtle::AtomicWord>(); in TEST()
227 TestCompareAndSwap<base::subtle::AtomicWord>(); in TEST()
232 TestAtomicExchange<base::subtle::AtomicWord>(); in TEST()
237 TestAtomicIncrementBounds<base::subtle::AtomicWord>(); in TEST()
242 TestStore<base::subtle::AtomicWord>(); in TEST()
247 TestLoad<base::subtle::AtomicWord>(); in TEST()
/external/v8/src/base/
Datomicops_internals_atomicword_compat.h26 inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, in NoBarrier_CompareAndSwap()
27 AtomicWord old_value, in NoBarrier_CompareAndSwap()
28 AtomicWord new_value) { in NoBarrier_CompareAndSwap()
33 inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, in NoBarrier_AtomicExchange()
34 AtomicWord new_value) { in NoBarrier_AtomicExchange()
39 inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, in NoBarrier_AtomicIncrement()
40 AtomicWord increment) { in NoBarrier_AtomicIncrement()
45 inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, in Barrier_AtomicIncrement()
46 AtomicWord increment) { in Barrier_AtomicIncrement()
51 inline AtomicWord Acquire_CompareAndSwap(volatile AtomicWord* ptr, in Acquire_CompareAndSwap()
[all …]
Donce.cc19 AtomicWord state = Acquire_Load(once); in CallOnceImpl()
Donce.h62 typedef AtomicWord OnceType;
/external/v8/src/
Datomic-utils.h25 &value_, static_cast<base::AtomicWord>(increment))); in Increment()
31 base::Release_Store(&value_, static_cast<base::AtomicWord>(new_value)); in SetValue()
40 STATIC_ASSERT(sizeof(T) <= sizeof(base::AtomicWord));
42 base::AtomicWord value_;
71 STATIC_ASSERT(sizeof(T) <= sizeof(base::AtomicWord));
75 static base::AtomicWord to_storage_type(S value) { in to_storage_type()
76 return static_cast<base::AtomicWord>(value); in to_storage_type()
78 static S to_return_type(base::AtomicWord value) { in to_return_type()
85 static base::AtomicWord to_storage_type(S* value) {
86 return reinterpret_cast<base::AtomicWord>(value);
[all …]
Dexecution.h201 base::AtomicWord jslimit_;
202 base::AtomicWord climit_;
209 static_cast<base::AtomicWord>(limit)); in set_jslimit()
216 static_cast<base::AtomicWord>(limit)); in set_climit()
Doptimizing-compile-dispatcher.cc171 base::Release_Store(&mode_, static_cast<base::AtomicWord>(FLUSH)); in Flush()
176 base::Release_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); in Flush()
187 base::Release_Store(&mode_, static_cast<base::AtomicWord>(FLUSH)); in Stop()
192 base::Release_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); in Stop()
Doptimizing-compile-dispatcher.h38 base::NoBarrier_Store(&mode_, static_cast<base::AtomicWord>(COMPILE)); in OptimizingCompileDispatcher()
116 volatile base::AtomicWord mode_;
/external/libchrome/base/memory/
Dsingleton.h34 static const subtle::AtomicWord kBeingCreatedMarker = 1;
38 BASE_EXPORT subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance);
238 subtle::AtomicWord value = subtle::Acquire_Load(&instance_); in get()
253 reinterpret_cast<subtle::AtomicWord>(newval)); in get()
276 static subtle::AtomicWord instance_;
280 subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::instance_ = 0;
Dsingleton.cc11 subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance) { in WaitForInstance()
19 subtle::AtomicWord value; in WaitForInstance()
/external/libchrome/base/trace_event/
Dtrace_event_synthetic_delay.h43 static base::subtle::AtomicWord INTERNAL_TRACE_EVENT_UID(impl_ptr) = 0; \
52 static base::subtle::AtomicWord impl_ptr = 0; \
61 static base::subtle::AtomicWord impl_ptr = 0; \
151 base::subtle::AtomicWord* impl_ptr);
163 GetOrCreateDelay(const char* name, base::subtle::AtomicWord* impl_ptr);
Dtrace_event_synthetic_delay.cc206 base::subtle::AtomicWord* impl_ptr) in ScopedSyntheticDelay()
217 base::subtle::AtomicWord* impl_ptr) { in GetOrCreateDelay()
226 impl_ptr, reinterpret_cast<base::subtle::AtomicWord>(delay_impl)); in GetOrCreateDelay()
Dtrace_log.h439 subtle::AtomicWord /* EventCallback */ event_callback_;
464 subtle::AtomicWord /* const unsigned char* */ watch_category_;
467 subtle::AtomicWord /* Options */ trace_options_;
494 subtle::AtomicWord generation_;
Dtrace_sampling_thread.cc16 TraceBucketData(base::subtle::AtomicWord* bucket,
95 TraceBucketData::TraceBucketData(base::subtle::AtomicWord* bucket, in TraceBucketData()
/external/v8/test/cctest/
Dtest-atomicops.cc266 TestAtomicIncrement<AtomicWord>(); in TEST()
272 TestCompareAndSwap<AtomicWord>(); in TEST()
278 TestAtomicExchange<AtomicWord>(); in TEST()
284 TestAtomicIncrementBounds<AtomicWord>(); in TEST()
291 TestStore<AtomicWord>(); in TEST()
298 TestLoad<AtomicWord>(); in TEST()
Dtest-circular-queue.cc39 typedef v8::base::AtomicWord Record; in TEST()
103 typedef v8::base::AtomicWord Record;
/external/v8/src/profiler/
Dunbound-queue-inl.h27 divider_ = last_ = reinterpret_cast<base::AtomicWord>(first_);
50 base::Release_Store(&divider_, reinterpret_cast<base::AtomicWord>(next));
59 base::Release_Store(&last_, reinterpret_cast<base::AtomicWord>(next));
Dunbound-queue.h38 base::AtomicWord divider_; // Node*
39 base::AtomicWord last_; // Node*
/external/v8/test/unittests/
Dcancelable-tasks-unittest.cc20 TestTask(CancelableTaskManager* parent, base::AtomicWord* result, in TestTask()
50 base::AtomicWord* result_;
84 typedef base::AtomicWord ResultType;
/external/libchrome/base/metrics/
Dhistogram_macros.h74 static base::subtle::AtomicWord atomic_histogram_pointer = 0; \
82 reinterpret_cast<base::subtle::AtomicWord>(histogram_pointer)); \

12